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

Disassembly:
push 0xffffffffffffffff
push 0x473f73
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.00467308
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
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], method.CEdit.virtual_0
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 [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046c9a0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046dfb6
test eax, eax
je 0x446b6c
mov ecx, dword [esp + 0x3c]
call fcn.0046c9cd
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x446b30
push edi
mov ecx, esi
call fcn.0046a03a
mov ecx, esi
call fcn.00446cd0
cmp dword [esp + 0x38], 1
jne 0x446b65
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.0046a175
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 0x4495b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4495e3
push esi
call fcn.0044c6a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4495dc
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 0x449669
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x449652
mov eax, dword [esi + 8]
test eax, eax
je 0x449607
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 0x44964e
cmp eax, 2
je 0x449652
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4495fa
cmp eax, 3
je 0x44962d
cmp eax, 1
jne 0x4495fa
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 0x4495fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4495fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00449690
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x449678
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00449690
add esp, 4
pop esi
ret

Function at 0x4680fd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x468135
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046618a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00466162
jmp 0x468141
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4697f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x469834
call fcn.0046f3a7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x469834
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46982b
xor eax, eax
jmp 0x46983c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469842
pop edi
pop esi
pop ebx
ret 4

Function at 0x46f8d7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46f905
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46f923
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046f83d
jmp 0x46f923
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46f923
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046f83d
test edi, edi
mov eax, edi
jne 0x46f90d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x479ea0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x479eb5
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
ret
cmp eax, 4
push edi
jle 0x479f2c
mov edi, 4
mov eax, 4
sub eax, edi
push eax
lea ecx, [edi + esi + 0x10]
push ecx
lea edx, [esi + 0x10]
push edx
call fcn.0047fa70
mov eax, dword [esi + 0x58]
sub eax, edi
mov edx, esi
push edi
lea ecx, [eax + esi + 0x14]
sub edx, edi
push ecx
add edx, 0x14
push edx
call fcn.0047c570
mov eax, dword [esi + 4]
push eax
push 0x40
lea ecx, [esi + 0x14]
push 1
push ecx
mov dword [esi + 0x54], edi
call fcn.0047f827
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
pop edi
test eax, eax
jne 0x479ea8
mov edx, dword [esi + 4]
push edx
call fcn.0047f844
add esp, 4
test eax, eax
je 0x493738
or eax, 0xffffffff
ret
mov edi, eax
jmp 0x479ec0
mov eax, dword [esi + 4]
push eax
call fcn.0047f878
add esp, 4
test eax, eax
jne 0x479f28
ret

Function at 0x479f30
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
call fcn.00479ea0
cmp eax, 0xffffffff
je 0x47a02c
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor ebx, ebx
lea edi, [ebx + 1]
call fcn.00479e00
mov edi, dword [esp + 0x18]
dec edi
test edi, edi
jle 0x479fa6
jmp 0x479f60
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x479fb3
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
cmp eax, 0xd
je 0x479f98
cmp eax, 0xffffffff
je 0x479fa6
cmp eax, 0xa
je 0x479fa6
mov byte [ebx + ebp], al
inc ebx
cmp ebx, edi
jl 0x479f60
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
call fcn.00479ea0
cmp eax, 0xa
jne 0x493783
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
cmp eax, 4
jle 0x49374d
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov edx, 4
sub edx, eax
push edx
add eax, ecx
push eax
push ecx
call fcn.0047fa70
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x58]
mov ecx, esi
sub ecx, eax
lea ecx, [ecx + edx + 0x14]
push eax
mov edx, esi
sub edx, eax
push ecx
add edx, 0x14
push edx
call fcn.0047c570
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
push ecx
push 0x40
lea edx, [esi + 0x14]
push 1
push edx
mov dword [esi + 0x54], eax
call fcn.0047f827
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
test eax, eax
jne 0x479f68
jmp 0x493756
xor al, al
pop esi
ret 8
mov dword [esp + 0x14], eax
jmp 0x479fc8
mov eax, dword [esi + 4]
push eax
call fcn.0047f844
add esp, 4
test eax, eax
jne 0x479fa6
mov ecx, dword [esi + 4]
push ecx
call fcn.0047f878
add esp, 4
test eax, eax
jne 0x479fa6
jmp 0x479f83
cmp eax, 0xffffffff
je 0x479fa6
mov edi, 1
call fcn.00479e00
jmp 0x479fa6
Function at 0x47a610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, dword [ebp]
mov dword [ebp + 0xc], 0
mov byte [ebp + 8], 0
test al, 0x14
jne 0x47a696
test al, al
js 0x49379b
test al, 0x20
jne 0x4937a7
test al, 0x40
jne 0x4937b3
mov eax, dword [esp + 0xc]
push 0x481d58
push eax
call fcn.0047f11c
add esp, 8
test eax, eax
je 0x47a696
push esi
push edi
mov esi, eax
push esi
push 3
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.0047f827
push esi
mov edi, eax
call fcn.0047f50b
mov al, byte [esp + 0x24]
add esp, 0x14
cmp edi, 2
jb 0x47a68c
cmp al, 0xff
je 0x4937bf
cmp al, 0xfe
je 0x4937da
cmp al, 0xef
je 0x4937f5
pop edi
pop esi
pop ebp
ret 8
mov dword [ebp + 0xc], 4
jmp 0x47a63f
mov dword [ebp + 0xc], 1
jmp 0x47a63f
mov dword [ebp + 0xc], 2
jmp 0x47a63f
cmp byte [esp + 0x11], 0xfe
jne 0x47a68c
mov dword [ebp + 0xc], 1
mov byte [ebp + 8], 1
jmp 0x47a694
cmp byte [esp + 0x11], 0xff
jne 0x47a68c
mov dword [ebp + 0xc], 2
mov byte [ebp + 8], 1
jmp 0x47a694
cmp edi, 3
jb 0x47a694
cmp byte [esp + 0x11], 0xbb
jne 0x47a694
cmp byte [esp + 0x12], 0xbf
jne 0x47a694
mov dword [ebp + 0xc], 4
mov byte [ebp + 8], 1
jmp 0x47a694

Function at 0x47a6a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push esi
push 0x47f868
or eax, 0xffffffff
call fcn.0047b040
mov esi, eax
add esp, 4
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.0047e850
push esi
call fcn.0047c559
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0047a910
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0047a750
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 0x18]
inc eax
add ecx, edx
cmp eax, 0x10
jl 0x47a6f8
mov eax, dword [ebp + 8]
push 0x481d58
push eax
mov dword [edi + 8], ecx
call fcn.0047f11c
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x495815
push edi
call fcn.0047b0b0
test eax, eax
je 0x49581f
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.0047f50b
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x47a740
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.0047f827
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call 0x4b50d7
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x49584f
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00480942
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x47a740

Function at 0x47a910
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.0047df60
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret
Function at 0x47b0b0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.0048fe20
push ebx
mov ebx, dword [esp + 0x10028]
push ebp
push esi
push edi
xor eax, eax
jmp 0x47b0d0
mov cl, byte [eax + 0x48cf58]
mov dl, byte [eax + 0x48cf50]
mov byte [esp + eax + 0x1c], cl
mov byte [esp + eax + 0x24], dl
inc eax
cmp eax, 8
jl 0x47b0d0
lea eax, [esp + 0x10]
push 0x482310
push eax
call fcn.0047e850
push 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0047c570
add esp, 0x14
mov dword [esp + 0x18], 0
mov eax, dword [ebx]
push eax
push 0x10000
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.0047f827
add esp, 0x10
cmp eax, 0x18
jl 0x47b17e
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x47b161
xor edx, edx
lea esp, [esp]
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x49354e
cmp ecx, 0x14
je 0x4935cd
inc edx
cmp edx, edi
jl 0x47b140
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push 1
lea edx, [ecx + ebp - 0x14]
push 0xffffffffffffffec
push eax
mov dword [esp + 0x24], edx
call fcn.0047f1bd
add esp, 0xc
jmp 0x47b115
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10020
ret 4
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
jne 0x49359a
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
jne 0x4935a7
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x4935b6
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
mov ebx, dword [esp + 0x10034]
jne 0x4935c5
add ecx, 5
cmp ecx, 0x14
jge 0x47b156
jmp 0x47b146
mov ebx, dword [esp + 0x10034]
inc ecx
jmp 0x47b153
mov ebx, dword [esp + 0x10034]
add ecx, 2
jmp 0x47b153
mov ebx, dword [esp + 0x10034]
add ecx, 3
jmp 0x47b153
add ecx, 4
jmp 0x47b153
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push 0
lea edx, [ecx + edx + 0x14]
push edx
push eax
call fcn.0047f1bd
mov ecx, dword [ebx]
push ecx
push 4
lea edx, [esp + 0x24]
push 1
push edx
call fcn.0047f827
lea eax, [esp + 0x2c]
push 0x482300
push eax
mov byte [esp + 0x38], 0
call fcn.0047ee70
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x47b183

Function at 0x4a289d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [esi]
test al, 3
je 0x4a291d
push ebx
xor ebx, ebx
inc ebx
test bl, al
je 0x4a28c6
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
call fcn.0047f242
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
pop ecx
pop ecx
jne 0x4a291c
mov eax, dword [esi]
test al, 0x20
je 0x4a28e1
push dword [esi + 4]
push 2
push ebx
push 0x4809fc
call fcn.0047f412
mov dword [esi + 0xc], ebx
jmp 0x4a2919
test al, 0x40
je 0x4a28fe
push dword [esi + 4]
push 2
push ebx
push 0x481d50
call fcn.0047f412
mov dword [esi + 0xc], 2
jmp 0x4a2919
test al, al
jns 0x4a291c
push dword [esi + 4]
push 3
push ebx
push 0x481d54
call fcn.0047f412
mov dword [esi + 0xc], 4
add esp, 0x10
pop ebx
leave
ret
Function at 0x415c90
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4aef2d
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x78], edi
jne 0x415cfe
push 8
call fcn.0049f1b5
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x154], edi
je 0x415cda
mov ecx, eax
call fcn.0049dc03
jmp 0x415cdc
xor eax, eax
push 0xff00ff
push edi
push 0x10
push 0x407
mov ecx, eax
mov dword [esp + 0x164], 0xffffffff
mov dword [ebx + 0x78], eax
call fcn.0049dcc8
mov eax, dword [ebx + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffff0000
push edi
push 0x1101
push eax
mov dword [esp + 0x20], edi
call ebp
mov eax, dword [ebx + 0x40]
lea esi, [ebx + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x415d4c
lea ecx, [esp + 0x48]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x415e5e
lea edx, [esp + 0x48]
mov ecx, esi
push edx
call fcn.0049f5fd
jmp 0x415d73
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x415d7d
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x1c]
push eax
push 0
push 0x1109
push ecx
call ebp
push eax
call fcn.0049dc95
lea edx, [esp + 0x48]
push 0x62c254
push edx
mov esi, 0xffff0000
call fcn.0048f947
add esp, 8
test eax, eax
je 0x415e00
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
push 0
push 0x1100
push ecx
mov dword [esp + 0x28], 0xffff0002
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 3
mov dword [esp + 0x2c], 0x23
call ebp
push 0x62c254
push 0
mov esi, eax
inc edi
call fcn.0048f947
add esp, 8
test eax, eax
jne 0x415dac
mov dword [esp + 0x10], edi
mov edx, dword [ebx + 0x1c]
xor edi, edi
push edi
push edi
push 0x110a
push edx
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x415e48
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
push esi
push 2
push 0x1102
push eax
mov edi, esi
call ebp
mov ecx, dword [ebx + 0x1c]
push esi
push 4
push 0x110a
push ecx
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x415e1d
mov edx, dword [ebx + 0x1c]
push edi
push 9
push 0x110b
push edx
call ebp
push edi
mov ecx, ebx
call fcn.00415e80
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret
Function at 0x415e80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aef4b
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.0049f1e9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x415f02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049c8e0
mov eax, dword [eax]
push 0x62c254
push eax
call fcn.0048e7e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049f474
test bl, bl
je 0x415f02
push 0x62c254
lea ecx, [esp + 0xc]
call fcn.0049f850
push 0x62fe18
lea ecx, [esp + 0xc]
call fcn.0049f850
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 0x415f3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049f474
jmp 0x416009
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 0x415fc2
lea edx, [esp + 0x7c]
push 0x62fe14
push edx
call fcn.0048e7e4
add esp, 8
test eax, eax
je 0x415fc2
lea eax, [esp + 0x7c]
push 0x62fe10
push eax
call fcn.0048e7e4
add esp, 8
test eax, eax
je 0x415fc2
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 0x415f52
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.0049f474
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 0x417260
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 0x4172c2
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 0x4172d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af0ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x63fca0]
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 0x417408
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x417336
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049f474
xor eax, eax
jmp 0x41747f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049f5fd
push esi
lea ecx, [esp + 0xc]
call fcn.0049f88c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x62fe50
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41745d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x62fe48
push 0x80000000
call fcn.00417260
test eax, eax
jne 0x41745d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x62fe34
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.00417260
test eax, eax
jne 0x41745d
lea eax, [esp + 0x14]
push 0x62fe2c
push eax
call fcn.0048fa80
mov esi, eax
add esp, 8
test esi, esi
jne 0x41743c
lea ecx, [esp + 0x14]
push 0x62fe28
push ecx
call fcn.0048fa00
mov esi, eax
add esp, 8
test esi, esi
jne 0x41743c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41743f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049f5ad
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41734e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049f474
xor eax, eax
jmp 0x41747f
mov byte [esi], 0
push 0x62fe24
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.0049f474
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 0x429f70
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 0x429fde
cmp si, 0x69
ja 0x429fde
add esi, 0xffd0
cmp si, 0x11
je 0x429fae
push 0x11
call edi
test ax, ax
jge 0x429fae
or esi, 0x2000
cmp si, 0x10
je 0x429fc3
push 0x10
call edi
test ax, ax
jge 0x429fc3
or esi, 0x4000
cmp si, 0x12
je 0x429fd8
push 0x12
call edi
test ax, ax
jge 0x429fd8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x429feb
mov esi, 0xbd
jmp 0x429f9f
cmp si, 0x6e
jne 0x429ff8
mov esi, 0xbe
jmp 0x429f9f
cmp si, 0x6f
jne 0x429f99
mov esi, 0xbf
jmp 0x429f9f

Function at 0x42b710
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x650c40]
xor edx, edx
cmp eax, edx
jne 0x42b736
xor eax, eax
mov byte [eax + 0x650b40], al
inc eax
cmp eax, 0x100
jl 0x42b71e
mov dword [0x650c40], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x650b40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42b7c7
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 0x42b79a
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 0x42b768
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42b840
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 0x42b893
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 0x42b87a
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