joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4dc38c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.0043cb85
lea eax, [ebp - 0x94]
push eax
call fcn.004382b2
add esp, 8
mov dword [ebp - 4], 0
call fcn.004383fc
dec eax
cmp eax, 3
ja case.default.0x40dd39
jmp dword [eax*4 + 0x40de94]
push str.skineverything_
lea ecx, [ebp - 0x94]
call fcn.004358c4
lea ecx, [ebp - 0x94]
call fcn.00435c9d
push eax
call fcn.0043cb3c
add esp, 4
push 0
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.0040e940
mov ecx, eax
call fcn.0043d7d1
jmp case.default.0x40dd39
push str.skineverything_
lea ecx, [ebp - 0x94]
call fcn.004358c4
lea ecx, [ebp - 0x94]
call fcn.00435c9d
push eax
call fcn.0043cb3c
add esp, 4
push 0x4c8b20
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
call fcn.0040e940
mov ecx, eax
call fcn.0043d7d1
jmp case.default.0x40dd39
push str.skin_
lea ecx, [ebp - 0x94]
call fcn.004358c4
lea ecx, [ebp - 0x94]
call fcn.00435c9d
push eax
call fcn.0043cb3c
push 0
push 1
push str.everything.zip
call fcn.0043cc1e
add esp, 0x10
jmp 0x40dd64
push 0x4c8b64
push 0x83
call fcn.004383e7
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je case.default.0x40dd39
push esi
call fcn.004383e7
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40de64
push esi
call fcn.004383e7
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x40de64
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0043cb92
add esp, 0xc
push 0
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.0040e940
mov ecx, eax
call fcn.0043d7d1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x94]
call fcn.004356df
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048254c
mov esp, ebp
pop ebp
ret
Function at 0x40deb0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4dc38c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
mov esi, ecx
push 0
push eax
call fcn.00486070
mov ax, word [0x4c8b8c]
add esp, 0xc
movups xmm0, xmmword [str..pipe115everythingPipe]
mov word [ebp - 0xf8], ax
mov al, byte [0x4c8b8e]
mov byte [ebp - 0xf6], al
lea eax, [ebp - 0x110]
movups xmmword [ebp - 0x110], xmm0
push 0x1f4
movq xmm0, qword [0x4c8b84]
push eax
mov dword [ebp - 0x214], 0
movq qword [ebp - 0x100], xmm0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
jne 0x40df82
push 0xff
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00486070
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.115everything_client_WaitNamedPipeA_failed__d_n
lea eax, [ebp - 0x210]
push eax
call fcn.00403420
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048254c
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40dfcc
push 0xff
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00486070
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.115everything_client_connect_failed__d_n
jmp 0x40df55
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.115everything_client_connect_success_n
call edi
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x40dfe4
mov esi, dword [esi]
push 0
lea ecx, [ebp - 0x214]
push ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40e012
push str.115everything_client_Send_msg_failed_n
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048254c
mov esp, ebp
pop ebp
ret
push str.115everything_client_Send_msg_success_n
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048254c
mov esp, ebp
pop ebp
ret
Function at 0x40e040
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x4dc38c]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push str.115everything_mutext
push 1
push 0
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40e0e3
push 9
push str._cmd_:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.00402680
lea ecx, [esp + 0x1c]
call fcn.0040deb0
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x40e241
inc eax
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0x20]
call fcn.00402bb0
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0048254c
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x40e0ee
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push str.hwnd
push ebx
call fcn.00484fcd
add esp, 8
test eax, eax
je 0x40e17d
add eax, 0xa
lea ecx, [esp + 0x34]
push eax
call fcn.0040e2a0
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.0042a5a0
mov eax, dword [esp + 0x48]
cmp eax, 8
jb 0x40e132
inc eax
lea ecx, [esp + 0x34]
push eax
push dword [esp + 0x38]
call fcn.0040e480
cmp dword [esp + 0x30], 0x10
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
xorps xmm0, xmm0
cmovae eax, dword [esp + 0x20]
push str._lld
push eax
movlpd qword [esp + 0x1c], xmm0
call fcn.00420010
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [0x4dfcd4], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x40e17d
inc eax
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0x20]
call fcn.00402bb0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40e241
push dword [esp + 0xc]
call fcn.0043c910
add esp, 4
call fcn.0040dce0
push 0x6dc
call fcn.0048258e
add esp, 4
mov ecx, eax
call fcn.00414ca0
mov dword [0x4dfcd0], eax
test eax, eax
je 0x40e241
push 0
push 0x3f
push 0x1e7
push 0
push 0
push 0
push 0x90880000
push 0x4c8ca4
push 0
mov ecx, eax
call fcn.00434f6e
mov ecx, dword [0x4dfcd0]
call fcn.00434de7
call fcn.0043d99f
mov ecx, dword [0x4dfcd0]
push eax
lea ecx, [ecx + 0x38]
call fcn.0043c281
mov ecx, dword [0x4dfcd0]
push 1
push 1
call fcn.0043537a
mov ecx, dword [0x4dfcd0]
call fcn.00434de3
push 0
push 0
push 0
push 0x419fa0
push 0
push 0
mov dword [0x4dfcd8], eax
call fcn.0048b7c3
add esp, 0x18
call fcn.0043a973
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop ebx
xor ecx, esp
call fcn.0048254c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4111a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4dc38c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x210], 0x5c3a63
push eax
lea eax, [ebp - 0x214]
mov byte [ebp - 0x210], cl
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x411249
mov ecx, str.NTFS
lea eax, [ebp - 0x108]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411230
test dl, dl
je 0x41122c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411230
add eax, 2
add ecx, 2
test dl, dl
jne 0x411210
xor eax, eax
jmp 0x411235
sbb eax, eax
or eax, 1
test eax, eax
jne 0x411249
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048254c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0048254c
mov esp, ebp
pop ebp
ret
Function at 0x412130
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
jb 0x41214e
mov esi, dword [edi]
jmp 0x412150
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x412174
mov edi, eax
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x412160
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp + 0xc], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 8], eax
cmp edx, ebx
jne 0x412199
mov eax, ebx
jmp 0x41219d
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x412210
cmp dword [edi + 0x14], 0x10
lea ecx, [esi + 8]
jb 0x4121ae
mov eax, dword [edi]
jmp 0x4121b0
mov eax, edi
cmp dword [ecx + 0x14], 0x10
lea edx, [ecx + 0x10]
jb 0x4121bb
mov ecx, dword [ecx]
push dword [ebp - 4]
mov edx, dword [edx]
push eax
call fcn.004025b0
add esp, 8
test eax, eax
je 0x4121d7
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
jmp 0x412191
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
lea ecx, [eax + 0x10]
jb 0x4121e5
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x4121ed
mov edi, dword [edi]
push dword [ecx]
mov edx, dword [ebp - 4]
mov ecx, edi
push eax
call fcn.004025b0
add esp, 8
test eax, eax
mov eax, dword [ebp + 8]
cmovne esi, ebx
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x413540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x41355b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x413577
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x413566
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x4135ad
cmp dword [ecx], edi
jne 0x4135a5
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x4135b5
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4135b5
cmp dword [ecx], edi
jne 0x4135b8
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
lea ebx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [edx + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x4135e0
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.00402bb0
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x4135f6
mov ebx, dword [ebx]
push edi
mov byte [ebx], 0
call fcn.00469d21
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415840
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a96cb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4dc38c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x98], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x108]
cmp eax, dword [ebx + 0x530]
je 0x415893
cmp eax, dword [ebx + 0x52c]
jne 0x415921
push 0x73
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x1f4
push 0x73
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push str.OnSetFocus_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.0041a930
mov edi, eax
push 0x11
lea ecx, [ebx + 0x38]
mov dword [ebp - 4], 0
call fcn.00437c09
mov ecx, eax
call fcn.0043db1f
mov ecx, edi
mov esi, eax
call fcn.00435ca7
cmp eax, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
setle bl
call fcn.004356df
test bl, bl
je 0x415921
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x578]
test ecx, ecx
je 0x415921
mov eax, dword [ecx]
push 1
call dword [eax + 0xf8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048254c
mov esp, ebp
pop ebp
ret 4
Function at 0x429910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab566
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4dc38c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0048258e
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00433fa1
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42b8f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4dc38c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0042d4d0
add esp, 4
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x42b96a
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048254c
mov esp, ebp
pop ebp
ret
Function at 0x42b990
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab9f1
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x4dc38c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486070
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x42b9e2
mov eax, dword [ebx]
jmp 0x42b9e4
mov eax, ebx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0049121b
push 0x4cab34
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0049127f
add esp, 0x18
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42ba31
xor al, al
jmp 0x42bbd6
mov ecx, 0x4cab30
lea eax, [ebp - 0x484]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ba66
test dx, dx
je 0x42ba62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ba66
add eax, 4
add ecx, 4
test dx, dx
jne 0x42ba40
xor eax, eax
jmp 0x42ba6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42bbb9
mov eax, 0x4cab40
lea ecx, [ebp - 0x484]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42baa6
test dx, dx
je 0x42baa2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42baa6
add ecx, 4
add eax, 4
test dx, dx
jne 0x42ba80
xor eax, eax
jmp 0x42baab
sbb eax, eax
or eax, 1
test eax, eax
je 0x42bbb9
push ecx
mov edx, ebx
lea ecx, [ebp - 0x230]
call fcn.0042d610
lea ecx, [ebp - 0x484]
mov dword [ebp - 4], 0
push ecx
mov edx, eax
lea ecx, [ebp - 0x260]
call fcn.0041d4d0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x42bb01
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.0040e480
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp byte [ebp + 8], al
je 0x42bb3e
test byte [ebp - 0x4b0], 0x10
je 0x42bb3e
push 1
mov edx, esi
lea ecx, [ebp - 0x260]
call fcn.0042b990
add esp, 4
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x248]
call fcn.0042a5a0
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0041d100
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x42bb79
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402bb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp eax, 8
jb 0x42bbb9
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.0040e480
lea eax, [ebp - 0x4b0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42ba31
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048254c
mov esp, ebp
pop ebp
ret
Function at 0x4317f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4dc38c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, 0x13
je 0x43183c
cmp eax, 3
jne 0x4318d6
cmp dword [esi + 0x18], 0xd
jne 0x4318d6
mov ecx, dword [edi + 0x6e0]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x98], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x98], 0
je 0x4318a8
push 0
push str.System32
lea ecx, [ebp - 0x94]
call fcn.00435ad5
cmp eax, 0xffffffff
je 0x4318a8
push 0x4c8cb4
push str.System32
lea ecx, [ebp - 0x94]
call fcn.00436024
push 0xa
push 0
push 0
lea ecx, [ebp - 0x94]
call fcn.00435c9d
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.004356df
push esi
mov ecx, edi
call fcn.0044c088
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048254c
mov esp, ebp
pop ebp
ret 4

Function at 0x43537a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4353ac
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x43886a
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x43888d
or esi, 1
push 1
call edi
test ax, ax
jns 0x438899
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4388a5
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4388b1
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x43b417
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x324]
call fcn.00434de3
mov edi, dword [ebp + 8]
test eax, eax
jle 0x43b46d
push ebx
lea ecx, [esi + 0x324]
mov byte [ebp + 0xb], 0
call fcn.004357da
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x43b4cd
lea ecx, [esi + 0x324]
inc ebx
call fcn.00434de3
cmp ebx, eax
jl 0x43b436
sub edi, 0x100
je 0x43b533
sub edi, 4
je 0x43b4d1
dec edi
sub edi, 1
jne 0x43b528
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0048bbe5
pop ecx
mov ecx, dword [esi + 0x1e8]
lea edx, [ebp + 8]
push 0x80000012
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x43d20a
call dword [eax + pe_nt_image_headers32]
mov esi, eax
test esi, esi
je 0x43b528
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x43b52a
cmp dword [esi + 0x1ec], 0
je 0x43b528
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x1fc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x200]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0043886a
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x1ec]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x43b528
mov ecx, dword [esi + 0x1ec]
test ecx, ecx
je 0x43b58c
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x43b58c
mov ecx, dword [esi + 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x43b58c
mov ecx, dword [esi + 0x1ec]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00484fcd
pop ecx
pop ecx
test eax, eax
je 0x43b58c
mov ecx, dword [esi + 0x1ec]
call fcn.0046ae71
test al, al
jne 0x43b528
mov ecx, dword [esi + 0x1ec]
test ecx, ecx
je 0x43b5d4
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x43b5d4
mov ecx, dword [esi + 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x43b5d4
mov ecx, dword [esi + 0x1ec]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00484fcd
pop ecx
pop ecx
test eax, eax
jne 0x43b528
cmp byte [esi + 0x278], 0
je 0x43b528
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0043c9e6
jmp 0x43b4cd