joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4036b0
Capabilities:
Check if file exists
Get file version info

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
jne 0x4036cb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4036de
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebp
jne 0x4036fd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x403717
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push esi
push edi
push ebp
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x403751
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x43e1a8
push esi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [esp + 0x20]
mov ebp, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x405d40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x435c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov ebx, ecx
mov edi, dword [esi + 0x18]
mov dword [esp + 0x10], edi
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
push 1
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x10]
push esi
push edx
push eax
push ecx
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, dword [esp + 0x4c]
mov edx, esp
sub esp, 0x10
mov dword [edx], ebp
mov dword [edx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [edx + 8], ecx
mov ecx, esp
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 8]
push ecx
push edi
mov ecx, ebx
call fcn.00405e20
mov edx, dword [esp + 0x44]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 4
Function at 0x408ee0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x60]
jne 0x408ef4
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x60]
push 0xc8
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x60]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408f1d
mov edx, dword [esi + 0x60]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
or eax, 0xffffffff
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
pop esi
ret

Function at 0x40d430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x435fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00410f50
lea ebx, [esi + 0x1c]
xor edi, edi
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, ebx
mov dword [esp + 0x24], edi
call fcn.004129e0
lea ecx, [esi + 0x30]
mov dword [ecx], edi
push ecx
mov dword [esi + 0x34], edi
mov eax, esp
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 1
mov byte [esp + 0x20], 2
mov dword [esp + 0x14], esp
mov dword [eax], 0xc9
call fcn.00401480
push 0xf8f5ec
mov ecx, ebx
call fcn.00412a60
mov eax, dword [0x43e040]
mov dword [esp + 0x1c], 3
mov dword [esi + 0x48], eax
mov ecx, dword [0x43e040]
mov dword [esi + 0x4c], ecx
mov edx, dword [0x43e040]
mov dword [esi + 0x50], edx
mov eax, dword [0x43e040]
mov dword [esi + 0x54], eax
mov ecx, dword [0x43e040]
mov dword [esi + 0x58], ecx
mov edx, dword [0x43e040]
mov dword [esi + 0x5c], edx
mov eax, dword [0x43e040]
mov dword [esi + 0x60], eax
mov ecx, dword [0x43e040]
mov dword [esi + 0x64], ecx
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], edi
mov word [esi + 0x78], di
mov dword [esi + 0x68], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], 1
mov dword [esi + 0xa8], edi
mov byte [esp + 0x1c], 4
call fcn.00401410
mov eax, dword [eax + 0x1c]
lea ebx, [esi + 0xac]
push eax
push 0x19
mov ecx, ebx
call fcn.0040f130
mov dword [ebx], 0x43857c
mov byte [esp + 0x1c], 5
call fcn.00401410
mov eax, dword [eax + 0x1c]
lea ebx, [esi + 0xf0]
push eax
push 0x19
mov ecx, ebx
call fcn.0040f130
mov dword [ebx], 0x43857c
lea ebx, [esi + 0x134]
push edi
push 2
mov ecx, ebx
mov byte [esp + 0x24], 6
call fcn.0040f8f0
mov dword [ebx], 0x438570
lea ebx, [esi + 0x1a8]
push edi
mov ecx, ebx
mov byte [esp + 0x20], 7
mov dword [esi + 0x1a4], edi
call fcn.0040fef0
mov ecx, dword [esp + 0x14]
mov dword [ebx], 0x438564
mov edx, dword [0x43e040]
mov eax, esi
mov dword [esi + 0x200], edx
mov dword [esi + 0x204], edi
mov dword [esi + 0x208], edi
mov dword [esi], 0x438554
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x40ec00
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43609b
push eax
mov dword fs:[0], esp
sub esp, 0x140
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x98]
test eax, eax
je 0x40ecb3
lea ecx, [esp + 8]
call fcn.00421800
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea eax, [esp + 8]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x44251c
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x442550]
lea edx, [esp + 0x10]
push 0x44251c
mov dword [esp + 0x1c], ecx
mov dword [0x442550], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4424f0]
push 0
push 0x4031d0
push esi
push 0xe6
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
mov dword [esp + 0x150], 0xffffffff
lea ecx, [esp + 8]
je 0x40ecae
call fcn.00421b30
jmp 0x40ed01
call fcn.00421b30
mov eax, dword [edi + 0x88]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x40ecd9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 4]
push 2
push ecx
jmp 0x40ecfb
push 0x63
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
jne 0x40ecef
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40ed01
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi + 4]
push 2
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x148]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14c
ret 0xc

Function at 0x40ef20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4360b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x43e040]
mov dword [esp], eax
mov ecx, dword [ecx + 0x48]
lea edx, [esp]
push ecx
push 0x43e4f8
push edx
mov dword [esp + 0x18], 0
call fcn.00403e30
mov eax, dword [esp + 0xc]
add esp, 0xc
push 1
push 0
push eax
push 0x43e4dc
push 0x43e4d0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp]
mov edx, dword [0x43e044]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40efa7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40efa7
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0042329e
add esp, 4
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x410ec0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [ebx]
push edi
test eax, eax
mov dword [ebp - 4], esi
je 0x410ee2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x410ef6
push 0x442578
jmp 0x410f27
lea esi, [eax + 1]
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004269f0
mov edx, dword [ebp - 4]
mov edi, esp
push esi
push edi
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x410f26
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ecx, ecx
lea esp, [ebp - 0x10]
test eax, eax
setne cl
pop edi
mov dword [ebx], eax
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x412ee0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov bl, 1
mov eax, dword [esi + 0x50]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x412f3d
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x10], eax
call edi
mov edx, dword [esi + 4]
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 0x18], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret
shr eax, 2
test al, 1
je 0x412f7a
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
and edi, 0xffff
push ecx
push edi
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret
mov edx, dword [esi + 0x24]
push 1
push 0
push 0
push edx
push 0x43e4d0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x412fb1
mov al, byte [esi + 0x54]
push 1
or al, 2
push 0
mov byte [esi + 0x54], al
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x41a3b0
Capabilities:
Create thread

Disassembly:
sub esp, 0x20c
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0xc]
push 0x43e878
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0xc]
lea ecx, [esi + 0x28]
push edx
call fcn.0040b960
test eax, eax
jne 0x41a40c
pop edi
pop esi
add esp, 0x20c
ret
mov ecx, esi
call fcn.0040c460
test eax, eax
jne 0x41a420
pop edi
pop esi
add esp, 0x20c
ret
mov eax, dword [esi + 0x444]
mov dword [esp + 8], 0
test eax, eax
jne 0x41a45c
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x40c250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x444], eax
jne 0x41a45c
pop edi
pop esi
add esp, 0x20c
ret
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret
Function at 0x41beb0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
mov esi, ecx
push 2
push 0xffffffffffffffff
mov eax, dword [esi + 0x22c]
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x41bf1b
push eax
lea ecx, [esi + 0x228]
call fcn.00407a90
mov edx, eax
test edx, edx
je 0x41bf1b
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x3c
mov ecx, dword [edx]
lea edx, [esp + 8]
mov dword [esp + 0x18], ecx
push edx
mov dword [esp + 0x18], 0x43ea60
mov dword [esp + 0x10], 0xc
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
add esp, 0x3c
ret 0xc

Function at 0x41bf30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x436758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 2
push 0xffffffffffffffff
mov eax, dword [esi + 0x22c]
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x41bfe9
push eax
lea ecx, [esi + 0x228]
call fcn.00407a90
test eax, eax
je 0x41bfe9
mov ecx, dword [0x43e040]
mov dword [esp + 4], ecx
mov edx, dword [eax]
lea eax, [esp + 4]
push edx
push 0x43e4f8
push eax
mov dword [esp + 0x1c], 0
call fcn.00403e30
mov ecx, dword [esp + 0x10]
add esp, 0xc
push 1
push 0
push ecx
push 0x43e4dc
push 0x43e4d0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 4]
mov ecx, dword [0x43e044]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41bfe9
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41bfe9
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.0042329e
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x41c000
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43677b
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 2
mov eax, dword [ebp + 0x22c]
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41c0b0
lea ecx, [esp + 0x10]
call fcn.0041fdb0
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x44251c
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x442550]
lea eax, [esp + 0x18]
push 0x44251c
mov dword [esp + 0x24], edx
mov dword [0x442550], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4424f0]
push 0
push 0x4031d0
push esi
push 0xdd
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x10]
call fcn.004200f0
jmp 0x41c1d2
lea ebx, [ebp + 0x228]
push eax
mov ecx, ebx
call fcn.00407a90
mov esi, eax
test esi, esi
je 0x41c1d2
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41c1d2
cmp eax, 4
je 0x41c1d2
cmp eax, 8
je 0x41c1d2
mov eax, dword [esi + 0x50]
test eax, eax
je 0x41c18a
lea ecx, [esp + 0x10c]
call fcn.00421800
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea edx, [esp + 0x10c]
mov edi, eax
mov dword [esp + 0x114], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x44251c
mov dword [esp + 0x11c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x442550]
lea ecx, [esp + 0x114]
push 0x44251c
mov dword [esp + 0x120], eax
mov dword [0x442550], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4424f0]
push 0
push 0x4031d0
push edi
push 0xe6
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
mov dword [esp + 0x254], 0xffffffff
lea ecx, [esp + 0x10c]
je 0x41c185
call fcn.00421b30
jmp 0x41c1d2
call fcn.00421b30
mov edx, dword [esi + 0x40]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x41c1a4
mov eax, dword [esi + 0x40]
push eax
jmp 0x41c1cb
push 0x63
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push edi
jne 0x41c1ba
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41c1d2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebp
call fcn.0041b550
mov ecx, dword [esi + 0x40]
push ecx
mov ecx, ebx
call fcn.00407bb0
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x248
ret 0xc
Function at 0x41c320
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x218
push ebx
mov ebx, dword [esp + 0x224]
push ebp
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], ebp
push eax
push ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebp
push ebp
push 0x31
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea edx, [esp + 0x10]
push 0x600
push edx
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x22c]
sub ecx, edx
mov edx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
sub edx, ecx
pop esi
pop ebp
mov dword [eax + 4], edx
pop ebx
add esp, 0x218
ret 8
Function at 0x41d0f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0xfffffffffffffff0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0xc00000
cmp eax, ecx
je 0x41d12e
push ecx
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x22c]
push 0
push 0
push 0x7eb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 3
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 0xc

Function at 0x41d160
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0xfffffffffffffff0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0xc00000
cmp eax, ecx
je 0x41d19e
push ecx
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x22c]
push 0
push 0
push 0x7eb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 0xc
Function at 0x41d1e0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [esi + 0x14c]
push eax
call edi
test eax, eax
je 0x41d341
mov ecx, dword [esi + 0x1bc]
push ecx
call edi
test eax, eax
je 0x41d341
mov edx, dword [esi + 0x22c]
push edx
call edi
test eax, eax
je 0x41d341
mov eax, dword [esp + 0xc]
cmp eax, 2
jne 0x41d2b8
mov eax, dword [esi + 0x14c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x1bc]
push 5
push ecx
call edi
mov edx, dword [esi + 0x1bc]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x22c]
push 0
push 2
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xff3fffff
cmp eax, ecx
je 0x41d33a
mov edx, dword [esi + 4]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x64], 0
pop edi
pop esi
ret 0xc
test eax, eax
jne 0x41d33a
mov ecx, dword [esi + 0x14c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov edx, dword [esi + 0x14c]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x1bc]
push 0
push eax
call edi
mov ecx, dword [esi + 0x22c]
push 0
push 0
push 0x7e9
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xff3fffff
cmp eax, ecx
je 0x41d33a
mov eax, dword [esi + 4]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x64], 0
pop edi
pop esi
ret 0xc
Function at 0x41d690
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0xc]
push 0x43ec24
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edx, [esp + 0xc]
push edx
push 1
push 0x43e944
push 0x43ec10
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x41d713
mov eax, dword [esi + 0x2ec]
push 0
push 1
push 0xf1
push eax
call edi
mov dword [esi + 0x380], 1
lea ecx, [esp + 0xc]
push ecx
push 1
push 0x43e934
push 0x43ec10
call ebx
cmp eax, 1
jne 0x41d73c
mov edx, dword [esi + 0x2f4]
push 0
push eax
push 0xf1
push edx
call edi
lea eax, [esp + 0xc]
push eax
push 0
push 0x43ea48
push 0x43ec10
call ebx
cmp eax, 1
jne 0x41d77b
mov ecx, dword [esi + 0x2f0]
push 0
push eax
push 0xf1
push ecx
call edi
mov edx, dword [esi + 4]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x41d8c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41d976
cmp dword [esp + 0x10], 0x18
jge 0x41d976
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x41d90d
mov ecx, dword [esi + 0x22c]
push 0
push 0
push 0x7eb
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 0xc
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x41d976
mov ecx, dword [esi + 0x22c]
push eax
push eax
push 0x7eb
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0xc00000
cmp eax, ecx
je 0x41d96a
mov eax, dword [esi + 4]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 4]
push 3
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 0xc