joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403bc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48ba9b
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x4c0c08]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0c08]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov eax, dword [esp + 0x22c]
mov esi, dword [esp + 0x228]
mov ebp, dword [esp + 0x230]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.0042a8c0
push esi
mov dword [esp + 0x224], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0xc
push 0x41
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x238]
mov edx, dword [esp + 0x24]
push 0xcc0020
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x238]
add ecx, edx
push ecx
add eax, edi
push eax
push esi
push 0xc
push 0x41
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
push 0
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], esi
call fcn.0042b610
push 4
push ebp
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
mov dword [ebp], 0
mov dword [esp + 0x20], 0
call fcn.0042b4e0
test al, al
jne 0x403cdf
push str.cxImage_Encode_Error_r_n
call fcn.004171eb
add esp, 4
mov eax, dword [ebp]
cmp eax, 0x400
jle 0x403d16
push 0x400
push eax
push str.too_big_cximage___d____d__r_n
call fcn.004171eb
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [ebp], 0x400
mov eax, dword [ebp]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004177b0
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
call fcn.0042ab00
lea ecx, [esp + 0x30]
call fcn.0042a8e0
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0x30]
mov dword [esp + 0x220], 0xffffffff
mov dword [esp + 0x30], vtable.CxImage.0
call fcn.0042a8e0
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004176e9
add esp, 0x210
ret 0x14
Function at 0x40c8e0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48be90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4c0c08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp dword [esi], edi
je 0x40c933
push 0x4bcc64
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.004186c7
lea ecx, [ebp - 0x18]
push ecx
push 0x48d958
push 1
push edi
push 0x48d948
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x40c963
push 0x4bcc64
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 2
call fcn.004186c7
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, edi
jge 0x40c98b
push 0x4bcc64
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 3
call fcn.004186c7
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x1c]
call eax
cmp eax, edi
jge 0x40c9b0
push 0x4bcc64
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], 4
call fcn.004186c7
mov dword [ebp - 4], 0xffffffff
jmp 0x40c9d1
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40c9e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x40c9ef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4176e9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c0c08]
jne 0x4176f3
repz ret
jmp fcn.0041dd3c
Function at 0x425e8d
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.0041c9c0
and dword [ebp - 4], 0
cmp dword [0x4c9978], 0
mov ebx, eax
jne 0x425f3e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425fef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49084c
push edi
call esi
test eax, eax
je 0x425fef
push eax
call fcn.0041c94e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4c9978], eax
call esi
push eax
call fcn.0041c94e
mov dword [esp], 0x490828
push edi
mov dword [0x4c997c], eax
call esi
push eax
call fcn.0041c94e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c9980], eax
call esi
push eax
call fcn.0041c94e
pop ecx
mov dword [0x4c9988], eax
test eax, eax
je 0x425f3e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041c94e
pop ecx
mov dword [0x4c9984], eax
mov eax, dword [0x4c9984]
cmp eax, ebx
je 0x425f96
cmp dword [0x4c9988], ebx
je 0x425f96
push eax
call fcn.0041c9c9
push dword [0x4c9988]
mov esi, eax
call fcn.0041c9c9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x425f96
test edi, edi
je 0x425f96
call esi
test eax, eax
je 0x425f8d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425f8d
test byte [ebp - 0xc], 1
jne 0x425f96
or dword [ebp + 0x10], 0x200000
jmp 0x425fcf
mov eax, dword [0x4c997c]
cmp eax, ebx
je 0x425fcf
push eax
call fcn.0041c9c9
pop ecx
test eax, eax
je 0x425fcf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425fcf
mov eax, dword [0x4c9980]
cmp eax, ebx
je 0x425fcf
push eax
call fcn.0041c9c9
pop ecx
test eax, eax
je 0x425fcf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c9978]
call fcn.0041c9c9
pop ecx
test eax, eax
je 0x425fef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425ff1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434250
Capabilities:
Terminate process

Disassembly:
push ecx
mov eax, dword [0x4c0c08]
mov dword [esp], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x43426a
push eax
call fcn.00418e3d
add esp, 4
mov ecx, dword [esp]
add esp, 4
jmp fcn.004176e9
Function at 0x439f80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x439fb0
push esi
call fcn.0043a6d0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x439fa9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x43a027
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x43a017
mov eax, dword [esi + 8]
test eax, eax
je 0x439fd4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a013
cmp eax, 2
je 0x43a017
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x439fc7
cmp eax, 3
je 0x439ffa
cmp eax, 1
jne 0x439fc7
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x439fc7
mov ecx, dword [esi + 0x11c]
add dword [eax + 8], ecx
jmp 0x439fc7
xor al, al
pop esi
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.00439d60
pop esi
ret
cmp eax, 0xcc
je 0x43a047
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
push esi
call dword [eax]
add esp, 4
call fcn.00439d60
pop esi
ret
Function at 0x45dea0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x24]
push esi
push edi
mov dword [esp + 0x14], eax
jmp 0x45deb5
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x6c]
mov ebx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x64]
sub ebx, edx
mov edx, dword [ebp + 0x24]
lea edx, [eax + edx - 0x106]
sub ebx, ecx
cmp ecx, edx
jb 0x45df3f
mov edi, dword [ebp + 0x30]
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [edi + eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x68]
mov edx, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x54]
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebp + 0x68], esi
mov esi, dword [ebp + 0x44]
mov dword [ebp + 0x54], ecx
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x64], edx
lea edx, [ecx + esi*2]
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x45df16
sub ecx, eax
jmp 0x45df18
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x45df07
mov edx, dword [ebp + 0x38]
mov esi, eax
lea edx, [edx + eax*2]
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x45df35
sub ecx, eax
jmp 0x45df37
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x45df26
add ebx, eax
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x45dfa8
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x64]
mov edi, dword [ebp + 0x30]
add ecx, edx
add ecx, edi
push ecx
mov ecx, ebx
mov ebx, eax
call fcn.0045db60
mov ecx, dword [ebp + 0x6c]
add ecx, eax
mov edx, ecx
add esp, 4
cmp edx, 3
mov dword [ebp + 0x6c], ecx
jb 0x45df92
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebp + 0x4c]
mov dword [ebp + 0x40], eax
cmp edx, 0x106
jae 0x45dfa8
mov edx, dword [ebp]
mov eax, dword [edx + 4]
test eax, eax
jne 0x45deb1
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x48a827
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x48a858
call fcn.004192f1
mov dword [eax], esi
call fcn.004192de
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004183fb
add esp, 0x14
push 0x16
pop eax
jmp 0x48a8ad
test dword [ebp + 0xc], 0xfffffff9
jne 0x48a834
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x48a885
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00419304
pop ecx
call fcn.004192de
mov eax, dword [eax]
jmp 0x48a8ad
test al, 0x10
jne 0x48a8ab
test al, 1
je 0x48a8ab
test byte [ebp + 0xc], 2
je 0x48a8ab
call fcn.004192f1
mov dword [eax], 5
call fcn.004192de
mov dword [eax], 0xd
jmp 0x48a87c
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40a045
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 8
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
not esi
mov edx, 0xff
jb 0x40a11f
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [ecx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + 0x68cd1eb8]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + 0x68cd1eb8]
shr esi, 8
xor esi, edi
inc ecx
dec eax
jne 0x40a068
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x40a13f
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, edx
mov eax, dword [eax*4 + 0x68cd1eb8]
shr esi, 8
xor esi, eax
inc ecx
dec dword [ebp + 0x10]
jne 0x40a125
mov eax, esi
not eax
pop esi
pop ebp
ret 0xc

Function at 0x40a148
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x58]
add dword [esi + 0x5c], ecx
test ecx, ecx
not eax
jbe 0x40a18c
push ebx
push edi
mov edi, dword [esp + 0x14]
mov edx, ecx
mov ecx, dword [esp + 0x18]
mov bl, byte [ecx]
mov byte [edi], bl
xor ebx, ebx
mov bl, byte [ecx]
inc edi
xor ebx, eax
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x68cd1eb8]
shr eax, 8
xor eax, ebx
inc ecx
dec edx
jne 0x40a169
pop edi
pop ebx
not eax
mov dword [esi + 0x58], eax
pop esi
ret 0x10
Function at 0x4097f9
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004099a9
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 0x4098f7
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 0x40989a
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4098dd
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4098b1
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4098cc
test al, 0x40
je 0x4098c3
mov ecx, dword [edi + 0x20]
jmp 0x4098ca
test al, 0x80
je 0x4098dd
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4098dd
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 0x409869
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4149b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49d32b
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.00491d91
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x414a32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048f6ad
mov eax, dword [eax]
push 0xf76200
push eax
call fcn.004818c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049201c
test bl, bl
je 0x414a32
push 0xf76200
lea ecx, [esp + 0xc]
call fcn.004923ac
push 0xf79da8
lea ecx, [esp + 0xc]
call fcn.004923ac
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 0x414a6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049201c
jmp 0x414b39
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 0x414af2
lea edx, [esp + 0x7c]
push 0xf79da4
push edx
call fcn.004818c4
add esp, 8
test eax, eax
je 0x414af2
lea eax, [esp + 0x7c]
push 0xf79da0
push eax
call fcn.004818c4
add esp, 8
test eax, eax
je 0x414af2
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 0x414a82
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.0049201c
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 0x415330
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 0x415392
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 0x4153a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49d3ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xf87aa0]
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 0x4154d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x415406
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049201c
xor eax, eax
jmp 0x41554f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00492159
push esi
lea ecx, [esp + 0xc]
call fcn.004923e8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xf79de0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41552d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00415330
test eax, eax
jne 0x41552d
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 accept
mov ecx, edi
call fcn.00415330
test eax, eax
jne 0x41552d
lea eax, [esp + 0x14]
push 0xf79dbc
push eax
call fcn.00482900
mov esi, eax
add esp, 8
test esi, esi
jne 0x41550c
lea ecx, [esp + 0x14]
push 0xf79db8
push ecx
call fcn.00482880
mov esi, eax
add esp, 8
test esi, esi
jne 0x41550c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41550f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00492109
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41541e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049201c
xor eax, eax
jmp 0x41554f
mov byte [esi], 0
push 0xf79db4
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.0049201c
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 0x428420
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 0x42848e
cmp si, 0x69
ja 0x42848e
add esi, 0xffd0
cmp si, 0x11
je 0x42845e
push 0x11
call edi
test ax, ax
jge 0x42845e
or esi, 0x2000
cmp si, 0x10
je 0x428473
push 0x10
call edi
test ax, ax
jge 0x428473
or esi, 0x4000
cmp si, 0x12
je 0x428488
push 0x12
call edi
test ax, ax
jge 0x428488
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42849b
mov esi, 0xbd
jmp 0x42844f
cmp si, 0x6e
jne 0x4284a8
mov esi, 0xbe
jmp 0x42844f
cmp si, 0x6f
jne 0x428449
mov esi, 0xbf
jmp 0x42844f

Function at 0x429ce0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xf981e0]
xor edx, edx
cmp eax, edx
jne 0x429d06
xor eax, eax
mov byte [eax + 0xf980e0], al
inc eax
cmp eax, 0x100
jl 0x429cee
mov dword [0xf981e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xf980e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x429d97
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 0x429d6a
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 0x429d38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x429e10
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 0x429e63
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 0x429e4a
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