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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4084ad
mov edi, dword [esi + 0xc]
jmp 0x4084ed
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4084c6
call fcn.004f655c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4084db
call fcn.004f655c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4084ed
call fcn.004f655c
call fcn.00434678
cmp dword [eax + 0x3c], 0
je 0x408502
push edi
mov ecx, ebx
call fcn.004491d9
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0044b4c8
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x408520
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x40852c
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40a21d
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x5235cd
call fcn.005055a4
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 0xc]
call fcn.00404e97
test eax, eax
je 0x40a3ec
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
lea ecx, [esi + 4]
xor edi, edi
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
call fcn.00436c1e
test eax, eax
je 0x40a263
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.004d1136
mov esi, 0x104
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.0048c49a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004f47fa
lea ecx, [ebp - 0x14]
call fcn.004d1136
xor ebx, ebx
inc ebx
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0048c49a
push eax
push edi
push 0x540f0c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004f47fa
push edi
push 0x4000100
push 2
push edi
push edi
push 0xc0000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
je 0x40a3d6
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00410555
push edi
push 0x1000
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.004adf65
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [eax + 0x20], ebx
mov eax, dword [ecx]
push edx
mov byte [ebp - 4], 4
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.0048464a
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x88]
mov dword [eax + 0x20], edi
mov byte [ebp - 4], 3
call fcn.0046b16e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0049cd8a
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call fcn.00437fbd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [eax], esi
call fcn.00473247
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00473247
mov eax, ebx
jmp 0x40a3ee
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00473247
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00473247
xor eax, eax
call fcn.00505649
ret 8
Function at 0x40be9b
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x524c6d
call fcn.005055da
mov esi, ecx
lea edi, [esi + 0x14]
push edi
lea ecx, [ebp - 0x4d0]
call fcn.00432fb4
xor ebx, ebx
push ebx
push 0x55b088
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 4], ebx
call fcn.00450840
cmp eax, 0xffffffff
jne 0x40bf7e
push ebx
push 0x534be4
lea ecx, [ebp - 0x4d0]
call fcn.00450840
cmp eax, 0xffffffff
jne 0x40bf7e
push ebx
push 0x534be0
lea ecx, [ebp - 0x4d0]
call fcn.00450840
cmp eax, 0xffffffff
jne 0x40bf7e
push edi
lea ecx, [ebp - 0x4d4]
call fcn.00432fb4
mov edi, dword [ebp - 0x4d4]
push ebx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ebx
push edi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x40bf61
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.00473247
mov ecx, dword [ebp - 0x4d0]
add ecx, 0xfffffff0
call fcn.00473247
mov eax, esi
call fcn.0050565d
ret
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00445429
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00473247
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push ebx
push dword [ebp - 0x4d0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x40bfa8
mov esi, dword [ebp - 0x4cc]
jmp 0x40bf4b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov esi, eax
jmp 0x40bf4b
Function at 0x40e6a1
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x57df70]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x52b5b4
call fcn.00505571
xor eax, eax
mov dword [ebp - 4], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push 0x206
push eax
lea eax, [ebp + 2]
xor ecx, ecx
push eax
mov word [ebp], cx
call fcn.005035e0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
lea ecx, [ebp]
call fcn.004fbdc2
lea eax, [ebp - 0x10]
push 0x55b088
push eax
mov esi, edi
mov dword [ebp - 0x18], ebx
call fcn.0040bb55
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x214]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
call fcn.004bf4ff
add esp, 0x10
mov byte [ebp - 4], 3
call fcn.00484609
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0044b109
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0044b109
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x214]
call fcn.0044b109
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004cf21e
add ebp, 0x20c
leave
ret

Function at 0x40e8ec
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x57df70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x40e921
xor eax, eax
jmp 0x40e974
lea eax, [ebp - 0x210]
push eax
call fcn.00502fac
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x40e952
push 0x55b088
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005076a5
add esp, 0xc
test eax, eax
jne 0x40e91d
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005076a5
add esp, 0xc
test eax, eax
jne 0x40e91d
lea eax, [ebp - 0x210]
push eax
call fcn.004bcc1a
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004cf21e
leave
ret

Function at 0x411a7e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
push ebx
lea ecx, [esi + 0x90]
call fcn.0049c7f3
lea edi, [esi + 0x4d8]
push 5
mov ecx, edi
call fcn.0049c7f3
lea esi, [ebp - 0xc]
call fcn.00471b7b
push ebx
push 0x19
push 0x77
push dword [edi + 0x20]
call dword [eax + 8]
mov eax, dword [edi + 0x20]
push ebx
push ebx
push eax
push 0x4511f0
push ebx
push ebx
call fcn.005033af
add esp, 0x18
lea esi, [ebp - 0xc]
mov dword [edi + 0x74], eax
call fcn.00471b7b
push ebx
push 0x1388
push 0x75
push dword [edi + 0x20]
call dword [eax + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41735d
Capabilities:
Enumerate processes

Disassembly:
push 0x254
mov eax, 0x52be1d
call fcn.005055da
xor ebx, ebx
push 0x228
lea eax, [ebp - 0x23c]
push ebx
push eax
mov dword [ebp - 0x240], ebx
call fcn.005035e0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
je 0x4174a5
lea eax, [ebp - 0x240]
push eax
push esi
mov dword [ebp - 0x240], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41749d
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004fbdc2
mov byte [ebp - 4], 1
lea eax, [ebp - 0x244]
call fcn.00418f80
push str.advancedsystemrepairpro.exe
lea esi, [ebp - 0x244]
call fcn.004a0563
cmp eax, 0xffffffff
je 0x41747c
push dword [ebp - 0x238]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x254], edi
mov byte [ebp - 4], 2
cmp edi, ebx
je 0x41746d
push 0x55b0d4
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x41744e
lea ecx, [ebp - 0x248]
push ecx
push 0x1388
push 1
push ebx
push ebx
push 0x864
push eax
mov dword [ebp - 0x248], ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea esi, [ebp - 0x260]
call fcn.004ee7be
push ebx
push edi
call dword [eax + 8]
cmp eax, ebx
je 0x41746d
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x41747c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x244]
call fcn.0044b109
mov esi, dword [ebp - 0x24c]
lea eax, [ebp - 0x240]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4173c7
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x4174b4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.0050565d
ret
Function at 0x41a5a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
xor ebx, ebx
push ebp
push edi
cmp dword [esi + 0x34], ebx
ja 0x41a5b4
cmp dword [esi + 0x30], 0x40
jbe 0x41a6b8
mov edi, dword [esi + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call ebp
test eax, eax
jne 0x41a6bd
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x41a6bd
mov byte [esi + 0x38], 1
mov eax, dword [edi + 0x3c]
mov edi, dword [esi + 0x34]
xor ecx, ecx
lea edx, [eax + 0xf8]
cmp edi, ecx
jb 0x41a6b8
ja 0x41a5ff
mov ecx, dword [esi + 0x30]
cmp ecx, edx
jbe 0x41a6b8
mov edx, dword [esi + 0x28]
add eax, edx
push 0xf8
push eax
mov dword [esi + 0x24], eax
call ebp
test eax, eax
jne 0x41a6bd
mov eax, dword [esi + 0x24]
cmp dword [eax], 0x4550
jne 0x41a6bd
mov ecx, 0x2000
test word [eax + 0x16], cx
jne 0x41a635
mov byte [esi + 0x44], 1
mov edx, eax
movzx eax, word [edx + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x41a651
mov dword [esi + 0x40], 1
add edx, 0x78
jmp 0x41a668
mov ecx, 0x20b
cmp ax, cx
jne 0x41a66b
mov dword [esi + 0x40], 2
add edx, 0x88
mov dword [esi + 0x20], edx
cmp dword [esi + 0x20], ebx
je 0x41a6bd
mov eax, dword [esi + 0x24]
movzx ecx, word [eax + 6]
mov dword [esi + 0x3c], ecx
test ecx, ecx
je 0x41a6bd
movzx edx, word [eax + 0x14]
mov ebx, dword [esi + 0x34]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, dword [esi + 0x28]
add ecx, edx
lea edi, [ecx + eax + 0x18]
xor ecx, ecx
cmp ebx, ecx
jb 0x41a6b8
ja 0x41a6a6
mov ecx, dword [esi + 0x30]
cmp ecx, edi
jbe 0x41a6b8
pop edi
mov ebx, 1
lea edx, [edx + eax + 0x18]
pop ebp
mov eax, ebx
mov dword [esi + 0x1c], edx
pop ebx
ret
mov ebx, 2
pop edi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x41bb23
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push 0x30
mov eax, 0x529f3e
call fcn.00505571
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
push esi
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x41bc2b
push 0x2c
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
je 0x41bc2b
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push ebx
call esi
test eax, eax
je 0x41bc16
cmp dword [ebp - 0x38], 1
je 0x41bc2b
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41bbc7
push dword [ebp - 0x24]
call edi
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x41bc16
cmp dword [ebp - 0x38], 1
je 0x41bc16
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
ja 0x41bc16
cmp dword [ebp - 0x38], 3
je 0x41bb99
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x41bc16
jmp 0x41bc10
push 0x3e8
call edi
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x41bc16
cmp dword [ebp - 0x38], 1
je 0x41bc16
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
ja 0x41bc16
cmp dword [ebp - 0x38], 1
jne 0x41bbe0
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x18]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044b109
call fcn.00505649
ret
Function at 0x427bfc
Capabilities:
Get token privileges

Disassembly:
push 0x24
mov eax, 0x52a742
call fcn.00505571
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push 0x28
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x427cbc
lea eax, [ebp - 0x30]
push eax
call fcn.004270eb
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
jne 0x427c41
call fcn.00503e58
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
push ecx
sub eax, esi
push eax
push esi
push 3
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x427c88
xor ecx, ecx
cmp dword [esi], edi
jbe 0x427c78
lea eax, [esi + 0xc]
mov dword [eax], 2
inc ecx
add eax, 0xc
cmp ecx, dword [esi]
jb 0x427c6a
push edi
push edi
push dword [ebp - 0x18]
push esi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], edi
je 0x427ca6
push dword [ebp - 0x24]
call fcn.004f6c23
pop ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
push eax
call fcn.004fab2b
call fcn.00505649
ret
Function at 0x435dc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x52a49a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57df70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x5857a8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5857a8
call edx
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], esi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebp
push esi
push 0xfde9
mov dword [esp + 0x38], 1
call ebx
cmp eax, 1
jle 0x435ee8
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
call fcn.004fb100
mov dword [esp + 0x24], 2
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor edi, edi
push edi
push edi
push eax
push ecx
push 0xffffffffffffffff
push ebp
push edi
push 0xfde9
call ebx
cmp eax, 1
jle 0x435ea0
mov edx, dword [esi]
mov byte [edx + eax - 1], 0
mov ebx, dword [esi]
cmp ebx, edi
jne 0x435e88
xor eax, eax
push eax
push ebx
mov ebx, dword [esp + 0x34]
mov ecx, ebx
call fcn.004ec44d
jmp 0x435ea4
push ebx
call fcn.00503c70
add esp, 4
push eax
push ebx
mov ebx, dword [esp + 0x34]
mov ecx, ebx
call fcn.004ec44d
jmp 0x435ea4
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x24], 0
add dword [esi + 8], 0xffffffff
jne 0x435ed2
cmp dword [esi + 4], edi
je 0x435ec5
mov eax, dword [esi]
push edi
push eax
call fcn.005039c5
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], edi
push esi
call fcn.004f6c23
add esp, 4
mov dword [esp + 0x14], edi
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x43ec4e
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x52bc64
call fcn.00505571
mov edi, dword [ebp + 8]
push edi
call fcn.00461ccb
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0048937d
pop ecx
mov byte [ebp - 4], 1
call fcn.00484609
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0044b109
push dword [edi]
mov byte [ebp - 0xd], bl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ec99
mov byte [ebp - 0xd], 1
mov eax, dword [edi]
push ebx
push ebx
push 4
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x43ecba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x43eced
push dword [edi]
call fcn.0042665e
pop ecx
push ebx
call fcn.00503471
pop ecx
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x55c4f8
call fcn.004fbdc2
mov byte [ebp - 4], 2
push edi
mov byte [ebp - 4], bl
call fcn.0041baab
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00505649
ret 4

Function at 0x43efee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00434678
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43f027
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004ec653
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x43f1db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x43f1f5
call fcn.004264de
call fcn.00434678
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x43f215
xor eax, eax
jmp 0x43f330
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x43f20e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43f20e
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aa755
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x43f1f0
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x43f272
mov ecx, edi
call fcn.0044bdbc
jmp 0x43f277
call fcn.004c39a9
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x43f289
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x43f2a4
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x43f31c
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x43f2f3
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x43f2e6
test eax, eax
jbe 0x43f2e6
push eax
mov ecx, 0x57aff4
call fcn.004122d9
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x43f2bd
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x43f31c
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.004f6c23
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44038c
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x20
push ebx
mov ebx, ecx
jne 0x4403dd
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x17
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.00466706
mov ecx, ebx
call fcn.00461025
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x440433
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x4403f8
cmp dword [ebp + 0xc], 0x79
je 0x4403f3
cmp dword [ebp + 0xc], 0x12
jne 0x440433
xor eax, eax
inc eax
jmp 0x440433
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
movzx edi, ax
shr edi, 0xf
push 0x10
and edi, 1
call esi
mov esi, dword [ebp + 0xc]
shr eax, 0xf
and eax, 1
cmp esi, 0x12
je 0x440438
cmp esi, 0x79
je 0x440438
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x5835bc], 0
jne 0x44042f
test byte [ebx + 0x2f4], 2
jne 0x44042f
cmp esi, 0x12
je 0x44045c
cmp esi, 0x79
jne 0x44042f
test edi, edi
jne 0x44042f
test eax, eax
jne 0x44042f
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004b6e92
cmp eax, ebx
jne 0x44047f
test dword [ebp + 0x10], 0x40000000
jne 0x44047f
cmp esi, 0x79
jne 0x44048d
mov ecx, dword [ebp + 8]
jmp 0x440486
cmp esi, 0x79
jne 0x44048d
mov ecx, ebx
call fcn.00433c63
jmp 0x4404a8
cmp dword [ebx + 0x2a0], 0
jge 0x4404a8
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x440431