joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b911b
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
push edi
mov edi, dword [esi + 4]
cmp edi, 2
jae 0x4b9190
test edi, edi
je 0x4b9134
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov dl, byte [eax]
mov byte [ecx], dl
call fcn.004a5e23
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, edi
push eax
mov eax, dword [esi + 0x44]
mov edx, 0x4000
sar edx, cl
add eax, edi
push edx
push 1
push eax
call fcn.004a47f2
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4b917a
mov ecx, dword [esi + 0x40]
push ecx
call fcn.004bdb4b
add esp, 4
test eax, eax
je 0x4b917a
mov dword [esi + 0x38], 0xffffffff
add dword [esi + 4], edi
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x44]
mov dword [esi], edx
cmp eax, 2
jae 0x4b9190
pop edi
mov dword [esi + 0x58], eax
pop esi
ret
mov eax, dword [esi]
cmp byte [eax], 0x1f
jne 0x4b9269
cmp byte [eax + 1], 0x8b
jne 0x4b9269
add dword [esi + 4], 0xfffffffe
add eax, 2
push ebx
mov dword [esi], eax
call fcn.004b90ab
mov edi, eax
call fcn.004b90ab
mov ebx, eax
cmp edi, 8
jne 0x4b925e
test bl, 0xe0
jne 0x4b925e
mov edi, 6
lea esp, [esp]
call fcn.004b90ab
sub edi, 1
jne 0x4b91db
test bl, 4
je 0x4b920c
call fcn.004b90ab
mov edi, eax
call fcn.004b90ab
shl eax, 8
add edi, eax
mov eax, edi
dec edi
test eax, eax
je 0x4b920c
call fcn.004b90ab
cmp eax, 0xffffffff
jne 0x4b91fb
test bl, 8
je 0x4b921f
call fcn.004b90ab
test eax, eax
je 0x4b921f
cmp eax, 0xffffffff
jne 0x4b9211
test bl, 0x10
je 0x4b9239
lea esp, [esp]
call fcn.004b90ab
test eax, eax
je 0x4b9239
cmp eax, 0xffffffff
jne 0x4b922b
test bl, 2
je 0x4b924d
mov edi, 2
call fcn.004b90ab
sub edi, 1
jne 0x4b9243
mov ecx, dword [esi + 0x3c]
neg ecx
sbb ecx, ecx
pop ebx
and ecx, 0xfffffffd
pop edi
mov dword [esi + 0x38], ecx
pop esi
ret
pop ebx
pop edi
mov dword [esi + 0x38], 0xfffffffd
pop esi
ret
pop edi
mov dword [esi + 0x58], 1
pop esi
ret

Function at 0x4b932b
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4b93d6
cmp byte [esi + 0x5c], 0x77
jne 0x4b93d6
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov dword [esi], ebp
mov dword [esi + 4], edi
test edi, edi
je 0x4b93bc
lea ebx, [ebx]
cmp dword [esi + 0x10], 0
jne 0x4b9385
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
push ecx
push 0x4000
push 1
push eax
mov dword [esi + 0xc], eax
call fcn.004a2a81
add esp, 0x10
cmp eax, 0x4000
jne 0x4b93b5
mov dword [esi + 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x10]
add dword [esi + 0x64], edx
add dword [esi + 0x68], eax
push 0
push esi
call fcn.004ba73b
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
sub dword [esi + 0x64], ecx
sub dword [esi + 0x68], edx
add esp, 8
mov dword [esi + 0x38], eax
test eax, eax
jne 0x4b93bc
test ecx, ecx
jne 0x4b935b
jmp 0x4b93bc
mov dword [esi + 0x38], 0xffffffff
mov eax, dword [esi + 0x4c]
push edi
push ebp
push eax
call fcn.004ba69b
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, edi
sub eax, dword [esi + 4]
pop edi
pop ebp
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret
Function at 0x4b93eb
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x4b949f
cmp byte [esi + 0x5c], 0x77
jne 0x4b949f
mov dword [esi + 4], ebx
push edi
lea esp, [esp]
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x4b9439
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call fcn.004a2a81
add esp, 0x10
cmp eax, edi
jne 0x4b9495
mov edx, dword [esi + 0x48]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x4b9485
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add dword [esi + 0x68], eax
push ecx
push esi
call fcn.004ba73b
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
mov dword [esi + 0x38], eax
test edi, edi
jne 0x4b9466
cmp eax, 0xfffffffb
jne 0x4b9466
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x4b9474
cmp dword [esi + 0x38], 1
je 0x4b9474
xor ebx, ebx
jmp 0x4b9479
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4b940b
cmp eax, 1
je 0x4b940b
mov esi, dword [esi + 0x38]
mov eax, esi
dec eax
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ebx
ret
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x66b5b6
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x66b5f5
pushfd
sub di, 0x3f0
je 0x66b643
lea esi, [eax + 0x59]
rdtsc
bswap ecx
jmp 0x66b680
pop dword [esp + 4]
lea esp, [esp + 2]
mov dword [esp + 0x90], edi
lea esp, [esp + 0x90]
jmp 0x66b5b8
lea esi, [eax + 0x59]
jmp 0x66b62c

Function at 0x67517d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp], dh
lea esp, [esp + 2]
and al, 2
and al, 2
add eax, ecx
sub esp, 6
jb 0x674f31
jae 0x674f7c
fist word [ebx - 0x3d]
cmpsb byte [esi], byte es:[edi]
push ebp
jecxz 0x674f5a
aam 0x4a
sub eax, 0x80c162dc
inc ebx
cli
pop edx
shl edx, 3
jo 0x674efc
mov byte [esp], dh
jmp 0x674f2b
lea esp, [esp + 2]
jmp 0x674f03
mov edx, dword [esp + 3]
not cx
xchg ch, dl
lea esp, [esp + 2]
jmp 0x674fed
add byte [eax], al
jmp 0x674f1c
mov edx, dword [esp + 3]
not cx
xchg ch, dl
jmp 0x674f8b
lea esp, [esp + 2]
jmp 0x674fed
mov ch, 0xe8
jmp 0x674fca
lea edx, [ebp*4]
dec edx
neg ecx
jmp 0x675055
inc ebx
mov dl, 0x44
mov ch, 0x48
mov ecx, esp
bsf cx, ax
jmp 0x675039
sub edi, 4
shr ch, 5
jp 0x674f91
mov ch, 0xe8
lea edx, [ebp*4]
dec edx
neg ecx
mov ch, 0xd0
jmp 0x675057
bswap ecx
push esp
mov edx, dword [esp + 1]
jmp 0x67509b
je 0x675005
bswap ecx
push esp
jmp 0x675085
mov ch, 0xd0
lea edx, [ebp - 0x2f]
mov ch, byte [esp]
mov dl, 0xb4
bswap edx
jmp 0x674fd6
mov edx, dword [esp + 1]
jmp 0x67509b
rol ebx, 0
jns 0x6750f3
xchg dh, ch
jmp 0x6750d2
rol ch, 1
jmp 0x6750fc
invalid
clc
stc
lea ecx, [esi + edi]
jmp 0x6750bc
pop dword [esp + 0xc]
lea esp, [esp + 1]
mov dword [esp + 4], eax
lea esp, [esp + 3]
jmp 0x67510d
xchg dh, ch
clc
stc
lea ecx, [esi + edi]
rol ch, 1
mov cx, 0xf81b
mov ch, bh
xchg cx, dx
pushal
mov dx, word [esp + 0x14]
jmp 0x6750d9
ror ebx, 0
mov dl, 0x4c
lea ecx, [esp + ebx]
mov cx, word [esp]
mov edx, 0x167c5f6c
jmp 0x67519c
mov cx, bx
mov edx, eax
mov edx, 0x97a1c430
jmp 0x675176
mov cx, word [esp]
mov cx, bx
mov edx, eax
mov edx, 0x97a1c430
call 0x67517d
ror dword [edx + 0x1b], cl
int 0xeb
inc ebp
in eax, 0x14
xchg dword [esi], ebp
neg edx
lea ecx, [esp + edi]
jmp 0x6751a9
mov ch, 0xf0
bts edx, edi
jbe 0x675168
mov cx, word [esp]
jmp 0x67514f
lea esp, [esp + 0x20]
sub ebx, 0xf82a327d
setne cl
bswap edx
lea edx, [edx + esi]
jmp 0x676fbe
xchg cl, ch

Function at 0x67c6e5
Capabilities:
Encode data using xor

Disassembly:
push edx
lea esp, [esp + 3]
jmp 0x67c6f0
mov dword [0x5b31d8], eax
push edx
mov word [esp], dx
mov word [esp], sp
jmp 0x67c713
Function at 0x67caa3
Capabilities:
Encode data using xor

Disassembly:
pop ss
rcl dword [edx - 0x40]
cmpsd dword [esi], dword es:[edi]
push edx
out 0x51, eax
xlatb
inc edi
and dl, cl
sbb ecx, ecx
dec eax
fidivr word [ecx - 0x1a9e01b8]
jne 0x67cad6
out dx, eax
sub dword [ecx + 0x1ee38416], edx
mov al, byte [0x7e1b8b01]
lea esi, [0xc5a22ca9]
xor al, 0xf0
mov cl, 0x39
test eax, 0x91893bc8
sbb cl, byte [eax - 0xe51e511]
jg 0x67cacc
mov bh, ch
sbb ch, byte [esi - 0x7510800f]
jns 0x67cb24
mov bh, byte [ecx + 0x44]
fst dword [eax - 0x3a]
mov eax, dword [0xcd41ef50]
pop ebp
and al, 0xd7
rcr dword [bp - 0x34], 1
stosd dword es:[edi], eax
shl byte [ecx], cl
mov bl, 0x23
inc esi
mov ch, 3
cmp dword [edx + ebp + 0x310cbc4d], esi
mov eax, dword [0x11a35031]
jno 0x67cae8
jo 0x67cb1f
loop 0x67cb66
mov cl, 0x27
mov bh, 0xd2
and esi, ebp
leave
pop eax
into
test eax, 0xb5219b58
and eax, 0x3103bf4c
cmpsb byte [esi], byte es:[edi]
xor al, 0x53
push ebx
scasb al, byte es:[edi]
push ds
inc ecx
fisttp dword [ebx + 0x2e]
invalid
dec ebx
invalid
xchg ebx, eax
test byte [0x5ac459b3], 0x3d
int3
loopne 0x67caef
jb 0x67cb1e
bnd ja 0x67cb54
xor byte [ecx - 0x36], 0xe8
push 0xac6899fe
push es
test dword [0xb43b8f7c], edx
cmpsd dword [esi], dword es:[edi]
into
xor ebp, dword [0xb0c89e54]
push 0x7c552ed3
push ss
in al, 0xb
mov bh, 0xde
invalid
Function at 0x683d22
Capabilities:
Encode data using xor

Disassembly:
call fcn.00683d44
rep stosb byte es:[edi], al
jmp 0x664b3e
push 0x40368005
call fcn.0066ba7a
push 0x40367fdc
call fcn.0066ba7a
mov dl, 0x7f
mul byte [ebx + eax - 2]
inc ecx
mov ds, word [bx + di]
js 0x664bb9
ret 0x1c72
loope 0x664ba8
invalid
invalid
inc edi
je 0x664ba7
pushal
pop es
bnd jbe 0x664bb2
jbe 0x664bb2
add dh, cl
inc ecx
push 0xffffffffffffff85
invalid
call 0x683ce9
push word [esp + 3]
lea esp, [esp + 2]
jmp 0x683d07
leave
push edx
lea esp, [esp + 4]
ret
push word [esp + 0xf]
lea esp, [esp + 2]
jmp 0x683acc
add ch, bl
dec esi
add al, 0x8a
lea esp, [esp + 0x18]
cmp dword [ecx + eax*4], 0
pushal
mov dword [esp + 9], ecx
pop dword [esp + 0xe]
jmp 0x683a73
mov ecx, dword [esp + 4]
sub esp, 0x18
jmp 0x683a8c
and al, 2
lea esp, [esp + 4]
jmp 0x683a67
lea esp, [esp + 0x1c]
jne 0x683a4b
je 0x65d58b
je 0x683ac3
jne 0x683afc
sbb al, 0xef
out dx, eax
push ebx
xchg esp, eax
and ch, byte [edi + 0x3a95a3f]
dec eax
rcl byte [esi + 0x31], 0xc0
add esi, esi
jge 0x683adf
je 0x683a7b
cmp al, al
dec esi
fdivr qword [ebx - 0x1cad1baa]
jae 0x683b15
jecxz 0x683b71
push ss
in eax, 0x57
test al, 0x24
mov edx, 0xde9c2cdd
push ecx
shl dword [eax - 0x2dbf1ead], 0x40
daa
shl byte [edx - 0x3e], cl
push edi
invalid
invalid
dec eax
call 0x683d22
jmp 0x683a50
lea ecx, [edx - 0x43]
sub al, 0xa2
lds esi, [edi + esi*8]
lodsd eax, dword [esi]
cmp dword [ecx - 0x6778c438], ebp
lea esp, [esp + 0xc]
and al, 0xc
jmp 0x683ce3
lea esp, [esp + 4]
inc eax
call fcn.00683f5d
out dx, al
jg 0x683d03
mov bh, byte [ecx + 0x37]
les edx, [eax - 0x3a]
mov eax, dword [0xdc4de150]
das
dec ebp
fsubr qword [edi]
and edi, edi
xor al, 0x24
mov byte [esp + 2], dh
lea esp, [esp + 8]
jns 0x683aa7
js 0x683a4b
ja 0x683d1d
jo 0x683d54
loop 0x683d62
mov dword [0x572435da], eax
or dword [ecx + 0x28b60bf8], ebx
dec ebx
loop 0x683d7a
insd dword es:[edi], dx
out 0x74, al
adc ebp, esi
pop edx
popfd
sbb ecx, dword [ebx - 0xa27e212]
jl 0x683d7e
jne 0x683cf2
cmp eax, ebp
dec ecx
fnstcw word [eax - 0x159a04b5]
js 0x683d98
ljmp 0x9fa:0x9f0f855e
pop esi
test dword [edi], ecx
lahf
cli
or dword [edi + 0x5136a02d], esp
mov al, byte [0x4ddd4d10]
adc al, 0xe7
push ebp
mov ebp, 0x36dbbc2e
mov byte [ebp + 0x45b6d343], ch
adc byte [ebp + 0xcfd9a04], 0xcf
and eax, 0xb34021b1
invalid
Function at 0x698c3e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
lea esp, [esp + 1]
mov dword [ebp + 4], edx
pushal
push esp
call fcn.00698917
mov ebx, dword [esp]
bswap ecx
jmp fcn.0066c64c
add byte [eax], al
add bh, dh
fucomi st(3)
dec ebx
int 0x5c
scasd eax, dword es:[edi]
mov dh, 0x8b
fiadd dword [ebx + 0x267d0eec]
jl 0x698b64
mov ch, 0x21
mov cl, 0xd0
and ebx, dword [edi - 0x680f9d0b]
invalid
cmp al, 0x24
jmp 0x69892f
call fcn.00698b82
rcr dword [ebx - 0x35], 0xae
pop ebp
ljmp 0x5c4
call fcn.00698c15
test byte [0x9a27d48d], bl
imul byte [esi - 4]
wait
jbe 0x698b5d
inc esi
jno 0x698c11
jae 0x698b2c
pop ebp
add cl, ch
mov byte [0x8ffffd3a], al
add al, 0x24
sub esp, 8
jmp 0x698cbc
or edx, ebx
js 0x698c9f
jns 0x698c9f
sahf
add eax, 0xba0ffc95
sub byte [esi + 0x7bbe4324], dh
daa
dec esi
in eax, dx
inc ecx
ret
jno 0x698b8c
jo 0x698b8c
lea esp, [esp + 1]
cmc
jmp 0x698c79
push word [esp + 2]
push word [esp + 4]
lea esp, [esp + 3]
xchg dword [esp + 0x30], ebx
call fcn.00698dec
mov ah, byte [0x8d6ec754]
and al, 2
shl edx, 7
clc
jmp 0x698c32
call 0x698ce9
push dword [esp]
sub esp, 0xc
jmp 0x698cee
jg 0x698bb6
jle 0x698bb6
out dx, al
invalid
lea esp, [esp + 0x18]
call 0x698cd2
out dx, eax
cmc
jb 0x698d4f
jae 0x698d2b
bnd je 0x698cc4
lea edi, [eax + edi*4 - 0x1c]
popal
int1
nop
arpl di, bx
and byte [ebx - 0x66], ah
cmc
in al, 0x17
call 0x698ca4
jnp 0x698cc8
lea esp, [esp + 0x18]
jmp 0x698ccc
xor dl, byte [ecx]
clc
jae 0x698d39
sub esp, 8
jmp 0x698d3c
mov word [esp], dx
pop word [esp]
lea esp, [esp + 2]
jmp 0x698d5b
sub esp, 8
call fcn.00698dc9
or al, 0x84
sbb bh, byte [ebp - 0x74]
dec edi
mov edx, 0x33c0a131
invalid
mov word [esp], dx
pop word [esp]
lea esp, [esp + 2]
jmp 0x698d13

Function at 0x6a1b02
Capabilities:
Encode data using xor

Disassembly:
salc
mov esi, 0x3f1ac808
jbe 0x6a1b40
pop ebx
cmc
mov ch, 7
out dx, eax
push ss
cli
push 0xeb2bd780
cmp al, 0xfc
in al, 0xc8
mov dl, bl
lahf
invalid
dec ecx
adc byte [eax + ebx*8 - 0x73ee107c], 0xb1
xchg ebp, eax
out 0x92, al
inc edi
adc dword [ecx + esi*4 + 0x4792e695], ecx
cwde
inc esp
sub al, 0xc8
inc ebp
fcomp dword [ecx - 0x9c91d45]
sub eax, 0xf93912ed
dec ebx
arpl word [edx - 0x13d38da6], bx
arpl word ds:[edi - 0x62], ax
cmp al, 0x4a
wait
out dx, eax
scasd eax, dword es:[edi]
out 0xa6, al
imul eax, edx, 0xffffff82
aam 0xf9
xor al, dh
adc eax, 0x134efc3c
push edi
cmp ebp, dword [ecx - 0x22a3e19c]
xor ebp, ebx
push 0x294520b2
jge 0x6a1b3a
ret

Function at 0x6a29a3
Capabilities:
Encode data using xor

Disassembly:
outsd dx, dword [esi]
daa
rol dword [ecx + 0x19e2bbd3], 0xb7
fadd st(0), st(0)
adc al, 0xd4
mov eax, 0x3c82ca78
cld
dec esi
test dword [ebp - 0x6c2c537b], ebx
in eax, 0xa
out dx, al
cld
push ebx
cmpsd dword [esi], dword es:[edi]
push ebx
sal dword [edx + 0x10], 0x35
sbb dword [ebp - 0x5b], ebp
lodsd eax, dword [esi]
invalid
Function at 0x101218b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 4], esi
je 0x10121bb
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10121bf
xor eax, eax
jmp 0x10121f7
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp + 8]
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
je 0x10121ee
cmp dword [ebp - 4], 2
jne 0x10121ee
cmp word [ebp + 8], 0xfeff
je 0x10121eb
cmp word [ebp + 8], 0xfffe
jne 0x10121ee
push 1
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x1013f22
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
mov ebx, dword [sym.imp.SHELL32.dll_DragQueryFileA]
xor esi, esi
push edi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov edi, ecx
call ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x434
push dword [edi + 0x20]
call esi
and dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jbe 0x1013fb8
lea eax, [ebp - 0x118]
push 0x104
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x1013fad
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x437
push dword [edi + 0x20]
call esi
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
call fcn.01017ec5
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x1013f63
lea eax, [ebp - 0x10]
push eax
push 0
push 0x437
push dword [edi + 0x20]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x1015b00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006070
push 0x1015fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x1020a38], 0xffffffff
mov dword [0x1020a3c], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x1020a2c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x1020a28]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x1020a34], ecx
call fcn.01015fb0
mov eax, dword [0x10200e0]
test eax, eax
jne 0x1015b91
push 0x1015fa0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.01015f80
push 0x101f050
push 0x101f04c
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x1020a24]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x1020a20]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x101f048
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x1015c9f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1015c05
cmp al, 0x22
jne 0x1015bf7
cmp byte [esi], 0x22
jne 0x1015c0e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1015c1e
cmp al, 0x20
ja 0x1015c1e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x1015c0e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x1015c3f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x1015c44
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x1015c84
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x1015c0e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x1015c9f

Function at 0x1017a76
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0x79
push esi
mov esi, ecx
jne 0x1017ad6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x1017ad6
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add eax, ecx
mov esi, dword [esi + 0x20]
cdq
sub eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, eax
mov eax, dword [ebp - 4]
add eax, edx
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
movzx eax, ax
movzx ecx, cx
shl eax, 0x10
or eax, ecx
push eax
push esi
push 0x7b
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1017add
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
pop esi
leave
ret 0xc
Function at 0x4ddcf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x84000]
push edi
or ebp, 0xffffffff
jmp 0x4ddd12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ddd19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ddd08
mov eax, 1
add ebx, ebx
jne 0x4ddd2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ddd3c
jne 0x4ddd5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ddd5b
dec eax
add ebx, ebx
jne 0x4ddd48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ddd20
add ebx, ebx
jne 0x4ddd57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4dddad
xor ecx, ecx
sub eax, 3
jb 0x4ddd73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ddde2
sar eax, 1
mov ebp, eax
jmp 0x4ddd7e
add ebx, ebx
jne 0x4ddd7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ddd4c
inc ecx
add ebx, ebx
jne 0x4ddd8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ddd4c
add ebx, ebx
jne 0x4ddd99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ddd8e
jne 0x4dddaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ddd8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dddcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dddbe
jmp 0x4ddd0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dddcc
add edi, ecx
jmp 0x4ddd0e
pop esi
mov edi, esi
mov ecx, 3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dddea
cmp byte [edi], 0
jne 0x4dddea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4dddef
lea edi, [esi + 0xda000]
mov eax, dword [edi]
or eax, eax
je 0x4dde67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xded50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdee7c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dde1c
mov ecx, edi
jns 0x4dde4b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdee80]
or eax, eax
je 0x4dde61
mov dword [ebx], eax
add ebx, 4
jmp 0x4dde39
call dword [esi + 0xdee88]
mov ebp, dword [esi + 0xdee84]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4dde9b
sub esp, 0xffffff80
jmp 0x4758c8
Function at 0x430a50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c26cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004b6bdf
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x430ad2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b4262
mov eax, dword [eax]
push 0x675250
push eax
call fcn.004a2a24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b6e6a
test bl, bl
je 0x430ad2
push 0x675250
lea ecx, [esp + 0xc]
call fcn.004b71fa
push 0x678f14
lea ecx, [esp + 0xc]
call fcn.004b71fa
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x430b0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b6e6a
jmp 0x430bd9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x430b92
lea edx, [esp + 0x7c]
push 0x678f10
push edx
call fcn.004a2a24
add esp, 8
test eax, eax
je 0x430b92
lea eax, [esp + 0x7c]
push 0x678f0c
push eax
call fcn.004a2a24
add esp, 8
test eax, eax
je 0x430b92
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x430b22
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004b6e6a
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4313d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x431432
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc