joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437a60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x437add
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004374c0
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x437a85
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004370c0
cmp dword [ebp - 4], 0
je 0x437ac7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404fc4
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437ae4
lea eax, [ebp - 4]
call fcn.00404b04
ret

Function at 0x43aab0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x475b20], 0
je 0x43abff
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x474504]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43abff
mov eax, dword [0x475b24]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x475b20]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43abce
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x475b20]
call fcn.0041b4e0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43abc6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43abc6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43abc6
mov eax, dword [ebp - 0x14]
call fcn.004437b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43abc6
push ebp
call fcn.0043aa6c
pop ecx
test al, al
jne 0x43abc6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43ab82
mov eax, dword [ebp - 0x14]
call fcn.004422ac
dec eax
jle 0x43abc6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403f80
cmp byte [ebp - 1], 0
je 0x43abc6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43abc6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x475b24]
call fcn.0043a238
inc edi
dec ebx
jne 0x43ab15
mov eax, dword [0x475b24]
cmp dword [eax + 8], 0
jle 0x43abe6
mov eax, dword [0x475b24]
call fcn.0043a2c8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43abff
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043a8d4
pop ecx
test al, al
jne 0x43abff
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e200
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43e24c
mov eax, esi
call fcn.00453bf4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e24c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43e24c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43e38b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43e28c
cmp eax, 0x108
ja 0x43e28c
mov eax, esi
call fcn.00453bf4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e382
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43e38b
jmp 0x43e382
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43e36b
cmp eax, 0x20a
ja 0x43e36b
test byte [esi + 0x50], 0x80
jne 0x43e2be
sub eax, 0x203
je 0x43e2bb
sub eax, 3
je 0x43e2bb
sub eax, 3
jne 0x43e2be
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43e2d2
dec eax
je 0x43e2e7
dec eax
je 0x43e304
dec eax
je 0x43e2e7
jmp 0x43e30b
mov ecx, ebx
mov eax, dword [0x474504]
mov eax, dword [eax]
mov edx, esi
call fcn.0045d4bc
jmp 0x43e382
cmp byte [esi + 0x5d], 1
jne 0x43e2fd
mov eax, esi
mov si, 0xffed
call fcn.00403f80
jmp 0x43e38b
or word [esi + 0x54], 1
jmp 0x43e382
and word [esi + 0x54], 0xfffe
jmp 0x43e382
mov eax, dword [0x475adc]
cmp byte [eax + 0x20], 0
je 0x43e382
mov eax, dword [0x475adc]
cmp dword [eax + 0x1c], 0
je 0x43e382
mov eax, dword [ebx]
mov edx, dword [0x475adc]
cmp eax, dword [edx + 0x1c]
jne 0x43e382
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00453b38
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403f80
jmp 0x43e38b
cmp eax, 0xb00b
jne 0x43e382
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043cb14
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44190c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x441928
cmp dword [esi + 4], 0
je 0x441955
test byte [ebx + 0x55], 1
jne 0x441947
mov eax, ebx
call fcn.004404ac
test eax, eax
jne 0x441947
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x441a65
mov edx, esi
mov eax, ebx
call fcn.00441430
jmp 0x441a65
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x441a5e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004437b4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043e134
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044190c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004437b4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441a65
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4481c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4746ac]
cmp byte [eax + 0xc], 0
je 0x44832d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x448326
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x475b30], 0
jne 0x448214
push 0x448334
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44833c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b30], eax
cmp dword [0x473d0c], 0
jne 0x44830f
push 0x44834c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x473d0c], eax
cmp dword [0x473d0c], 0
je 0x44830f
push 0x448358
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b34], eax
push 0x448368
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b38], eax
push 0x44837c
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b3c], eax
push 0x448394
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b40], eax
push 0x4483ac
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b44], eax
push 0x4483c0
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b48], eax
push 0x4483d8
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b4c], eax
push 0x4483f0
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b50], eax
push 0x44840c
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b54], eax
push 0x448418
mov eax, dword [0x473d0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x475b58], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44832d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44c1e0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404b04
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c22f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404d74
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453aa8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453af8]
test si, 4
je 0x453abc
or bl, 1
test si, 8
je 0x453ac6
or bl, 4
test si, 1
je 0x453ad0
or bl, 8
test si, 2
je 0x453ada
or bl, 0x10
test si, 0x10
je 0x453ae4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453af3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x453afc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453b34]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453b15
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453b24
or bl, 4
test esi, 0x20000000
je 0x453b2f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a1f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a20a
add esp, 0xfffffff0
call fcn.004040b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420fa8
mov eax, dword [0x4742e0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a59c
mov eax, dword [0x4742f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a5a8
mov eax, ebx
call fcn.0045a5b4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419164]
call fcn.00403d48
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419164]
call fcn.00403d48
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419164]
call fcn.00403d48
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419164]
call fcn.00403d48
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419164]
call fcn.00403d48
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4569cc
push eax
push 0
push 0
mov eax, dword [0x474470]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422a78]
call fcn.004242b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422a78]
call fcn.004242b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422a78]
call fcn.004242b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045aa04
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a8cc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a8cc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a8cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a347
call fcn.00404108
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45a6b0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a85b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45a83c
mov dl, 1
mov eax, dword [0x419580]
call fcn.00403d48
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b04
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45a82b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00448520
test al, al
je 0x45a81e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45a86c
lea eax, [ebp - 0x254]
call fcn.00409e58
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45a81e
xor eax, eax
push ebp
push 0x45a817
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45a8a4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45a800
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d74
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45a800
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a81e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a721
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d140
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a862
lea eax, [ebp - 0x260]
call fcn.00404b04
ret

Function at 0x45b1a4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x475b7c]
cmp byte [eax + 0xa5], 0
jne 0x45b215
cmp dword [0x475b94], 0
jne 0x45b1d6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b160
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x475b94], eax
cmp dword [0x475b90], 0
jne 0x45b1f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x475b90], eax
cmp dword [0x475b98], 0
jne 0x45b215
push esp
push 0
push 0
push 0x45b104
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x475b98], eax
pop edx
ret
Function at 0x45b8a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x475b7c]
cmp dword [eax + 0x30], 0
je 0x45b952
cmp dword [ebx + 0x94], 0
jne 0x45b94c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b838
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b94c
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 0x45b912
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b94c
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.0041b4e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b921
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c4b0
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 0x45c4e5
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.00404bf4
jmp 0x45c4f2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b58
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d604
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d645
mov eax, esi
call fcn.00443ab8
test al, al
je 0x45d645
mov eax, dword [ebx + 0x84]
call fcn.004437b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d645
push 0
mov eax, dword [ebx + 0x84]
call fcn.004437b4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x462604
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x418714]
call fcn.004054a0
xor eax, eax
push ebp
push 0x462748
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x473fe8], 0
jne 0x462657
mov ecx, dword [0x474210]
mov dl, 1
mov eax, dword [0x407f4c]
call fcn.0040c9a0
call fcn.00404518
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004035a8
mov eax, ebx
call fcn.0040536c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x462758
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406600
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040537c
test eax, eax
jle 0x4626ef
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4626e8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404d8c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404d74
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408ddc
test eax, eax
jne 0x4626e8
mov ebx, 0x15
jmp 0x4626f4
mov ebx, 0x10
jmp 0x4626f4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x473fe8]
call fcn.0046247c
mov eax, dword [ebp - 8]
call fcn.0046247c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46274f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404b28
lea eax, [ebp - 0x10]
mov edx, dword [0x418714]
call fcn.00405570
ret
Function at 0x10001760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100017b8
cmp byte [esi + ebx - 1], 0xa
je 0x1000178c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100070a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10001de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x10001fb8
mov edi, dword [0x100070a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10001ec7
test byte [0x10003030], 8
jne 0x10001f60
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10003040], 8
jne 0x10001f20
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10001e69
cmp esi, 3
jbe 0x10001ed8
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x10001e7a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x100050c8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x10001e69
mov dword [esp], 0x10003040
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10001e40
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10001e40
mov dword [esp], 0x10003030
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10001e2b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x10001e33
mov eax, 0xffffffff
jmp 0x10001ec7
Function at 0x4016b0
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 0x4016c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4016dd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4016fe
cmp esi, eax
jae 0x4016d7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4016f0
cmp esi, eax
jae 0x4016d7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret