joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d9c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov word [ebp - 0x468], ax
push 0x206
push 0
lea ecx, [ebp - 0x466]
push ecx
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 8], 0
push 0x4ae110
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x468]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40da32
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40da39
xor eax, eax
jmp 0x40db43
lea eax, [ebp - 0x234]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 2]
test edx, edx
jne 0x40da5f
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x2e
jne 0x40da5f
jmp 0x40db1d
mov edx, dword [ebp - 4]
movzx eax, word [edx + 4]
test eax, eax
jne 0x40da86
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x2e
jne 0x40da86
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
cmp ecx, 0x2e
jne 0x40da86
jmp 0x40db1d
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x260]
and edx, 0x10
je 0x40dac5
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x468]
push edx
call fcn.0040d9c0
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x40dafd
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.0046b42e
add esp, 8
test eax, eax
jne 0x40dafd
mov dword [ebp - 8], 1
lea edx, [ebp - 0x468]
push edx
push 0x104
mov eax, dword [ebp + 0x10]
push eax
call fcn.0046a10d
add esp, 0xc
jmp 0x40db36
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x468]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.FindMyFile__s___s___File_s_d
call fcn.00456a00
add esp, 0x14
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40da39
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x40dbc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x138], 0
push 0x118
push 0
lea eax, [ebp - 0x134]
push eax
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 0x138], 0x11c
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x134], 5
ja 0x40dc44
cmp dword [ebp - 0x134], 5
jne 0x40dc63
cmp dword [ebp - 0x130], 2
jb 0x40dc63
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [ebp - 4], eax
jmp 0x40dca1
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40dca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40dca1
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
je 0x40dcb5
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x40e0e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
ja 0x40e133
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40e131
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40e0ef
mov esp, ebp
pop ebp
ret

Function at 0x40e3e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x20], 0x7b
mov byte [ebp - 0x1f], 0x5c
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x66
mov byte [ebp - 0x1b], 0x31
mov byte [ebp - 0x1a], 0x5c
push 0
push 0x80
push 3
push 0
push 3
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40e449
mov ecx, dword [ebp + 8]
push ecx
push str.IsaRTFFile__s___INVALID_HANDLE_VALUE
call fcn.00456a00
add esp, 8
xor eax, eax
jmp 0x40e4e5
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40e46c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40e4e5
push 0
lea ecx, [ebp - 4]
push ecx
push 7
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40e48c
cmp dword [ebp - 4], 7
je 0x40e49a
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40e4e5
mov dword [ebp - 8], 0
jmp 0x40e4ac
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 7
jae 0x40e4d6
mov eax, dword [ebp - 8]
movzx ecx, byte [ebp + eax - 0x20]
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + edx - 0x18]
cmp ecx, eax
je 0x40e4d4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40e4e5
jmp 0x40e4a3
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret

Function at 0x40ed90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x800
cmp dword [ebp + 8], 0
je 0x40edb1
mov dword [ebp - 8], 0x400
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x5c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40efa0
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.004677c0
add esp, 0xc
mov edx, dword [ebp + 0x14]
push edx
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x4ae3b0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
ja 0x40f093
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x40f093
cmp dword [ebp - 0x80c], 0xffffffff
je 0x40f093
push 0x4ae3b4
push 0x400
lea eax, [ebp - 0x808]
push eax
call fcn.0046a10d
add esp, 0xc
push 2
push 0
push 0
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x413a00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push 1
push 0xf0
push 0x448
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 4], eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
and eax, 2
jne 0x413a65
cmp dword [ebp - 4], 0
jne 0x413a59
push 5
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x413a65
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x413a84
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4144c0
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4cfa60], 0
jne 0x414587
mov eax, dword [ebp + 8]
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x100
lea eax, [ebp - 0x410]
push eax
call fcn.0046a10d
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
push 0x100
lea edx, [ebp - 0x210]
push edx
call fcn.0046a10d
add esp, 0xc
push 0x4cfa5c
push 0
lea eax, [ebp - 0x418]
push eax
push 0x4140b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4cfa58], eax
cmp dword [0x4cfa58], 0
je 0x41455c
push 0xc8
mov ecx, dword [0x4cfa58]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x414]
mov dword [0x4cfa60], edx
mov eax, dword [0x4cfa5c]
push eax
mov ecx, dword [0x4cfa58]
push ecx
push str.MsgWaitDlg__CreateThread____Thread_x_ThreadId_d
call fcn.00456a00
add esp, 0xc
jmp 0x414688
push str.before_PostThreadMessage
call fcn.00456a00
add esp, 4
push 0
push 0
push 0x12
mov edx, dword [0x4cfa5c]
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x420], eax
push 0x64
mov eax, dword [0x4cfa58]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x414617
cmp dword [ebp - 0x41c], 0xffffffff
je 0x414617
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x420]
cmp eax, 0x7d0
jae 0x414617
push 0x64
mov ecx, dword [0x4cfa58]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x41c], eax
mov edx, dword [ebp - 0x41c]
push edx
push str.MsgWaitDlg____WaitForSingleObject_x
call fcn.00456a00
add esp, 8
jmp 0x4145c7
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [0x4cfa58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41465d
mov edx, dword [ebp - 0x41c]
push edx
push str.MsgWaitDlg____dwExitCode_x
call fcn.00456a00
add esp, 8
cmp dword [ebp - 0x41c], 0x103
jne 0x41465d
push 0
mov eax, dword [0x4cfa58]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x4cfa58]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4cfa58], 0
mov dword [0x4cfa5c], 0
mov dword [0x4cfa60], 0
mov edx, dword [0x4cfa60]
push edx
push str.MsgWaitDlg__End__d_
call fcn.00456a00
add esp, 8
mov eax, dword [0x4cfa60]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x415f40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x415f59
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x415f60
xor al, al
jmp 0x415fe1
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0xffffffff
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 2
je 0x415f9c
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
jmp 0x415fdf
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
add eax, 0x34
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x415e90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x415fdf
xor al, al
jmp 0x415fe1
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4166a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4cd724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
call fcn.004681b9
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x416714
push str.Progress
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004167a0
mov dword [ebp - 0x1c], eax
jmp 0x41671b
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], 5
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 0x64
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42aa20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x42aa60
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42aa6c
mov al, 1
jmp 0x42ac0f
mov dword [ebp - 0x10], 8
call fcn.00426a00
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00426a00
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004269e0
add esp, 8
movzx eax, al
test eax, eax
je 0x42aaaf
xor al, al
jmp 0x42ac0f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00428e60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00425b90
mov ecx, eax
call fcn.0042ac90
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00404270
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00425b90
mov ecx, eax
call fcn.0042ac90
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0042c860
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x42ab2a
cmp dword [ebp - 0x6c], 1
je 0x42ab31
cmp dword [ebp - 0x6c], 3
je 0x42abcb
jmp 0x42abe3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00425b90
mov ecx, eax
call fcn.0042ac90
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x42ab94
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00425b90
mov ecx, eax
call fcn.0042ac90
push eax
call fcn.0046d5f1
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x42ab94
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404170
mov al, byte [ebp - 0x61]
jmp 0x42ac0f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42abb7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404170
mov al, byte [ebp - 0x62]
jmp 0x42ac0f
cmp dword [ebp - 0x38], 0
jne 0x42abc9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00428ea0
jmp 0x42abfb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404170
mov al, byte [ebp - 0x63]
jmp 0x42ac0f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404170
mov al, byte [ebp - 0x64]
jmp 0x42ac0f
jmp 0x42aac2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x4344f0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
test eax, eax
jne 0x434505
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp + 8], ax
movzx ecx, word [ebp + 8]
sar ecx, 0xa
push ecx
movzx edx, word [ebp + 8]
and edx, 0x3ff
push edx
push str._02X_02X
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00467d96
add esp, 0x14
pop ebp
ret
Function at 0x435980
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
call fcn.0046d420
mov dword [ebp - 0x28], esp
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push 0x31
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4359fc
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
push 0xfffffffffffffff0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x1f
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xc
ja case.0x435a25.3
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x435ad0]
jmp dword [ecx*4 + 0x435ab8]
mov dword [ebp - 4], 0x10
jmp case.0x435a25.3
mov dword [ebp - 4], 0x10
jmp case.0x435a25.3
mov dword [ebp - 4], 0x10
jmp case.0x435a25.3
mov dword [ebp - 4], 0x20
jmp case.0x435a25.3
mov dword [ebp - 4], 0
push 1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x138
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00435200
add esp, 0x18
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x4368a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.00467dc0
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1028], ecx
push 0x800
lea eax, [ebp - 0x1008]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1028]
call fcn.004369e0
test eax, eax
je 0x4369cd
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1024], edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x101c], 1
mov dword [ebp - 0x100c], 0
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp - 0x1014], ecx
lea edx, [ebp - 0x1008]
mov dword [ebp - 0x1018], edx
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x1028]
mov edx, dword [ecx + eax + 0x14]
mov dword [ebp - 0x1010], edx
lea eax, [ebp - 0x1024]
push eax
mov ecx, dword [ebp - 0x1020]
push ecx
push 0x4e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x100c], 0
jne 0x4369af
push 0x7f8a
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 5
push 0
push 0
lea eax, [ebp - 0x1008]
push eax
push 0x4b3378
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x4369ad
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x1c
mov edx, dword [ebp - 0x1028]
mov byte [edx + ecx + 0x18], 1
mov al, 1
jmp 0x4369cf
jmp 0x4369cd
cmp dword [ebp - 0x100c], 1
jne 0x4369cd
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x1028]
mov byte [ecx + eax + 0x18], 1
mov al, 1
jmp 0x4369cf
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret 8