joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454778
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45478f
add esp, 0xfffffff0
call fcn.00403ac8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041996c
mov eax, dword [0x46e8b4]
cmp word [eax + 2], 0
jne 0x4547b7
mov eax, dword [0x46e8b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455e68
mov eax, dword [0x46e964]
cmp word [eax + 2], 0
jne 0x4547d1
mov eax, dword [0x46e964]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456060
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411c4c]
call fcn.00403774
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411c4c]
call fcn.00403774
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41bee0]
call fcn.0042360c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454958
mov eax, dword [0x46e7d4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004239dc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456600
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46e7d4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c7c8
test eax, eax
je 0x4548c6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ac8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c7f0
test eax, eax
je 0x4548da
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404764
mov eax, dword [0x46e6b4]
cmp byte [eax], 0
jne 0x45490e
mov eax, ebx
call fcn.00454a80
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004567dc
mov eax, ebx
call fcn.004571a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45494e
call fcn.00403b20
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454d00
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fbb0]
cmp dword [eax + 0x30], 0
je 0x454daa
cmp dword [ebx + 0x94], 0
jne 0x454da4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454c90
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454da4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454d6a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454da4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413fb4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454d79
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45590c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x455941
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004045e4
jmp 0x45594e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404548
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4569b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4569f9
mov eax, esi
call fcn.0043c9e4
test al, al
je 0x4569f9
mov eax, dword [ebx + 0x84]
call fcn.0043c6e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4569f9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c6e0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45a0c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45a0ee
mov eax, ebx
call fcn.0045ab74
cmp dword [ebx + 0x40], 0
je 0x45a0e7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45a15f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45a151
cmp dword [ebx + 8], 0
je 0x45a110
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45a122
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45a151
cmp dword [ebx + 8], 0
je 0x45a103
cmp eax, 3
je 0x45a135
dec eax
jne 0x45a103
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45a103
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45a103
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45a17d
cmp dword [ebx + 0x14], 0xcc
je 0x45a17d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045a188
pop ebx
ret
Function at 0x412d40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
jmp 0x412d5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412d61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d50
mov eax, 1
add ebx, ebx
jne 0x412d73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412d68
jne 0x412d84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412d68
xor ecx, ecx
sub eax, 3
jb 0x412d98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e0a
mov ebp, eax
add ebx, ebx
jne 0x412da3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412db0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412dd4
inc ecx
add ebx, ebx
jne 0x412dc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412db5
jne 0x412dd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412df4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412de5
jmp 0x412d56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412df4
add edi, ecx
jmp 0x412d56
pop esi
mov edi, esi
mov ecx, 0x331
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e12
cmp byte [edi], 0
jne 0x412e12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x412e17
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412e86
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12198]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e44
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1219c]
or eax, eax
je 0x412e80
mov dword [ebx], eax
add ebx, 4
jmp 0x412e61
call dword [esi + 0x121ac]
mov ebp, dword [esi + 0x121a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412eba
sub esp, 0xffffff80
jmp 0x4082e8
Function at 0x416888
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x424468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408c75
mov dword [ebp - 0x14], eax
cmp dword [0x440e3c], esi
jne 0x41697b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x416908
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416a5b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416a5b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416a5b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x440e3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x440e40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x440e44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x440e4c], eax
test eax, eax
je 0x416978
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x440e48], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4169a0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416993
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4169b5
push 4
pop eax
jmp 0x416a5d
cmp dword [ebp - 0x14], esi
je 0x4169b5
push dword [0x440e3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41699a
mov eax, dword [0x440e48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416a13
cmp dword [0x440e4c], edi
je 0x416a13
push eax
call ebx
push dword [0x440e4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416a13
test eax, eax
je 0x416a13
call ecx
test eax, eax
je 0x416a08
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x416a08
test byte [ebp - 8], 1
jne 0x416a13
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416a43
mov eax, dword [0x440e40]
cmp eax, edi
je 0x416a40
push eax
call ebx
test eax, eax
je 0x416a40
call eax
mov esi, eax
test esi, esi
je 0x416a40
mov eax, dword [0x440e44]
cmp eax, edi
je 0x416a40
push eax
call ebx
test eax, eax
je 0x416a40
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x440e3c]
call ebx
test eax, eax
je 0x416a5b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416a5d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406e3a
mov esp, ebp
pop ebp
ret
Function at 0x4011f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x526a88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x572978]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00405c85
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004085a3
mov ebx, eax
test ebx, ebx
je 0x4012d1
call fcn.00408f2d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401254
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x65
mov dword [esp + 0x2c], 0
call fcn.00409e93
test eax, eax
je 0x401287
push 0x65
push eax
lea ecx, [esp + 0x1c]
call fcn.004020d0
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
je 0x4012ad
mov ecx, dword [ebx + 4]
mov ebp, dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
push ecx
call ebp
mov edx, dword [ebx + 4]
push esi
push 0x10
push 0
push edx
call ebp
lea eax, [esi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4012d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov ebx, 1
push ebx
push 0x80
push ecx
call esi
mov eax, dword [edi + 0x74]
mov edx, dword [edi + 0x20]
push eax
push 0
push 0x80
push edx
call esi
push 0x552990
lea ecx, [esp + 0x20]
call fcn.00401d10
push str.Aisino_Printer_InstallAisino_Printer_Install_x64_.exe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebx
call fcn.00401d10
mov byte [esp + 0x28], 2
call fcn.00401640
cmp eax, 2
je 0x401334
cmp eax, ebx
mov eax, dword [esp + 0x1c]
jne 0x401338
mov eax, dword [esp + 0x18]
push ebx
push 0
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401a80
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x24]
call fcn.004014d0
mov eax, dword [eax]
push eax
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40138e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
call eax
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4013bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4013e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x401640
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x572978]
xor eax, esp
mov dword [esp + 0x140], eax
xor eax, eax
push esi
push 0x11c
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push eax
call fcn.005017b0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0x11c
call esi
test eax, eax
jne 0x4016d2
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], 0x114
call esi
test eax, eax
jne 0x4016d2
xor eax, eax
pop esi
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.005006a9
add esp, 0x144
ret
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4016f6
lea ecx, [esp + 4]
push ecx
call eax
jmp 0x401701
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x38]
sub eax, 2
jne 0x4016ba
mov eax, dword [esp + 4]
cmp ax, 6
jne 0x40172f
mov eax, 2
pop esi
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.005006a9
add esp, 0x144
ret
xor ecx, ecx
cmp ax, 9
sete cl
pop esi
mov eax, ecx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.005006a9
add esp, 0x144
ret

Function at 0x4018c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00406219

Function at 0x401df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401e09
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401e44
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401e40
lea ebx, [ebx]
cmp esi, eax
jae 0x401e44
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401e30
cmp esi, eax
jb 0x401e4a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x404bcf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x404c17
call fcn.004083b4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x404c17
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x404c5a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x404c43
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x404c43
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x404c57
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x406182
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.004083b4
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 0x4061bb
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.00405dce
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 0x4100c3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41010a
call fcn.004083b4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41010a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410126
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040fc3b
mov esi, eax
test edi, edi
je 0x410124
test ebx, ebx
je 0x410124
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41092d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x524138
call fcn.00500eda
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x410952
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x410998
lea ecx, [ebp - 0x10]
call fcn.00402230
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00442d7c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021f0
mov eax, esi
call fcn.00500fb2
ret 8
Function at 0x416b31
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x572978]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x416b6a
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x416b91
cmp dword [0x576158], 0
jne 0x416b91
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x416b84
push 0x12
call esi
test bx, ax
je 0x416b88
mov eax, edi
jmp 0x416c00
push edi
call fcn.0050423b
pop ecx
jmp 0x416c00
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.005017b0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x416bba
call fcn.00409d7b
call fcn.004069a9
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005006a9
leave
ret 4
Function at 0x426cba
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 0x426cd4
call fcn.00409d7b
call fcn.004083b4
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x426cf4
xor eax, eax
jmp 0x426e0f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x426ced
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x426ced
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.004022b4
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x426ccf
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 0x426d51
mov ecx, edi
call fcn.0041f7de
jmp 0x426d56
call fcn.0041f6c8
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x426d68
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x426d83
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x426dfb
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x426dd2
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 0x426dc5
test eax, eax
jbe 0x426dc5
push eax
mov ecx, 0x56ef34
call fcn.004cf4a4
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 0x426d9c
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 0x426dfb
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.004022e3
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