joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4732a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ee0a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [fcn.004f26ac]
push 0
lea ecx, [esp + 0x20]
call fcn.004e1d47
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00472c40
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004e1c75
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004de263
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004de263
push 1
push 0
push 0
mov ecx, esi
call fcn.004de20b
push 1
push 0
push 1
mov ecx, esi
call fcn.004de20b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e1db9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x473420
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ee0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004e1d47
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00472c40
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004e1c75
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.004f26ac]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4734e4
cmp dword [esp + 0x40], 1
jne 0x4734e2
cmp ecx, eax
jge 0x4734e4
mov eax, ecx
cmp eax, 0xc8
jge 0x4734f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004732a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.004f26a8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e1db9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x473c70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ee133
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004dc64f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x582700
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x57f4e8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [fcn.004f2174]
push eax
mov ecx, edi
call fcn.004e1fef
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004e4af8
test eax, eax
je 0x473d8c
mov ecx, dword [esp + 0x3c]
call fcn.004e201c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004f26cc]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x473d50
push edi
mov ecx, esi
call fcn.004df5ac
mov ecx, esi
call fcn.00473ef0
cmp dword [esp + 0x38], 1
jne 0x473d85
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004df73f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4767c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4767f3
push esi
call fcn.004798c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4767ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x476879
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x476862
mov eax, dword [esi + 8]
test eax, eax
je 0x476817
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47685e
cmp eax, 2
je 0x476862
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47680a
cmp eax, 3
je 0x47683d
cmp eax, 1
jne 0x47680a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47680a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47680a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004768a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x476888
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004768a0
add esp, 4
pop esi
ret
Function at 0x4872c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ee600
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00486e70
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00486ef0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00486ef0
lea ecx, [esi + 0xc]
call fcn.004daed2
lea ecx, [esi + 0x10]
call fcn.004daed2
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00488480
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00488480
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00488480
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004daf47
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004daf47
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a8f90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ef498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004a9390
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x5f78e4
call fcn.004b88a8
mov ecx, dword [0x581f9c]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004a6710
mov esi, 0x581ff4
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4a9037
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a902e
cmp al, 0xff
je 0x4a902e
dec al
mov byte [ecx], al
jmp 0x4a9037
push ecx
call fcn.004dacb1
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004d6530
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4a907d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a9074
cmp al, 0xff
je 0x4a9074
dec al
mov byte [ecx], al
jmp 0x4a907d
push ecx
call fcn.004dacb1
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004b892f
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4d0b50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f0d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004c580e
mov eax, dword [0x586860]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004c5740
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004d1680
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4d0bf7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4d0bee
cmp al, 0xff
je 0x4d0bee
dec al
mov byte [ecx], al
jmp 0x4d0bf7
push ecx
call fcn.004dacb1
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4d0c28
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4d0c1f
cmp al, 0xff
je 0x4d0c1f
dec al
mov byte [ecx], al
jmp 0x4d0c28
push ecx
call fcn.004dacb1
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x715a07
Capabilities:
Execute anti-debugging instructions

Disassembly:
add eax, 0x39fd3a42
jmp 0x715f73
xchg dword [esp], edi
btc eax, ebx
not eax
sub ax, 0x5dd0
dec ax
mov eax, dword [esp]
jmp 0x715aee
mov ax, word [esp]
sub eax, eax
xchg al, ah
mov eax, 0x6a334aa2
xchg ah, al
jmp 0x7159e6
lea edi, [edi + 0x59]
setp al
lea eax, [edx + esi]
lea eax, [ebp*4]
xor cl, byte [ebp + 0xad04]
add byte [eax], al
call fcn.00715a87
jo 0x715b1a
jno 0x715b1a
jae 0x715af6
jge 0x715b0f
test dword [edx + 0x63], 0x60b6cfe
insb byte es:[edi], dx
or eax, dword [esi]
mov dl, 0x6f
rol dword [ebx + 0x26], cl
aad 0x54
salc
sub bl, dl
mov edx, esp
push edx
mov dh, byte [esp + 1]
jmp 0x715b3f
pop dx
lea esp, [esp + 2]
dec esi
mov ax, 0x8613
mov ax, si
jmp 0x715b97
mov dh, byte [esp]
rdtsc
rdtsc
mov eax, 0x88c9e408
jmp 0x715c68
lea eax, [eax + ebx]
bsf dx, ax
jb 0x715b4f
mov dh, byte [esp]
jmp 0x715c83
sub esp, 0x1a
lea edx, [esi + 0x5d]
jmp 0x715c1c
lea esp, [esp + 0x2c]
not cl
lea eax, [eax*4]
xchg edx, eax
jmp 0x715c34
mov dx, sp
rdtsc
mov dx, 0x316f
jmp 0x715bc9
mov dx, sp
rdtsc
mov dx, 0x316f
sub esp, 0x1a
lea edx, [esi + 0x5d]
sub esp, 0x12
btc edx, edi
jmp 0x715c4b
dec cl
bswap edx
inc dh
jp 0x715c0d
jnp 0x715bf2
not edx
jb 0x715c4f
lea edx, [esp + edx]
cmc
mov dh, 0xc3
lea eax, [edi*4]
jmp 0x715cb8
jp 0x715bd1
jnp 0x715bd1
lea edx, [esp + edx]
cmc
jmp 0x715cd0
lea edx, [ebp + 0xdf]
inc ax
mov dx, word [esp]
jmp 0x715c2a
rdtsc
rdtsc
mov eax, 0x88c9e408
lea edx, [ebp + 0xdf]
jmp 0x715c6e
xchg ah, dh
jmp 0x715d00
xchg ah, dh
rdtsc
sub esp, 8
lea esp, [esp + 5]
lea eax, [eax*4]
jmp 0x715cea
dec dx
jmp 0x715cdb
mov dh, 0xc3
lea eax, [edi*4]
dec dx
inc cl
not edx
jnp 0x715c94
jp 0x715c9c
lea eax, [eax*4]
setp dh
mov dx, word [esp + 2]
mov ah, byte [esp + 2]
bswap edx
jmp 0x715f94
rdtsc
sub esp, 8
lea esp, [esp + 5]
jmp 0x715ce3
lea esp, [esp + 8]
not cl
mov eax, dword [esp]
mov eax, dword [esp]
pushal
call fcn.00715e0a
push ebx
retf 0x9465
cmp dx, 0x3d8
neg eax
call fcn.00715d2e
mov eax, 0x574db678
jmp 0x715e91
lea esp, [esp + 2]
jmp 0x715e7a
lea esp, [esp + 0xc]
rol cl, 0
inc al
jno 0x715ea1
jo 0x715ea9
invalid
rol dh, 3
add al, dh
xor dl, ch
add esp, 1
mov dh, byte [esp + 1]
jmp 0x715e58
xchg dh, al
jmp 0x715ef5
xchg dh, al
lea edx, [ecx + 0x3b]
lea edx, [edx + ebx]
jmp 0x715ed7
mov eax, ecx
lea edx, [ebp - 0x488b9d31]
push edx
lea edx, [esp + edx]
lea esp, [esp + 3]
jmp 0x715f38
lea edx, [ecx + 0x3b]
lea edx, [edx + ebx]
jmp 0x715ed7
mov dl, dh
jmp 0x714fa0
lea esp, [esp + 1]
shl eax, 2
mov dl, byte [esp]
setns dh
cmc
jmp 0x715f6a
jle 0x715f1f
mov dl, dh
jmp 0x714fa0
mov eax, dword [eax - 0x399bb0be]
lea edx, [ebp*4]
mov edx, dword [esp]
call fcn.00716042
pop ds
nop
push es
popal
nop
and dword [ebp + 0x61766f1c], ecx
mov al, byte [0x800fc53b]
invalid
cmp eax, ebp
jo 0x715e29
cmp dx, 0x3d8
neg eax
sub esp, 6
lea esp, [esp + 1]
jmp 0x715daa
Function at 0x716572
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp fcn.007165c4
dec cx
ror ecx, 0xb
not al
jmp 0x716644
mov al, 0x4c
mov ch, bh
mov eax, dword [esp]
mov ax, 0xa74b
jmp 0x71662d
xchg dx, ax
stc
jmp 0x716590
jnp 0x716534
dec cx
ror ecx, 0xb
call 0x716572
int1
bswap eax
mov ax, word [esp]
mov al, 0x1c
mov eax, dword [esp]
mov eax, dword [esp]
jmp 0x7165ad
rdtsc
xchg dx, ax
stc
lea edx, [ebp + 0x50]
neg ch
jmp 0x716565
lea edx, [edx - 0x30]
mov eax, 0x47d588a8
lea eax, [eax - 0x71]
jmp 0x7165cb
xchg dword [esp], edx
xchg ch, al
mov ecx, dword [esp]
xchg cx, ax
bswap ecx
mov al, 0x5c
jmp 0x716597
stc
ja 0x71658a
rdtsc
jmp 0x71655f
lea eax, [edx*4]
inc ax
mov al, 0xc4
xchg dword [esp], edx
stc
call fcn.00716740
lds edx, [ebx - 0x3d]
cmpsb byte [esi], byte es:[edi]
push ebp
in al, dx
pop ebp
aam 0x4a
dec edx
sub eax, 0x80c118dc
inc ebx
cli
aad 0x44
jle 0x7164d1
jg fcn.007165c4
sti
jnp 0x7165e7
invalid
mov ax, 0xa74b
jmp 0x71662d
pop ax
lea esp, [esp + 2]
jmp 0x716653
mov al, 0x4c
mov ch, bh
mov eax, dword [esp]
jmp 0x716607
ja fcn.007155dd
rdtsc
push esp
adc ax, 0x118c
jmp 0x71667b
mov al, 0x16
mov cx, ax
cmp edi, edx
jno 0x716548
jo 0x716624
mov ecx, ebp
xchg dx, ax
call 0x71665d
xchg ebx, eax
mov edx, dword [esp + 3]
push dword [esp + 2]
jmp 0x7166d4
jae 0x71660d
pop ax
lea esp, [esp + 2]
jmp 0x716653
bswap edx
lea edx, [esi - 0xad]
jmp 0x716714
mov edx, 0xfc2b30c4
jmp 0x716685
sub eax, ecx
sub esp, 0
jo 0x71669b
mov edx, 0xfc2b30c4
bswap edx
lea edx, [esi - 0xad]
jmp 0x716714
lea eax, [ebp + 0x40]
lea edx, [ebp + 0xaf]
setg dh
bswap edx
mov dh, 0xc6
jmp 0x7166b2
pop word [esp + 0xd]
jmp 0x716727
lea edx, [edi - 0x80]
sub esp, 0x14
jle 0x7166f8
pop word [esp + 0xd]
jmp 0x71675e
pop word [esp + 0xb]
pop word [esp + 3]
lea esp, [esp + 2]
jmp 0x716745
and dl, 0xfc
sub esp, 0
ja 0x71676e
jbe 0x71676e
and byte [esi + 0x2c64b2c], bh
adc dl, byte [ebx + 0x25956603]
xchg esi, eax
add eax, eax
pop word [esp + 0xb]
pop word [esp + 3]
lea esp, [esp + 2]
jmp 0x716745
call fcn.007168cd
popfd
pop es
xchg edi, eax
add dword [eax + 0x492eb825], edi
mov eax, 0x595350c
insb byte es:[edi], dx
lahf
invalid
test byte [edi], dh
Function at 0x42bfe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c3bb
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.0048ea8b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42c062
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048becd
mov eax, dword [eax]
push 0x4ba204
push eax
call fcn.0047e1d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048ed16
test bl, bl
je 0x42c062
push 0x4ba204
lea ecx, [esp + 0xc]
call fcn.0048f0f2
push 0x4bdd74
lea ecx, [esp + 0xc]
call fcn.0048f0f2
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 0x42c09e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048ed16
jmp 0x42c169
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 0x42c122
lea edx, [esp + 0x7c]
push 0x4bdd70
push edx
call fcn.0047e1d4
add esp, 8
test eax, eax
je 0x42c122
lea eax, [esp + 0x7c]
push 0x4bdd6c
push eax
call fcn.0047e1d4
add esp, 8
test eax, eax
je 0x42c122
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 0x42c0b2
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.0048ed16
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 0x42c960
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 0x42c9c2
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
Function at 0x42c9d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c43b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c4fc4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42cb08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42ca36
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048ed16
xor eax, eax
jmp 0x42cb7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048ee9f
push esi
lea ecx, [esp + 0xc]
call fcn.0048f12e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42cb5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0042c960
test eax, eax
jne 0x42cb5d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.0042c960
test eax, eax
jne 0x42cb5d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0047f380
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cb3c
lea ecx, [esp + 0x14]
push 0x4bdd84
push ecx
call fcn.0047f300
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cb3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42cb3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048ee4f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42ca4e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048ed16
xor eax, eax
jmp 0x42cb7f
mov byte [esi], 0
push 0x4bdd80
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048ed16
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x43e690
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43e6fe
cmp si, 0x69
ja 0x43e6fe
add esi, 0xffd0
cmp si, 0x11
je 0x43e6ce
push 0x11
call edi
test ax, ax
jge 0x43e6ce
or esi, 0x2000
cmp si, 0x10
je 0x43e6e3
push 0x10
call edi
test ax, ax
jge 0x43e6e3
or esi, 0x4000
cmp si, 0x12
je 0x43e6f8
push 0x12
call edi
test ax, ax
jge 0x43e6f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43e70b
mov esi, 0xbd
jmp 0x43e6bf
cmp si, 0x6e
jne 0x43e718
mov esi, 0xbe
jmp 0x43e6bf
cmp si, 0x6f
jne 0x43e6b9
mov esi, 0xbf
jmp 0x43e6bf

Function at 0x43ff50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d5e58]
xor edx, edx
cmp eax, edx
jne 0x43ff76
xor eax, eax
mov byte [eax + 0x4d5d58], al
inc eax
cmp eax, 0x100
jl 0x43ff5e
mov dword [0x4d5e58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d5d58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x440007
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43ffda
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x43ffa8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x440080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4400d3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4400ba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret