joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42efdf
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x2b8]
cmovne ecx, edx
push ecx
push 0x2b4
push eax
push 0x90
push 0x4a6794
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480e8b
leave
ret

Function at 0x42fd8e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
shr eax, 0xf
and al, 1
movzx ecx, word [edx + 0xc]
mov edx, ecx
cmp edx, 8
je 0x42fdd3
cmp edx, 0x52
je 0x42fdc2
cmp ecx, 0x76
jne 0x42fdcf
mov ecx, esi
call fcn.0042f675
jmp 0x42fdda
test al, al
je 0x42fdcf
mov ecx, esi
call fcn.00430d06
jmp 0x42fdda
xor al, al
jmp 0x42fddc
mov ecx, esi
call fcn.0043030c
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x430ffa
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push 4
pop eax
test esi, esi
lea ebx, [esi - 0x344]
cmove ebx, eax
push eax
mov dword [ebp - 0x14], ebx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp - 8], 0
mov edi, eax
and dword [ebp - 0xc], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10], edi
push eax
push dword [ebx]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431135
lea eax, [esi + 0x1c]
cmp dword [ebp - 4], 0
je 0x431099
mov ebx, dword [ebp - 4]
lea edi, [esi + 0x1c]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x43108d
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 8]
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x431089
xor ebx, ebx
test ebx, ebx
jne 0x431063
mov edi, dword [ebp - 0x10]
lea eax, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x431122
test eax, eax
je 0x431135
cmp dword [esi + 0x20], 0x10
jne 0x4310d5
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebx]
jne 0x4310d5
mov eax, dword [esi + 0x24]
push 1
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
lea ecx, [esi + 0x1c]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x4310f7
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 0x20]
cmp eax, 0x12
je 0x431135
sub eax, 0xf
je 0x431122
sub eax, 0x91
je 0x431122
sub eax, 0x78
je 0x431122
sub eax, 0xe8
je 0x431122
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [esi + 0x1c]
jne 0x431057
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x20], 0x12
jne 0x431154
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0xc], 0
pop edi
pop esi
setne al
pop ebx
leave
ret
Function at 0x4311b4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
push 4
pop eax
test edi, edi
mov dword [ebp - 0x18], edi
lea ebx, [edi - 0x37c]
cmove ebx, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43125c
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43125b
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x431250
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x431250
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x431250
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0042e569
cmp dword [ebp + 8], 0
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov esi, eax
lea eax, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
lea ecx, [ecx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x431244
push 1
push eax
call fcn.0042f1a5
jmp 0x43125b
push 0x50
push eax
push dword [ebx]
call fcn.00430fd0
jmp 0x43125b
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00480e8b
leave
ret 4

Function at 0x434c1d
Capabilities:
Identify system language via api

Disassembly:
push 0x24
mov eax, 0x4a2bef
call fcn.004810fe
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
cmp si, cx
jne 0x434cf4
mov eax, ecx
xor ebx, ebx
shr cx, 0xa
and eax, 0x3ff
movzx esi, cx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
push ecx
push eax
call fcn.00434916
lea eax, [ebp - 0x30]
push eax
call fcn.004349e1
add esp, 0xc
mov edi, ebx
mov byte [ebp - 4], 1
mov ebx, esi
xor eax, eax
test edi, edi
cmove eax, ebx
cmp eax, dword [ebp - 0x14]
jae 0x434cdd
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 4], 0
je 0x434cdd
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402c05
push dword [esi]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00403096
push str..txt
lea ecx, [ebp - 0x24]
call fcn.00403096
push dword [ebp - 0x24]
push 0x4d2274
call fcn.00434a1e
pop ecx
pop ecx
test al, al
jne 0x434cfa
push dword [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004810b4
pop ecx
inc edi
cmp edi, 2
jb 0x434c7e
push dword [ebp - 0x30]
call fcn.004810b4
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00401bd8
call fcn.004810c7
ret
push dword [esi]
mov ecx, 0x4d2268
call fcn.00402e0c
push dword [ebp - 0x24]
call fcn.004810b4
push dword [ebp - 0x30]
call fcn.004810b4
pop ecx
jmp 0x434ceb
Function at 0x434f3b
Capabilities:
Get file system object information

Disassembly:
push 0x324
mov eax, 0x4a2c6f
call fcn.00481132
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x318]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2f4], eax
call fcn.00402cda
and dword [ebp - 4], 0
cmp byte [edi], 0
je 0x434fc3
push dword [edi + 0xc]
lea eax, [ebp - 0x330]
push dword [edi + 8]
push eax
call fcn.004347f1
push eax
lea eax, [ebp - 0x324]
mov byte [ebp - 4], 1
push 0xdb0
push eax
call fcn.004347b5
add esp, 0x18
push eax
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 2
call fcn.00402da5
push dword [ebp - 0x324]
call fcn.004810b4
push dword [ebp - 0x330]
mov byte [ebp - 4], 0
call fcn.004810b4
pop ecx
pop ecx
lea ecx, [edi + 0x18]
call fcn.00403957
mov esi, eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x30c]
call fcn.00402b40
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x300]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.00402ca3
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00434eda
lea eax, [ebp - 0x300]
mov ecx, ebx
push eax
call fcn.00434eda
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00402c05
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 5
call fcn.00403126
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00403058
lea ecx, [ebp - 0x2f0]
call fcn.00403126
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00403058
lea ecx, [ebp - 0x2f0]
call fcn.00403126
cmp byte [edi + 1], 0
je 0x4350be
lea eax, [ebp - 0x2f0]
push 0x3f4
push eax
call fcn.004348e0
pop ecx
pop ecx
push 0x4a9670
lea ecx, [ebp - 0x2f0]
call fcn.00403096
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004094c0
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00403096
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call esi
push dword [ebp - 0x2f0]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x110
push 0x2b4
lea eax, [ebp - 0x2e4]
push eax
push 0x80
push dword [edi + 0x18]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x43511b
push dword [ebp - 0x2f4]
push dword [ebx + 4]
call esi
push 0
push dword [ebp - 0x2e4]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x2f0]
call fcn.004810b4
push dword [ebp - 0x300]
call fcn.004810b4
push dword [ebp - 0x30c]
call fcn.004810b4
push dword [ebp - 0x318]
call fcn.004810b4
add esp, 0x10
call fcn.004810dc
ret 0xc
Function at 0x435262
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x4a2d80
call fcn.004810fe
mov edi, ecx
mov dword [ebp - 0x14], edi
xor esi, esi
mov dword [edi + 4], esi
lea ecx, [edi + 8]
mov dword [ebp - 4], esi
mov dword [edi], vtable.CProgressDialog.0
call fcn.00402cda
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 1
call fcn.00402cda
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 2
call fcn.00402cda
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.00402cda
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 4
call fcn.00402cda
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 5
call fcn.00402cda
lea ecx, [edi + 0x54]
mov byte [ebp - 4], 6
call fcn.00402cda
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 7
call fcn.00402cda
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 8
call fcn.00402cda
lea ecx, [edi + 0x84]
mov byte [ebp - 4], 9
mov dword [edi + 0x80], esi
call fcn.00402cda
mov dword [edi + 0x90], esi
lea ebx, [edi + 0xbc]
mov dword [edi + 0x98], 1
mov dword [edi + 0x9c], esi
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], esi
mov dword [ebx], esi
lea ecx, [edi + 0x108]
mov byte [ebp - 4], 0xb
call fcn.00402cda
mov dword [edi + 0x13c], esi
lea esi, [edi + 0x140]
and dword [esi], 0
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 0xe
call fcn.004354b1
and dword [edi + 0x208], 0
lea ecx, [edi + 0x20c]
mov byte [ebp - 4], 0xf
mov byte [edi + 0x200], 1
call fcn.00402cda
lea ecx, [edi + 0x218]
mov byte [ebp - 4], 0x10
call fcn.00402cda
lea ecx, [edi + 0x228]
mov byte [ebp - 4], 0x11
call fcn.00438064
mov byte [ebp - 4], 0x12
or dword [edi + 0x204], 0xffffffff
xor eax, eax
push eax
push esi
mov word [edi + 0x664], 1
mov byte [edi + 0x2c], al
mov dword [edi + 0xb8], eax
mov word [edi + 0x202], 1
mov word [edi + 0x128], ax
mov word [edi + 0x137], ax
mov dword [edi + 0x12c], eax
mov dword [edi + 0x130], eax
mov word [edi + 0x134], ax
mov byte [edi + 0x136], al
mov byte [edi + 0x201], al
call fcn.00401b42
pop ecx
pop ecx
test eax, eax
jne 0x435447
xor esi, esi
lea eax, [edi + 0x13c]
push esi
push eax
call fcn.00401b42
pop ecx
pop ecx
test eax, eax
jne 0x435447
push ebx
push 0x4ab054
push 1
push esi
push 0x4ab064
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebx]
test ecx, ecx
je 0x435427
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0xffffffffffffffff
push eax
mov dword [edi + 0x224], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
call fcn.004810c7
ret
push 0x4c3ee8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x145ecb
push eax
call fcn.0048428f
int3
Function at 0x43615e
Capabilities:
Hide graphical window

Disassembly:
push 0x44
mov eax, 0x4a2eb1
call fcn.004810fe
mov ebx, ecx
push 0
call fcn.00436e8e
push 1
mov ecx, ebx
call fcn.004374c9
lea eax, [ebp - 0x20]
push 0x198
push eax
call fcn.00434b58
pop ecx
pop ecx
push dword [eax]
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x20]
call fcn.004810b4
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1be
push dword [ebx + 4]
call edi
push 0
push eax
call esi
lea ecx, [ebp - 0x50]
call fcn.00435487
and dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00435487
lea esi, [ebx + 0x1e4]
mov dword [ebp - 4], 1
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x1ac]
lea edi, [ebx + 0x1b4]
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], eax
call fcn.00435700
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.00435700
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x40], 0
je 0x436291
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x203], 1
jne 0x43627b
lea eax, [ebp - 0x14]
push eax
call fcn.00426808
pop ecx
push dword [eax]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00402e85
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00426ed9
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [ebp - 0x10]
jmp 0x4362e1
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4362e5
mov byte [ebx + 0x203], 1
cmp dword [ebp - 0x28], esi
je 0x4362e1
cmp dword [ebp - 0x34], esi
jne 0x4362d0
lea eax, [ebp - 0x14]
push eax
call fcn.00426808
pop ecx
push dword [eax]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00402e85
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00426ed9
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
test esi, esi
je 0x4362fe
cmp byte [ebx + 0x136], 0
jne 0x4362fe
mov ecx, ebx
mov byte [ebx + 0x135], 1
call fcn.004373a7
jmp 0x436309
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.0043569c
mov al, 1
call fcn.004810c7
ret
Function at 0x43aae0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x43ee43
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x30
mov eax, 0x4a352c
call fcn.004810fe
mov edi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00402c05
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402c05
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0043bf88
mov ecx, dword [edi + 0x98]
mov dword [edi + 0x120], eax
mov ecx, dword [ecx]
mov esi, dword [ecx + eax*4]
mov dword [edi + 0x7c], eax
test byte [esi], 1
je 0x43eea0
lea eax, [edi + 0x138]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402da5
jmp 0x43eec8
cmp byte [edi + 0x11c], 0
jne 0x43eec8
lea eax, [ebp - 0x18]
push eax
call fcn.0043d6e1
pop ecx
test eax, eax
js 0x43eec8
cmp eax, dword [ebp - 0x14]
jae 0x43eec8
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x14], eax
mov word [ecx + eax*2], dx
mov ecx, edi
call fcn.0043ddb2
test al, al
je 0x43eee2
push str..exe
lea ecx, [ebp - 0x18]
call fcn.00403096
jmp 0x43ef1d
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402da5
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.00401c4c
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.0041fafe
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00403058
push dword [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004810b4
pop ecx
lea esi, [edi + 0x110]
push 0x5c
mov ecx, esi
call fcn.00403928
push esi
inc eax
lea ecx, [ebp - 0x24]
push eax
call fcn.00402b40
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.00403058
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43efa6
test al, 0x10
jne 0x43efa6
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402c05
push 0x4aa6d8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.004030e5
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.0043ee43
push dword [ebp - 0x3c]
call fcn.004810b4
push dword [ebp - 0x24]
call fcn.004810b4
push dword [ebp - 0x30]
call fcn.004810b4
push dword [ebp - 0x18]
call fcn.004810b4
add esp, 0x10
jmp 0x43efcd
push dword [ebp - 0x18]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x24]
call fcn.004810b4
push dword [ebp - 0x30]
call fcn.004810b4
push dword [ebp - 0x18]
call fcn.004810b4
add esp, 0xc
call fcn.004810c7
ret 4
Function at 0x44746d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.0044716a
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x447491
push 2
pop eax
jmp 0x4474f5
push ebx
push edi
call fcn.0044716a
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x4474aa
push 0xd
pop esi
jmp 0x4474eb
push edi
call fcn.0044716a
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
test ecx, ecx
je 0x4474a5
mov eax, dword [ebp + 0x14]
push 8
pop edx
cmp ecx, dword [eax]
mov dword [eax], ecx
cmova esi, edx
test esi, esi
jne 0x4474eb
cmp dword [ebp + 0x10], esi
jne 0x4474d7
push 0x57
jmp 0x4474a7
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [ebp + 0x10]
call fcn.00482f10
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x4474f9
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x94
mov eax, 0x4a4009
call fcn.00481132
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
call fcn.00447179
push eax
lea ecx, [ebp - 0x94]
call fcn.00444c5a
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], edi
call fcn.00444e41
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.0040d608
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44756d
push 2
pop esi
jmp 0x4475d0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x447580
push 0xd
pop esi
jmp 0x4475c9
mov eax, dword [ebp - 0x9c]
xor esi, esi
push 8
pop ecx
cmp edi, dword [eax]
mov dword [eax], edi
cmova esi, ecx
test esi, esi
jne 0x4475c9
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x4475a4
push 0x57
jmp 0x44757d
and dword [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x98], edi
push 0xc
pop eax
cmovne esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x94]
call fcn.00444d37
mov eax, esi
call fcn.004810dc
ret

Function at 0x4476f5
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 0x447718
or esi, 1
push 1
call edi
test ax, ax
jns 0x447724
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x447730
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x44773c
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x448e14
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 + 0xec]
call fcn.004452b3
mov edi, dword [ebp + 8]
test eax, eax
jle 0x448e6a
push ebx
lea ecx, [esi + 0xec]
mov byte [ebp + 0xb], 0
call fcn.0040d5f9
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 0x448ec5
lea ecx, [esi + 0xec]
inc ebx
call fcn.004452b3
cmp ebx, eax
jl 0x448e33
sub edi, 0x100
je 0x448f2c
sub edi, 4
je 0x448ec9
dec edi
sub edi, 1
jne 0x448f23
push dword [ebp + 0xc]
and dword [ebp + 8], edi
call fcn.0048b010
pop ecx
mov ecx, dword [esi + 0x6c]
lea edx, [ebp + 8]
push reloc.OLEAUT32.dll_VariantCopyInd
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x44a29c
call dword [eax + 0x100]
mov esi, eax
test esi, esi
je 0x448f23
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf4]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x448f25
cmp dword [esi + 0x70], 0
je 0x448f23
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x84]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.004476f5
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x70]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x10c]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x448f23
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x448f79
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x448f79
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
call dword [eax + 0xd8]
test al, al
je 0x448f79
mov ecx, dword [esi + 0x70]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00484013
pop ecx
pop ecx
test eax, eax
je 0x448f79
mov ecx, dword [esi + 0x70]
call fcn.0045b3ae
test al, al
jne 0x448f23
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00449d60
jmp 0x448f25
Function at 0x44a6c4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x44a773
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x44a777
cmp dword [ebp - 0x1c], 0x10
jne 0x44a742
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x44a742
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call fcn.00449fc9
pop ecx
test al, al
jne 0x44a764
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x44a777
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44a70f
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x44a795
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x44a79a
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 0x44a7cc
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