joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ffdd
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x128
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.0040de80
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [edi + 4]
cmp eax, dword [0x429a40]
je 0x4200e4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42004d
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x420054
cmp ebx, ebx
jne 0x420054
xor eax, eax
jmp 0x4200e7
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x420061
mov byte [esi + 0x20], bl
jmp 0x420075
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c759
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c759
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c759
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi]
or ecx, dword [esi + 4]
jne 0x4200d0
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x4200e4
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x420ce9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4330f8]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, 0x100
cmp esi, eax
ja 0x420d38
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x420d38
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x420d44
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0040ce65
leave
ret 8
Function at 0x421951
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4330f8]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x42199e
push dword [ebp + 8]
call fcn.00422e23
mov esi, eax
test esi, esi
je 0x4219c6
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
jmp 0x4219c6
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x4288f8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0040ce65
leave
ret 0xc

Function at 0x422202
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 0xc], 0x800
mov eax, dword [0x4330f8]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x422260
push 0x428244
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0040d7a7
add esp, 0x10
cmp eax, 0xffffffff
je 0x422274
cmp eax, esi
jae 0x422274
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x422276
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42222b
jmp 0x422277
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0040ce65
leave
ret
Function at 0x422297
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4330f8]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x422339
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x42243b
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x4223e9
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocStringLen
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42243c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4223de
cmp dword [ebp - 0x24], 1
jne 0x4223de
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x428254
push eax
call fcn.0040d7fe
add esp, 0xc
cmp eax, 1
jne 0x4223de
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42243c
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x42243c
lea ecx, [ebp - 0x18]
push ecx
push 0x422281
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x42243c
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x422462
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.00422202
cmp eax, ebx
pop ecx
pop ecx
jne 0x422464
inc edi
cmp edi, esi
jl 0x42244b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0040ce65
leave
ret 4
Function at 0x422473
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x432110
je 0x42252f
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x422517
mov esi, dword [ebx + 4]
jmp 0x422511
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x422501
cmp dword [ebp - 0xc], 4
jne 0x422501
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x4224f9
or dword [eax + 0x9c], ecx
jmp 0x422501
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x4224c5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x4224a8
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x42291c
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x426466
call fcn.0040d834
sub esp, 0x11c
mov eax, dword [0x4330f8]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x422a15
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x4229e9
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.004031a0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0042291c
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401040
test bl, bl
jne 0x4229e9
or dword [ebp - 4], 0xffffffff
jmp 0x42295a
cmp esi, 0x103
je 0x4229f9
cmp esi, 0x3f2
jne 0x422a09
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0040ce65
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x423c4b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x423c80
cmp edi, dword [esi + 0xc]
jge 0x423c80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x423c80
cmp edi, dword [eax + 8]
jge 0x423c80
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x423c82
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x423d86
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x423dba
jmp fcn.004188ef
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x423e2b
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x423f24
cmp eax, dword [edi + 0xc]
jge 0x423f24
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x423e7c
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x423f0d
cmp dword [ebp + 0xc], ebx
je 0x423f0d
jmp 0x423ea6
push 0x10
call fcn.00423b17
cmp eax, ebx
je 0x423e92
mov ecx, eax
call fcn.00423d7d
mov esi, eax
jmp 0x423e94
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x423ebd
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x423ecd
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x423edf
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004188ef
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0040de80
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x423f1f
cmp ecx, dword [esi + 8]
jge 0x423f1f
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x423f25
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x423fe4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x424012
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x424030
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00423f4e
jmp 0x424030
mov eax, dword [esi + 0x14]
test eax, eax
je 0x424030
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00423f4e
test edi, edi
mov eax, edi
jne 0x42401a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x435cf4]
test ecx, ecx
je 0x4240e3
jmp 0x423fe3
ret 8

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret

Function at 0x104953c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1049546
pushal
call 0x104954c
pop ebp
sub ebp, 0x10
sub ebp, 0xc4953c
jmp 0x1049562
mov eax, 0xc4953c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5be
mov edx, 0x386a6f8f
xor byte [eax], dl
inc eax
dec ecx
jne 0x1049579
jmp 0x104958c
add al, 0x42
add al, 6
mov bl, 0x8f
invalid
Function at 0x43fae0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
push 0xcc0020
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0x866494
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040d490
add esp, 8
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x446040
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
je 0x446053
mov dword [ebp - 4], 2
jmp 0x44605a
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
movzx ecx, byte [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
movzx edx, byte [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_keybd_event]
mov esp, ebp
pop ebp
ret

Function at 0x457250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov eax, dword [ebp + 0xc]
push eax
call fcn.00457220
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00457220
add esp, 4
add esi, eax
mov dword [ebp - 4], esi
push 0x28
push 0
lea edx, [ebp - 0x30]
push edx
call fcn.0059d510
add esp, 0xc
mov dword [ebp - 0x30], 0x28
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
shl eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0x10]
mov word [ebp - 0x24], dx
mov eax, dword [ebp + 0xc]
mov cx, word [eax + 0x12]
mov word [ebp - 0x22], cx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
push 0
lea eax, [ebp - 8]
push eax
push 0x28
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x457340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.004572e0
add esp, 0x10
lea ecx, [ebp - 0x48]
push ecx
call fcn.00457220
add esp, 4
mov esi, eax
lea edx, [ebp - 0x60]
push edx
call fcn.00457220
add esp, 4
add esi, eax
mov dword [ebp - 8], esi
movzx eax, word [ebp - 0x36]
cmp eax, 8
jl 0x457390
mov dword [ebp - 4], 0
jmp 0x4573a5
movzx ecx, word [ebp - 0x36]
movzx edx, word [ebp - 0x38]
imul ecx, edx
mov eax, 1
shl eax, cl
mov dword [ebp - 4], eax
mov cl, byte [ebp - 0x44]
mov byte [ebp - 0x1c], cl
mov dl, byte [ebp - 0x40]
mov byte [ebp - 0x1b], dl
movzx eax, byte [ebp - 4]
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], 0
mov cx, word [ebp - 0x38]
mov word [ebp - 0x18], cx
mov dx, word [ebp - 0x36]
mov word [ebp - 0x16], dx
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
push 0
lea edx, [ebp - 0xc]
push edx
push 0x10
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xc]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x457410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
push 0x18
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [ebp - 0x2c]
push edx
call fcn.00457220
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004a67c0
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_GetBitmapBits]
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 4], ecx
jmp 0x45746a
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jl 0x4574bd
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
imul edx, dword [ebp - 0x20]
add edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x20]
and ecx, 3
je 0x4574bb
mov dword [ebp - 0x14], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, 4
sub eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x457461
mov eax, dword [ebp - 8]
push eax
call fcn.004a6790
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x45ed00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
call fcn.004a67c0
add esp, 4
mov dword [ebp - 8], eax
push 0
push 0
push 0x31
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebp - 8]
push eax
call fcn.004a6790
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x46b8a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xffffffffffffffff
push 4
call fcn.00493cf0
add esp, 8
push eax
call fcn.0048e6f0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
je 0x46b920
cmp dword [ebp - 4], 8
je 0x46b920
cmp dword [ebp - 4], 0x400
je 0x46b8d6
jmp 0x46b968
push 5
call fcn.004941e0
add esp, 4
push eax
push 4
call fcn.00493db0
add esp, 4
push eax
push 3
call fcn.004941e0
add esp, 4
push eax
push 0
push 2
call fcn.00493db0
add esp, 4
push eax
push 1
call fcn.004941e0
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
call fcn.00495040
add esp, 4
jmp 0x46b968
push 5
call fcn.004941e0
add esp, 4
push eax
push 4
call fcn.004941e0
add esp, 4
push eax
push 3
call fcn.004941e0
add esp, 4
push eax
push 0
push 2
call fcn.00493db0
add esp, 4
push eax
push 1
call fcn.004941e0
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
call fcn.00495040
add esp, 4
mov esp, ebp
pop ebp
ret