joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8d8d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x47b000]
push edi
jmp 0x8d8d4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8d8d51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d8d40
mov eax, 1
add ebx, ebx
jne 0x8d8d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8d8d74
jne 0x8d8d93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d8d93
dec eax
add ebx, ebx
jne 0x8d8d80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8d8d58
add ebx, ebx
jne 0x8d8d8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8d8de5
xor ecx, ecx
sub eax, 3
jb 0x8d8dab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8d8e1a
sar eax, 1
mov ebp, eax
jmp 0x8d8db6
add ebx, ebx
jne 0x8d8db6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d8d84
inc ecx
add ebx, ebx
jne 0x8d8dc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d8d84
add ebx, ebx
jne 0x8d8dd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8d8dc6
jne 0x8d8de2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8d8dc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8d8e04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8d8df6
jmp 0x8d8d46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8d8e04
add edi, ecx
jmp 0x8d8d46
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8d8e22
cmp byte [edi], 0x11
jne 0x8d8e22
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 0x8d8e27
lea edi, [esi + 0x4d1000]
mov eax, dword [edi]
or eax, eax
je 0x8d8e9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8cb844]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8cb9c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8d8e54
mov ecx, edi
jns 0x8d8e83
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 + 0x8cb9c4]
or eax, eax
je 0x8d8e99
mov dword [ebx], eax
add ebx, 4
jmp 0x8d8e71
call dword [esi + 0x8cb9d4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8d8ed0
cmp al, 0xef
ja 0x8d8ec3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8d8ea5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8d8eb2
mov ebp, dword [esi + 0x8cb9c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x8d8f04
sub esp, 0xffffff80
jmp 0x420577
Function at 0x1002ed20
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002eee4
pushal
mov esi, section.data
lea edi, [esi - 0x1c000]
push edi
jmp 0x1002ed4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002ed51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002ed40
mov eax, 1
add ebx, ebx
jne 0x1002ed63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002ed58
jne 0x1002ed74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002ed58
xor ecx, ecx
sub eax, 3
jb 0x1002ed88
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002edfa
mov ebp, eax
add ebx, ebx
jne 0x1002ed93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002eda0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002edc4
inc ecx
add ebx, ebx
jne 0x1002edb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002eda5
jne 0x1002edc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002eda5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002ede4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002edd5
jmp 0x1002ed46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002ede4
add edi, ecx
jmp 0x1002ed46
pop esi
mov edi, esi
mov ecx, 0xa12
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002ee02
cmp byte [edi], 7
jne 0x1002ee02
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 0x1002ee07
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x1002ee76
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e1dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e204]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002ee34
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e208]
or eax, eax
je 0x1002ee70
mov dword [ebx], eax
add ebx, 4
jmp 0x1002ee51
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002eea7
cmp al, 0xef
ja 0x1002ee9a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002ee7c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002ee89
mov ebp, dword [esi + 0x2e20c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x1002eedb
sub esp, 0xffffff80
jmp 0x10005820
Function at 0x401f83
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov esi, dword [ebp + 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, ecx
je 0x4020b9
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x401fa6
cmp dword [edx + 0x10], esi
jne 0x401f9e
xor eax, eax
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], getpeername
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call dword [ebp + 0x10]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x4020b9
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
add ecx, esi
sub eax, esi
lea edx, [ecx + 0xf8]
movzx ecx, word [ecx + 6]
mov dword [ebp - 0x24], eax
imul ecx, ecx, 0x28
add ecx, edx
cmp edx, ecx
je 0x4020b2
mov esi, dword [edx + 0xc]
cmp eax, esi
jb 0x402033
mov edi, dword [edx + 0x10]
add edi, esi
cmp edi, eax
jb 0x402033
add eax, dword [edx + 0x14]
sub eax, esi
jne 0x402038
jmp 0x4020b2
add edx, 0x28
jmp 0x402012
xor edi, edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [ebp + 0x14]
sub esp, 0x10
inc eax
je 0x4020b2
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp + 0x18]
sub esp, 0x14
test eax, eax
je 0x4020b2
cmp dword [ebp - 0x24], 8
jne 0x4020b2
cmp byte [ebp - 0x20], 0xb8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jne 0x4020b2
shrd eax, edx, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call dword [ebp + 0x1c]
push ebx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x4020bd
mov dword [esp], ebx
call dword [ebp + 0x1c]
push eax
xor eax, eax
xor edx, edx
leave
ret 0x18
Function at 0x405b55
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x134
push ebx
push esi
push edi
test eax, eax
je 0x405cc2
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x405cc2
mov edx, dword [edx]
test edx, edx
je 0x405cc2
xor ebx, ebx
cmp byte [edx], bl
je 0x405b95
jmp 0x405b8e
inc ebx
cmp byte [ebx + edx], 0
jne 0x405b8e
mov esi, eax
mov ecx, 0x10
lea edi, [esp + 0x20]
mov eax, 0x5a4d
rep movsd dword es:[edi], dword [esi]
cmp word [esp + 0x20], ax
jne 0x405cc2
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp + 8]
mov esi, 0x4550
cmp word [eax + ecx], si
jne 0x405cc2
lea esi, [ecx + 0x18]
add esi, eax
mov ecx, 0x38
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
add esi, dword [esp + 0xc0]
mov ecx, 0xa
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add edi, esi
mov dword [esp + 0x1c], edi
add eax, esi
add ecx, esi
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x38], edi
jbe 0x405cc2
lea esp, [esp]
mov cx, word [ecx + edi*2]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + edi*4]
inc cx
movzx ecx, cx
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add ecx, esi
mov dword [esp + 0x14], ecx
xor ecx, ecx
add eax, esi
je 0x405c4d
cmp byte [eax], cl
je 0x405c4d
inc ecx
cmp byte [ecx + eax], 0
jne 0x405c46
cmp ecx, ebx
jne 0x405ca1
mov esi, ebx
sub esi, 4
jb 0x405c6c
lea esp, [esp]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x405c71
add eax, 4
add edx, 4
sub esi, 4
jae 0x405c5b
cmp esi, 0xfffffffc
je 0x405cb5
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x405c9e
cmp esi, 0xfffffffd
je 0x405cb5
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x405c9e
cmp esi, 0xfffffffe
je 0x405cb5
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x405c9e
cmp esi, 0xffffffff
je 0x405cb5
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x405cb5
mov esi, dword [ebp + 8]
inc edi
cmp edi, dword [esp + 0x38]
jae 0x405cc2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
jmp 0x405c1d
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x436bb5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x436bed
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x436bdb
mov al, 1
jmp 0x436c37
cmp dword [ebx + 0x54], ecx
jne 0x436be4
mov al, 2
jmp 0x436c37
cmp dword [ebx + 0x7c], ecx
jne 0x436c37
mov al, 3
jmp 0x436c37
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x436c02
mov al, 4
jmp 0x436c37
cmp ecx, 5
jne 0x436c22
cmp ebx, 0
jne 0x436c10
mov al, 5
jmp 0x436c37
cmp ebx, 1
jne 0x436c19
mov al, 6
jmp 0x436c37
cmp ebx, 2
jne 0x436c22
mov al, 7
jmp 0x436c37
cmp ecx, 6
jne 0x436c2e
cmp ebx, 0
jne 0x436c30
mov al, 8
jmp 0x436c37
cmp ebx, 1
jne 0x436c37
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43f67c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x43f6c1
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x43f6c7
add eax, 4
pop esi
dec esi
push esi
jne 0x43f6a9
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x447a90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00447c40
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x447b8e
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x447b31
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x447b74
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x447b48
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x447b63
test al, 0x40
je 0x447b5a
mov ecx, dword [edi + 0x20]
jmp 0x447b61
test al, 0x80
je 0x447b74
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x447b74
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x447b00
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x45a79f
Capabilities:
Execute syscall

Disassembly:
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], 0
je 0x45a7d3
cmp dword [ebp - 0xc], 0
jne 0x45a7bb
call dword fs:[0xc0]
ret 0x14
xor ecx, ecx
lea edx, [esp + 4]
call dword fs:[0xc0]
add esp, 4
ret 0x14
int 0x2e
ret 0x14

Function at 0x47ad2a
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
pushal
pushfd
mov eax, 0x40000000
cpuid
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edx
popfd
popal
cmp dword [ebp - 4], 0x4d566572
jne 0x47ad8a
cmp dword [ebp - 8], 0x61774d56
jne 0x47ad8a
cmp dword [ebp - 0xc], 0x65726177
jne 0x47ad8a
mov eax, 1
jmp 0x47ad8f
mov eax, 0
jmp 0x47ad94
mov esp, ebp
pop ebp
ret
Function at 0x4b7010
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x59b37b
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.0058cf5f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b7092
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0058a390
mov eax, dword [eax]
push 0x676d90
push eax
call fcn.0057a924
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0058d1ea
test bl, bl
je 0x4b7092
push 0x676d90
lea ecx, [esp + 0xc]
call fcn.0058d5c6
push 0x676d9c
lea ecx, [esp + 0xc]
call fcn.0058d5c6
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 0x4b70ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0058d1ea
jmp 0x4b7199
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 0x4b7152
lea edx, [esp + 0x7c]
push 0x676d98
push edx
call fcn.0057a924
add esp, 8
test eax, eax
je 0x4b7152
lea eax, [esp + 0x7c]
push 0x676d94
push eax
call fcn.0057a924
add esp, 8
test eax, eax
je 0x4b7152
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 0x4b70e2
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.0058d1ea
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 0x4b79a0
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 0x4b7a02
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 0x4b7a10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x59b3fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x693960]
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 0x4b7b48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4b7a76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0058d1ea
xor eax, eax
jmp 0x4b7bbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0058d373
push esi
lea ecx, [esp + 0xc]
call fcn.0058d602
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x676dd0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4b7b9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x676dc8
push bind
call fcn.004b79a0
test eax, eax
jne 0x4b7b9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x676db4
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.004b79a0
test eax, eax
jne 0x4b7b9d
lea eax, [esp + 0x14]
push 0x676dac
push eax
call fcn.0057bb40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b7b7c
lea ecx, [esp + 0x14]
push 0x676da8
push ecx
call fcn.0057bac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b7b7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4b7b7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0058d323
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4b7a8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0058d1ea
xor eax, eax
jmp 0x4b7bbf
mov byte [esi], 0
push 0x676da4
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.0058d1ea
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 0x4cc850
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 0x4cc8be
cmp si, 0x69
ja 0x4cc8be
add esi, 0xffd0
cmp si, 0x11
je 0x4cc88e
push 0x11
call edi
test ax, ax
jge 0x4cc88e
or esi, 0x2000
cmp si, 0x10
je 0x4cc8a3
push 0x10
call edi
test ax, ax
jge 0x4cc8a3
or esi, 0x4000
cmp si, 0x12
je 0x4cc8b8
push 0x12
call edi
test ax, ax
jge 0x4cc8b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4cc8cb
mov esi, 0xbd
jmp 0x4cc87f
cmp si, 0x6e
jne 0x4cc8d8
mov esi, 0xbe
jmp 0x4cc87f
cmp si, 0x6f
jne 0x4cc879
mov esi, 0xbf
jmp 0x4cc87f

Function at 0x4ce4f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6a4d60]
xor edx, edx
cmp eax, edx
jne 0x4ce516
xor eax, eax
mov byte [eax + 0x6a4c60], al
inc eax
cmp eax, 0x100
jl 0x4ce4fe
mov dword [0x6a4d60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6a4c60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4ce5a7
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 0x4ce57a
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 0x4ce548
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4ce620
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 0x4ce673
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 0x4ce65a
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
Function at 0x4d1f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59cc48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.00593e70
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004d1e20
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00593ee2
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret