joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e140
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 0x40e193
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 0x40e191
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 0x40e14f
mov esp, ebp
pop ebp
ret

Function at 0x40e440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ce724]
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 0x40e4a9
mov ecx, dword [ebp + 8]
push ecx
push str.IsaRTFFile__s___INVALID_HANDLE_VALUE
call fcn.00456fc0
add esp, 8
xor eax, eax
jmp 0x40e545
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40e4cc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40e545
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 0x40e4ec
cmp dword [ebp - 4], 7
je 0x40e4fa
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40e545
mov dword [ebp - 8], 0
jmp 0x40e50c
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 7
jae 0x40e536
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 0x40e534
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40e545
jmp 0x40e503
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.00467d4f
mov esp, ebp
pop ebp
ret

Function at 0x40edf0
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 0x40ee11
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 0x40f000
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x4ce724]
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.00467d60
add esp, 0xc
mov edx, dword [ebp + 0x14]
push edx
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x4af400
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
ja 0x40f0f3
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 0x40f0f3
cmp dword [ebp - 0x80c], 0xffffffff
je 0x40f0f3
push 0x4af404
push 0x400
lea eax, [ebp - 0x808]
push eax
call fcn.0046a6ad
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.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x413a70
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 0x413ad5
cmp dword [ebp - 4], 0
jne 0x413ac9
push 5
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x413ad5
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 0x413af4
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 0x414530
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d0a60], 0
jne 0x4145f7
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.0046a6ad
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
push 0x100
lea edx, [ebp - 0x210]
push edx
call fcn.0046a6ad
add esp, 0xc
push 0x4d0a5c
push 0
lea eax, [ebp - 0x418]
push eax
push 0x414120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4d0a58], eax
cmp dword [0x4d0a58], 0
je 0x4145cc
push 0xc8
mov ecx, dword [0x4d0a58]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x414]
mov dword [0x4d0a60], edx
mov eax, dword [0x4d0a5c]
push eax
mov ecx, dword [0x4d0a58]
push ecx
push str.MsgWaitDlg__CreateThread____Thread_x_ThreadId_d
call fcn.00456fc0
add esp, 0xc
jmp 0x4146f8
push str.before_PostThreadMessage
call fcn.00456fc0
add esp, 4
push 0
push 0
push 0x12
mov edx, dword [0x4d0a5c]
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 [0x4d0a58]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x414687
cmp dword [ebp - 0x41c], 0xffffffff
je 0x414687
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x420]
cmp eax, 0x7d0
jae 0x414687
push 0x64
mov ecx, dword [0x4d0a58]
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.00456fc0
add esp, 8
jmp 0x414637
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [0x4d0a58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4146cd
mov edx, dword [ebp - 0x41c]
push edx
push str.MsgWaitDlg____dwExitCode_x
call fcn.00456fc0
add esp, 8
cmp dword [ebp - 0x41c], 0x103
jne 0x4146cd
push 0
mov eax, dword [0x4d0a58]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x4d0a58]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4d0a58], 0
mov dword [0x4d0a5c], 0
mov dword [0x4d0a60], 0
mov edx, dword [0x4d0a60]
push edx
push str.MsgWaitDlg__End__d_
call fcn.00456fc0
add esp, 8
mov eax, dword [0x4d0a60]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x415fb0
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 0x415fc9
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x415fd0
xor al, al
jmp 0x416051
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 0x41600c
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 0x41604f
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 0x415f00
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 0x41604f
xor al, al
jmp 0x416051
mov al, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a902b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4ce724]
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.00468759
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x416784
push str.Progress
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00416810
mov dword [ebp - 0x1c], eax
jmp 0x41678b
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 0x42aa80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa088
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4ce724]
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 0x42aac0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42aacc
mov al, 1
jmp 0x42ac6f
mov dword [ebp - 0x10], 8
call fcn.00426a60
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.00426a60
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00426a40
add esp, 8
movzx eax, al
test eax, eax
je 0x42ab0f
xor al, al
jmp 0x42ac6f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00428ec0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00425bf0
mov ecx, eax
call fcn.0042acf0
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.00425bf0
mov ecx, eax
call fcn.0042acf0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0042c8c0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x42ab8a
cmp dword [ebp - 0x6c], 1
je 0x42ab91
cmp dword [ebp - 0x6c], 3
je 0x42ac2b
jmp 0x42ac43
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00425bf0
mov ecx, eax
call fcn.0042acf0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x42abf4
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.00425bf0
mov ecx, eax
call fcn.0042acf0
push eax
call fcn.0046db91
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x42abf4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404170
mov al, byte [ebp - 0x61]
jmp 0x42ac6f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42ac17
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404170
mov al, byte [ebp - 0x62]
jmp 0x42ac6f
cmp dword [ebp - 0x38], 0
jne 0x42ac29
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00428f00
jmp 0x42ac5b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404170
mov al, byte [ebp - 0x63]
jmp 0x42ac6f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404170
mov al, byte [ebp - 0x64]
jmp 0x42ac6f
jmp 0x42ab22
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x434550
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
test eax, eax
jne 0x434565
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.00468336
add esp, 0x14
pop ebp
ret
Function at 0x4359e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4ce724]
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.0046d9c0
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 0x435a5c
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.0x435a85.3
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x435b30]
jmp dword [ecx*4 + 0x435b18]
mov dword [ebp - 4], 0x10
jmp case.0x435a85.3
mov dword [ebp - 4], 0x10
jmp case.0x435a85.3
mov dword [ebp - 4], 0x10
jmp case.0x435a85.3
mov dword [ebp - 4], 0x20
jmp case.0x435a85.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.00435260
add esp, 0x18
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x436910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.00468360
mov eax, dword [0x4ce724]
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.00436a50
test eax, eax
je 0x436a3d
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 0x436a1f
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 0x4b4398
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x436a1d
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x1c
mov edx, dword [ebp - 0x1028]
mov byte [edx + ecx + 0x18], 1
mov al, 1
jmp 0x436a3f
jmp 0x436a3d
cmp dword [ebp - 0x100c], 1
jne 0x436a3d
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x1028]
mov byte [ecx + eax + 0x18], 1
mov al, 1
jmp 0x436a3f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret 8
Function at 0x436ff0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x430], 0
push 0x424
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.00467d60
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43704f
xor eax, eax
jmp 0x4370f7
mov dword [ebp - 0x430], 0x428
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4370e7
mov ecx, dword [ebp - 0x42c]
cmp ecx, dword [ebp + 0xc]
je 0x43707e
cmp dword [ebp + 0x18], 0
jne 0x4370c0
cmp dword [ebp + 0x14], 0x428
jae 0x437092
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x438], edx
jmp 0x43709c
mov dword [ebp - 0x438], 0x428
mov eax, dword [ebp - 0x438]
push eax
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0046b0a0
add esp, 0xc
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x430], 0x428
cmp dword [ebp - 0x434], 0
jne 0x4370e7
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x43706d
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x437a90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x437b9b
cmp dword [ebp + 0x14], 4
jne 0x437b0c
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0046af8a
add esp, 4
mov dword [ebp - 4], eax
push 4
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437b07
mov dword [ebp - 0xc], 1
jmp 0x437b91
cmp dword [ebp + 0x14], 3
jne 0x437b3b
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437b39
mov dword [ebp - 0xc], 1
jmp 0x437b91
cmp dword [ebp + 0x14], 7
jne 0x437b6a
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437b68
mov dword [ebp - 0xc], 1
jmp 0x437b91
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437b91
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.RegDBSetKeyValue__s___s___s____d
call fcn.00456fc0
add esp, 0x14
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x437bc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x437c2f
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp + 0x14]
push edx
push 4
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437c25
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.RegDBSetKeyValueDw__s___s___d____d
call fcn.00456fc0
add esp, 0x14
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret