joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100023b0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x80
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.100042d0
add esp, 0xc
mov dword [ebp - 0x28], 0x20
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
shr eax, 0xa
shr eax, 0xa
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x2c]
shr ecx, 0xa
shr ecx, 0xa
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 4]
shr edx, 0xa
shr edx, 0xa
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 8]
push edx
push str._ld__ld__ld
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.10004812
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x10002440
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x80
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.100042d0
add esp, 0xc
mov dword [ebp - 0x14], 0x80
mov dword [ebp - 0xc], 0x80
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000248d
jmp 0x1000252e
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push str.MHz
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100024b8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000252e
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x1c], edx
fild dword [ebp - 0x1c]
fdiv qword [0x10012738]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fmul qword [0x10012730]
fadd qword [0x10012728]
call fcn.10004920
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fdiv qword [0x10012730]
fiadd dword [ebp - 8]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
push str._.2f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10004812
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10002890
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10016180]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.100042d0
add esp, 0xc
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea edx, [ebp - 0x107]
push edx
call fcn.100042d0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x100029d3
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], 0
jmp 0x1000291d
mov edx, dword [ebp - 0x110]
add edx, 1
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x10c], 0
je 0x100029d3
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x110]
cmp dword [ecx + edx*4], 0
je 0x100029d3
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x110]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x118], eax
push 0x100
call fcn.100049cb
add esp, 4
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x118]
push eax
push 0x10012614
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.10004812
add esp, 0xc
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.100049f0
add esp, 8
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
push eax
call fcn.10003cd2
add esp, 4
jmp 0x1000290e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004730
mov esp, ebp
pop ebp
ret
Function at 0x10003a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
xor eax, eax
cmp dword [ebp + 0x10], 0
setne al
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10003a45
push 0x80004005
call fcn.10003b50
xor ecx, ecx
jne 0x10003a29
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x10003b42
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jbe 0x10003b3c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x10003b2d
cmp dword [ebp - 0x14], 2
jbe 0x10003aa8
cmp dword [ebp - 0x14], 7
je 0x10003ada
jmp 0x10003b2d
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
xor edx, edx
mov ecx, 1
div ecx
test edx, edx
jne 0x10003acb
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax - 1]
test edx, edx
je 0x10003ad8
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov eax, 0xd
jmp 0x10003b45
jmp 0x10003b3a
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
xor edx, edx
mov ecx, 1
div ecx
test edx, edx
jne 0x10003b1e
mov edx, dword [ebp + 0x10]
cmp dword [edx], 1
jb 0x10003b1e
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx - 1]
test eax, eax
jne 0x10003b1e
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 1
jbe 0x10003b2b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax - 2]
test edx, edx
je 0x10003b2b
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov eax, 0xd
jmp 0x10003b45
jmp 0x10003b3a
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
mov eax, 0xd
jmp 0x10003b45
jmp 0x10003b42
mov edx, dword [ebp + 8]
mov byte [edx], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10004730
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10016180]
jne 0x1000473a
repz ret
jmp fcn.10007eac
Function at 0x1000eaea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10007831
and dword [ebp - 4], 0
cmp dword [0x100180fc], 0
mov ebx, eax
jne 0x1000eb9b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000ec4c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000ec4c
push eax
call fcn.100077bf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100180fc], eax
call esi
push eax
call fcn.100077bf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10018100], eax
call esi
push eax
call fcn.100077bf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10018104], eax
call esi
push eax
call fcn.100077bf
pop ecx
mov dword [0x1001810c], eax
test eax, eax
je 0x1000eb9b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100077bf
pop ecx
mov dword [0x10018108], eax
mov eax, dword [0x10018108]
cmp eax, ebx
je 0x1000ebf3
cmp dword [0x1001810c], ebx
je 0x1000ebf3
push eax
call fcn.1000783a
push dword [0x1001810c]
mov esi, eax
call fcn.1000783a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000ebf3
test edi, edi
je 0x1000ebf3
call esi
test eax, eax
je 0x1000ebea
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000ebea
test byte [ebp - 0xc], 1
jne 0x1000ebf3
or dword [ebp + 0x10], 0x200000
jmp 0x1000ec2c
mov eax, dword [0x10018100]
cmp eax, ebx
je 0x1000ec2c
push eax
call fcn.1000783a
pop ecx
test eax, eax
je 0x1000ec2c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000ec2c
mov eax, dword [0x10018104]
cmp eax, ebx
je 0x1000ec2c
push eax
call fcn.1000783a
pop ecx
test eax, eax
je 0x1000ec2c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100180fc]
call fcn.1000783a
pop ecx
test eax, eax
je 0x1000ec4c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000ec4e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404de5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408688
cmp edx, dword [eax]
je 0x404e07
add eax, 8
inc ecx
cmp eax, 0x408718
jl 0x404df8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408688]
jne 0x404f35
mov eax, dword [0x408a48]
cmp eax, 1
je 0x404f0f
test eax, eax
jne 0x404e38
cmp dword [0x4085d4], 1
je 0x404f0f
cmp edx, 0xfc
je 0x404f35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404e6f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004032f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004033f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404eb2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004033f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4065d0
push edi
call fcn.00405720
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004032f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403300
lea eax, [ebp - 0xa0]
push 0x4065b0
push eax
call fcn.00403300
push dword [esi + 0x40868c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403300
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405697
add esp, 0x2c
pop edi
jmp 0x404f35
lea eax, [ebp + 8]
lea esi, [esi + 0x40868c]
push 0
push eax
push dword [esi]
call fcn.004033f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x741ec2
Capabilities:
Execute anti-debugging instructions

Disassembly:
add edi, 0xfaf6b455
jmp 0x741e9d
mov dl, 0x1c
mov ebx, edi
jmp 0x741e3f
neg cx
jae 0x741e66
sub esp, 0x14
mov dx, word [esp + 0xe]
mov dx, 0xed0f
jmp 0x741c6d
mov bx, word [esp]
bsf dx, si
jbe 0x741e35
mov dl, 0x1c
jmp 0x741e37
sub esp, 0x14
mov dx, word [esp + 0xe]
jmp 0x741e74
mov dx, 0xed0f
jmp 0x741c6d
lea esp, [esp + 2]
sub esp, 0xc0
mov esi, esp
lea edx, [esp + edx]
jmp 0x741e58
mov edx, 0x8edb75a6
mov cx, dx
rdtsc
bsr ax, bp
jmp 0x741ee3
rdtsc
pop word [esp]
mov byte [esp], bh
jmp 0x741e8c
jo fcn.00741f06
jno fcn.00741f06

Function at 0x741ecd
Capabilities:
Execute anti-debugging instructions

Disassembly:
btr eax, edx
jmp 0x742085
rdtsc
stc
inc dh
bswap edx
mov dl, byte [esp]
inc edx
jmp 0x741f97
lea edx, [ebx + edi]
jmp 0x741f1b
add cl, bl
mov ax, 0x51eb
add edx, ebp
jo 0x741f34
lea edx, [ebx + edi]
not dx
jmp 0x741f1e
mov edx, 0x724b72be
mov eax, dword [esp]
pushal
lea eax, [edx + edi]
lea esp, [esp + 0x20]
jmp 0x741f4b
inc dh
bswap edx
mov dl, byte [esp]
jmp 0x741ef1
jne 0x741ee7
rdtsc
stc
jmp 0x74205a
Function at 0x7420b1
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [edx + edx]
lea eax, [edx*4]
not al
mov al, 0x1a
sub esp, 6
jae 0x7420d3
bts eax, edi
lea esp, [esp + 2]
jmp 0x7420d5
lea esp, [esp + 4]
ror dl, 0
jmp 0x742090
bts eax, edi
lea esp, [esp + 2]
jmp 0x7420d5
jmp 0x7420ba
lea esp, [esp + 4]
xor dl, 0x7b
mov ax, 0x5739
cmc
ja 0x742101
jbe 0x742101
mov al, 0xc6
xchg byte [esp], al
setg ah
mov al, ah
mov al, 0x6a
jmp 0x7421bb
lea esp, [esp + 4]
not dl
lea eax, [edi*4]
rol ax, cl
jb 0x7421ea
stc
bswap eax
mov ax, word [esp]
bswap eax
jmp 0x742253
jmp 0x7422ca
jo 0x74222e
sub esp, 0x18
push word [esp + 0x1d]
jmp 0x742296
sub esp, 0x18
push word [esp + 0x1d]
lea esp, [esp + 2]
dec edi
bswap edx
mov dh, 0xf2
ror ah, 1
jmp 0x74225c
bswap eax
add bl, dl
bswap edx
sub esp, 0x10
jmp 0x742215
jne 0x74227e
lea edx, [edi + ebp]
pushal
jmp 0x742268
mov ax, cx
mov dh, byte [esp + 0xb]
mov eax, dword [esp + 0x13]
jmp 0x74228d
lea edx, [edi + ebp]
pushal
mov ax, cx
mov dh, byte [esp + 0xb]
mov eax, dword [esp + 0x13]
mov dh, 0xf8
jmp 0x7422b2
lea esp, [esp + 2]
jmp 0x74223a
pop dword [esp + 0x10]
bsr ax, cx
setle dh
mov dx, 0x1a85
jmp 0x7430bc
rdtsc
rcl eax, 0xb
jle 0x74229c
pop dword [esp + 0x10]
jmp 0x7422d6
stc
bswap eax
mov ax, word [esp]
jmp 0x742251
bsr ax, cx
setle dh
mov dx, 0x1a85
rdtsc
jmp 0x7430be
mov dl, 0x94
bswap eax
rdtsc
mov edx, 0xfffe016c
mov eax, 0xfe953f0
jmp 0x742300
lea edx, [esi + edi]
not ax
lea edx, [eax + 0xe9]
jmp 0x74231f
lea edx, [esp + eax]
jmp 0x742377
inc cl
lea eax, [ebx + edi]
sub esp, 0
jo 0x7425d2
lea edx, [esp + eax]
lea edx, [esi + edi]
not ax
lea edx, [eax + 0xe9]
mov dl, 0x94
jmp 0x742321
rdtsc
lea esp, [esp + 5]
lea esp, [esp + 3]
lea esp, [esp + 0x14]
jmp 0x742623
Function at 0x406e23
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00406fd3
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 0x406f21
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 0x406ec4
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x406f07
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x406edb
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x406ef6
test al, 0x40
je 0x406eed
mov ecx, dword [edi + 0x20]
jmp 0x406ef4
test al, 0x80
je 0x406f07
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x406f07
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 0x406e93
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x42b320
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a51bb
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.00499385
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42b3a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049700d
mov eax, dword [eax]
push 0x5ea240
push eax
call fcn.00488e44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00499610
test bl, bl
je 0x42b3a2
push 0x5ea240
lea ecx, [esp + 0xc]
call fcn.004999a0
push 0x5eddc4
lea ecx, [esp + 0xc]
call fcn.004999a0
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 0x42b3de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00499610
jmp 0x42b4a9
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 0x42b462
lea edx, [esp + 0x7c]
push 0x5eddc0
push edx
call fcn.00488e44
add esp, 8
test eax, eax
je 0x42b462
lea eax, [esp + 0x7c]
push 0x5eddbc
push eax
call fcn.00488e44
add esp, 8
test eax, eax
je 0x42b462
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 0x42b3f2
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.00499610
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 0x42c700
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 0x42c762
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 0x42c770
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a531b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5fe768]
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 0x42c8a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42c7d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00499610
xor eax, eax
jmp 0x42c91f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049974d
push esi
lea ecx, [esp + 0xc]
call fcn.004999dc
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5eddfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42c8fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042c700
test eax, eax
jne 0x42c8fd
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 closesocket
mov ecx, edi
call fcn.0042c700
test eax, eax
jne 0x42c8fd
lea eax, [esp + 0x14]
push 0x5eddd8
push eax
call fcn.00489e80
mov esi, eax
add esp, 8
test esi, esi
jne 0x42c8dc
lea ecx, [esp + 0x14]
push 0x5eddd4
push ecx
call fcn.00489e00
mov esi, eax
add esp, 8
test esi, esi
jne 0x42c8dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42c8df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004996fd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42c7ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00499610
xor eax, eax
jmp 0x42c91f
mov byte [esi], 0
push 0x5eddd0
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.00499610
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 0x43de00
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 0x43de6e
cmp si, 0x69
ja 0x43de6e
add esi, 0xffd0
cmp si, 0x11
je 0x43de3e
push 0x11
call edi
test ax, ax
jge 0x43de3e
or esi, 0x2000
cmp si, 0x10
je 0x43de53
push 0x10
call edi
test ax, ax
jge 0x43de53
or esi, 0x4000
cmp si, 0x12
je 0x43de68
push 0x12
call edi
test ax, ax
jge 0x43de68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43de7b
mov esi, 0xbd
jmp 0x43de2f
cmp si, 0x6e
jne 0x43de88
mov esi, 0xbe
jmp 0x43de2f
cmp si, 0x6f
jne 0x43de29
mov esi, 0xbf
jmp 0x43de2f

Function at 0x43f630
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x60ef88]
xor edx, edx
cmp eax, edx
jne 0x43f656
xor eax, eax
mov byte [eax + 0x60ee88], al
inc eax
cmp eax, 0x100
jl 0x43f63e
mov dword [0x60ef88], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x60ee88
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43f6e7
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 0x43f6ba
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 0x43f688
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43f760
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 0x43f7b3
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 0x43f79a
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