joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4b1120]
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.00447660
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 0x40d714
cmp dword [ebp - 0x134], 5
jne 0x40d733
cmp dword [ebp - 0x130], 2
jb 0x40d733
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 0x40d771
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 0x40d771
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40d771
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
je 0x40d785
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.00447645
mov esp, ebp
pop ebp
ret
Function at 0x40dbb0
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 0x40dc03
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 0x40dc01
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 0x40dbbf
mov esp, ebp
pop ebp
ret

Function at 0x40de80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b1120]
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 0x40dee9
mov ecx, dword [ebp + 8]
push ecx
push str.IsaRTFFile__s___INVALID_HANDLE_VALUE
call fcn.00437970
add esp, 8
xor eax, eax
jmp 0x40df85
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40df0c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40df85
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 0x40df2c
cmp dword [ebp - 4], 7
je 0x40df3a
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40df85
mov dword [ebp - 8], 0
jmp 0x40df4c
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 7
jae 0x40df76
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 0x40df74
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40df85
jmp 0x40df43
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.00447645
mov esp, ebp
pop ebp
ret
Function at 0x411a60
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4b1120]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4b3550], 0
jne 0x411b1e
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.0044a00d
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
push 0x100
lea edx, [ebp - 0x210]
push edx
call fcn.0044a00d
add esp, 0xc
push 0x4b354c
push 0
lea eax, [ebp - 0x418]
push eax
push 0x4116b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4b3548], eax
push 0xc8
mov ecx, dword [0x4b3548]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x414]
mov dword [0x4b3550], edx
mov eax, dword [0x4b354c]
push eax
mov ecx, dword [0x4b3548]
push ecx
push str.MsgWaitDlg__CreateThread____Thread_x_ThreadId_d
call fcn.00437970
add esp, 0xc
jmp 0x411c1f
push str.before_PostThreadMessage
call fcn.00437970
add esp, 4
push 0
push 0
push 0x12
mov edx, dword [0x4b354c]
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 [0x4b3548]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x411bae
cmp dword [ebp - 0x41c], 0xffffffff
je 0x411bae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x420]
cmp eax, 0x7d0
jae 0x411bae
push 0x64
mov ecx, dword [0x4b3548]
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.00437970
add esp, 8
jmp 0x411b5e
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [0x4b3548]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x411bf4
mov edx, dword [ebp - 0x41c]
push edx
push str.MsgWaitDlg____dwExitCode_x
call fcn.00437970
add esp, 8
cmp dword [ebp - 0x41c], 0x103
jne 0x411bf4
push 0
mov eax, dword [0x4b3548]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x4b3548]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b3548], 0
mov dword [0x4b354c], 0
mov dword [0x4b3550], 0
mov edx, dword [0x4b3550]
push edx
push str.MsgWaitDlg__End__d_
call fcn.00437970
add esp, 8
mov eax, dword [0x4b3550]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret
Function at 0x413400
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 0x413419
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x413420
xor al, al
jmp 0x4134a1
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 0x41345c
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 0x41349f
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 0x413350
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 0x41349f
xor al, al
jmp 0x4134a1
mov al, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4883eb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b1120]
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.00447ff7
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x413bb4
push str.Progress
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00413c40
mov dword [ebp - 0x1c], eax
jmp 0x413bbb
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 0x416c20
Capabilities:
Identify system language via api

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4b1120]
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.0044a220
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 0x4180ec
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.0x418115.3
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x4181c0]
jmp dword [ecx*4 + 0x4181a8]
mov dword [ebp - 4], 0x10
jmp case.0x418115.3
mov dword [ebp - 4], 0x10
jmp case.0x418115.3
mov dword [ebp - 4], 0x10
jmp case.0x418115.3
mov dword [ebp - 4], 0x20
jmp case.0x418115.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.004178f0
add esp, 0x18
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret
Function at 0x418f90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.00447c60
mov eax, dword [0x4b1120]
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.004190d0
test eax, eax
je 0x4190bd
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 0x41909f
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 0x48f158
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x41909d
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x1c
mov edx, dword [ebp - 0x1028]
mov byte [edx + ecx + 0x18], 1
mov al, 1
jmp 0x4190bf
jmp 0x4190bd
cmp dword [ebp - 0x100c], 1
jne 0x4190bd
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x1028]
mov byte [ecx + eax + 0x18], 1
mov al, 1
jmp 0x4190bf
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret 8
Function at 0x4191e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x419249
push 0x48f17c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push str.Process32First
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Process32Next
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x419268
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x419268
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x4192ea
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x419273
jmp 0x4192ea
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x4192ea
push str.ZwQuerySystemInformation
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push 0x48f1e8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x48f1f8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
push 0x48f204
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x419340
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004193c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x419366
xor al, al
jmp 0x4193b3
mov edx, dword [ebp - 4]
push edx
push 0x419990
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1388
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x419399
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
jmp 0x4193a0
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0xc], 1
sete al
mov esp, ebp
pop ebp
ret 4
Function at 0x419670
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4b1120]
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.00447660
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 0x4196cf
xor eax, eax
jmp 0x419777
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 0x419767
mov ecx, dword [ebp - 0x42c]
cmp ecx, dword [ebp + 0xc]
je 0x4196fe
cmp dword [ebp + 0x18], 0
jne 0x419740
cmp dword [ebp + 0x14], 0x428
jae 0x419712
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x438], edx
jmp 0x41971c
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.0044a6b0
add esp, 0xc
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x430], 0x428
cmp dword [ebp - 0x434], 0
jne 0x419767
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4196ed
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.00447645
mov esp, ebp
pop ebp
ret
Function at 0x41a110
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 0x41a21b
cmp dword [ebp + 0x14], 4
jne 0x41a18c
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0044cc4f
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 0x41a187
mov dword [ebp - 0xc], 1
jmp 0x41a211
cmp dword [ebp + 0x14], 3
jne 0x41a1bb
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 0x41a1b9
mov dword [ebp - 0xc], 1
jmp 0x41a211
cmp dword [ebp + 0x14], 7
jne 0x41a1ea
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 0x41a1e8
mov dword [ebp - 0xc], 1
jmp 0x41a211
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 0x41a211
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___d____d
call fcn.00437970
add esp, 0x14
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41a240
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 0x41a2af
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 0x41a2a5
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.00437970
add esp, 0x14
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret