joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c5c8
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 0x48c773
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48c754
mov dl, 1
mov eax, dword [0x4196e0]
call fcn.00403d64
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c88
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48c743
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.0047a420
test al, al
je 0x48c736
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, 0x48c784
lea eax, [ebp - 0x254]
call fcn.0040a924
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48c736
xor eax, eax
push ebp
push 0x48c72f
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 0x48c7bc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48c718
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ef8
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 0x48c718
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c736
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48c639
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d314
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 0x48c77a
lea eax, [ebp - 0x260]
call fcn.00404c88
ret

Function at 0x48d0bc
Capabilities:
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d52fc]
cmp byte [eax + 0xa5], 0
jne 0x48d12d
cmp dword [0x4d5314], 0
jne 0x48d0ee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48d078
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d5314], eax
cmp dword [0x4d5310], 0
jne 0x48d109
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d5310], eax
cmp dword [0x4d5318], 0
jne 0x48d12d
push esp
push 0
push 0
push 0x48d01c
push 0x3e8
push 0
call fcn.004073c4
mov dword [0x4d5318], eax
pop edx
ret
Function at 0x48d7c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d52fc]
cmp dword [eax + 0x30], 0
je 0x48d86a
cmp dword [ebx + 0x94], 0
jne 0x48d864
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48d750
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48d864
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 0x48d82a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48d864
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.0041b688
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48d839
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48e3c8
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 0x48e3fd
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.00404d78
jmp 0x48e40a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cdc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48f52c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48f56d
mov eax, esi
call fcn.00475ae0
test al, al
je 0x48f56d
mov eax, dword [ebx + 0x84]
call fcn.004757dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48f56d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004757dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4ad21c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push esp
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0040a4a4
add esp, 0x100
pop ebx
ret
Function at 0x4cad18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4caf62
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00409314
mov edx, dword [ebp - 0xc]
mov eax, 0x4caf78
call fcn.004052a8
test eax, eax
jle 0x4cad61
mov edx, esi
mov eax, ebx
call fcn.004cbab4
jmp 0x4caf4c
xor edx, edx
push ebp
push 0x4caf42
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4b28a4]
call fcn.004b5168
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x330]
call fcn.004bc364
mov eax, dword [ebx + 0x334]
call fcn.004abba4
xor edx, edx
push ebp
push 0x4caf31
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x330]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 0x334]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x338]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebx + 0x33c]
mov edx, dword [ebx + 0x330]
mov dword [edx + 0x70], eax
mov cl, 1
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004b5314
lea eax, [ebx + 0x368]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
call fcn.00404cdc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x338]
mov esi, dword [eax]
call dword [esi + 0x2c]
mov byte [ebp - 5], 0
mov eax, dword [ebx + 0x330]
call fcn.004bc514
mov esi, eax
dec esi
test esi, esi
jl 0x4cae47
inc esi
xor edi, edi
mov eax, dword [ebx + 0x330]
mov edx, edi
call fcn.004bc51c
cmp byte [eax + 0x10], 0
je 0x4cae43
mov byte [ebp - 5], 1
jmp 0x4cae47
inc edi
dec esi
jne 0x4cae2a
cmp byte [ebp - 5], 0
je 0x4cae66
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x33c]
mov esi, dword [eax]
call dword [esi + 0x2c]
jmp 0x4cae75
mov eax, dword [ebx + 0x33c]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x2c]
mov eax, dword [ebx + 0x338]
call fcn.0049ae00
mov eax, ebx
call fcn.004cb77c
xor edx, edx
mov eax, ebx
call fcn.004cb62c
mov eax, dword [ebx + 0x328]
call fcn.004c38f0
cmp dword [ebx + 0x368], 0
je 0x4caee4
mov eax, dword [ebx + 0x328]
add eax, 0x318
mov edx, dword [ebx + 0x368]
call fcn.00404cdc
mov eax, dword [ebx + 0x328]
mov dl, 1
call fcn.004c4468
mov eax, dword [ebx + 0x328]
mov byte [eax + 0x31e], 1
call fcn.004c367c
mov eax, dword [ebx + 0x328]
call fcn.004c39b8
mov byte [ebx + 0x35c], 1
mov eax, dword [ebx + 0x308]
mov edx, dword [eax + 0x214]
cmp edx, dword [eax + 0x210]
jne 0x4caf0e
mov eax, dword [ebx + 0x31c]
xor edx, edx
call fcn.00464530
jmp 0x4caf1b
mov eax, dword [ebx + 0x31c]
mov dl, 1
call fcn.00464530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caf38
lea eax, [ebp - 4]
call fcn.0040f37c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caf69
lea eax, [ebp - 0xc]
call fcn.00404c88
ret
Function at 0x401870
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov eax, dword [eax + 4]
cmp eax, dword [section..bss]
je 0x401928
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernelbase.dll_OpenProcess]
mov esi, edx
mov dword [esp + 4], 0
mov dword [esp], 0x100000
mov dword [ebp - 0x20], eax
call eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x401928
mov ecx, eax
mov dword [esp + 4], 0
mov edx, esi
mov eax, ebx
mov dword [esp], 0x11
call fcn.004010a0
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x401938
mov eax, dword [ebp - 0x1c]
mov edx, esi
mov dword [esp], 0x16
mov ecx, edi
mov dword [esp + 4], eax
mov eax, ebx
call fcn.004010a0
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x401950
cmp eax, 0xffffffff
je 0x401938
mov dword [esp], edi
mov dword [esp + 4], 0
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
sub esp, 8
mov esi, eax
mov dword [esp], edi
mov edi, dword [sym.imp.kernelbase.dll_CloseHandle]
call edi
sub esp, 4
cmp esi, 0x102
je 0x401960
lea esi, [esi]
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
jmp 0x401928
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_CloseHandle]
xor eax, eax
sub esp, 4
jmp 0x40192d
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x401928
test byte [section..data], 8
jne 0x4019b0
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_TerminateProcess]
sub esp, 8
mov dword [esp], esi
call edi
sub esp, 4
jmp 0x401928
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], str.terminating_process__04lx_n
mov dword [esp + 8], str.send_end_session_messages
mov dword [esp + 4], 0x408000
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.004015e0
jmp 0x40198d
Function at 0x401d10
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x26c
call dword [0x416574]
mov dword [esp + 4], 0x415000
mov dword [esp], eax
call dword [0x416580]
sub esp, 8
lea esi, [esi]
lea esi, [esi]
mov dword [esp + 4], 0
mov dword [esp], 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
sub esp, 8
mov edi, eax
test eax, eax
je 0x401e80
mov dword [ebp - 0x244], 0x22c
lea ebx, [ebp - 0x244]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.kernel32.dll_Process32FirstW
sub esp, 8
test eax, eax
je 0x401ea0
xor esi, esi
jmp 0x401df5
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_OpenProcess]
sub esp, 0xc
test eax, eax
je 0x401de2
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x24c], eax
call dword [sym.imp.kernelbase.dll_TerminateProcess]
mov edx, dword [ebp - 0x24c]
sub esp, 8
cmp eax, 1
sbb esi, 0xffffffff
mov dword [esp], edx
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.kernel32.dll_Process32NextW
sub esp, 8
test eax, eax
je 0x401e68
mov eax, dword [ebp - 0x23c]
mov edx, dword fs:[0x18]
cmp dword [edx + 0x20], eax
je 0x401de2
cmp eax, dword [section..bss]
je 0x401de2
test byte [section..data], 8
je 0x401d90
lea eax, [ebp - 0x220]
call fcn.00401350
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x23c]
mov dword [esp + 0xc], str.killing_process__04lx__s_n
mov dword [esp + 8], str.kill_processes
mov dword [esp + 4], 0x408000
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.004015e0
mov eax, dword [ebp - 0x23c]
jmp 0x401d90
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
test esi, esi
jne 0x401d40
lea esi, [esi]
mov eax, dword [section..bss]
test eax, eax
je 0x401e90
mov edx, dword [ebp + 8]
test edx, edx
jne 0x401eae
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
jmp 0x401e80
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_OpenProcess]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x401e90
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_TerminateProcess]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
jmp 0x401e90

Function at 0x4028b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
leave
ret
Function at 0x4028f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x24
cmp word [ecx], 0
je 0x402948
mov eax, ecx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x402908
sub eax, ecx
add eax, 2
mov dword [esp], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], edx
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ebx, dword [ebp - 4]
sub esp, 0x18
leave
ret
mov eax, 2
jmp 0x402916

Function at 0x402af0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov dword [esp], str.Usage:_wineboot__options__n
call fcn.00402ad0
mov dword [esp], str.Options__n
call fcn.00402ad0
mov dword [esp], str._____h___help_________Display_this_help_message_n
call fcn.00402ad0
mov dword [esp], str._____e___end_session__End_the_current_session_cleanly_n
call fcn.00402ad0
mov dword [esp], str._____f___force________Force_exit_for_processes_that_dont_exit_cleanly_n
call fcn.00402ad0
mov dword [esp], str._____i___init_________Perform_initialization_for_first_Wine_instance_n
call fcn.00402ad0
mov dword [esp], str._____k___kill_________Kill_running_processes_without_any_cleanup_n
call fcn.00402ad0
mov dword [esp], str._____r___restart______Restart_only__dont_do_normal_startup_operations_n
call fcn.00402ad0
mov dword [esp], str._____s___shutdown_____Shutdown_only__dont_reboot_n
call fcn.00402ad0
mov dword [esp], str._____u___update_______Update_the_wineprefix_directory_n
call fcn.00402ad0
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
Function at 0x402d10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
xor eax, eax
push ebx
lea ebx, [ebp - 0x27c]
sub esp, 0x2cc
mov edi, ebx
mov dword [ebp - 0x29c], edx
mov edx, ecx
lea ebx, [ebp - 0x23c]
mov ecx, 0x10
mov dword [ebp - 0x280], 0x44
rep stosd dword es:[edi], eax
movzx edi, dx
mov dword [esp + 4], 0x104
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_GetSystemWow64Directory2W]
sub esp, 0xc
test eax, eax
je 0x402f30
cmp word [ebp - 0x23c], 0
mov edx, ebx
je 0x402d89
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x402d80
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + str._rundll32.exe]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402d90
test byte [0x408010], 8
jne 0x402ec8
cmp word [ebp - 0x23c], 0
je 0x402f58
mov edx, ebx
add edx, 2
cmp word [edx], 0
jne 0x402dc0
sub edx, ebx
sar edx, 1
add edx, 0x31
cmp word [esi], 0
je 0x402def
mov eax, esi
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x402de0
sub eax, esi
sar eax, 1
add edx, eax
lea eax, [edx + edx]
mov dword [ebp - 0x2a0], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
test eax, eax
je 0x402f30
mov dword [esp + 0x14], esi
mov eax, dword [ebp - 0x29c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str._s_setupapi_InstallHinfSection__s_128__s
mov dword [esp + 0x10], eax
mov edx, dword [ebp - 0x2a0]
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.00401fa0
lea eax, [ebp - 0x290]
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x280]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x402ea8
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x28c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
mov ebx, dword [ebp - 0x290]
sub esp, 4
jmp 0x402e91
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x402f40
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x402ef7
mov eax, ebx
call fcn.004023d0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.machine__x_starting__s_n
mov dword [esp + 8], str.start_rundll32
mov dword [esp + 4], 0x408010
mov dword [esp], 3
call fcn.00402b80
jmp 0x402db0
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], ebx
mov dword [esp], 0x40926c
call fcn.00402590
jmp 0x402ef7
mov edx, 0x31
jmp 0x402dd0
Function at 0x4041a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call 0x404210
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00404410
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x10004850
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x120
mov eax, dword [0x100ca040]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
mov dword [esp + 0x10], 0
cmp dword [esi + 0xa4], 0
je 0x100048c1
mov eax, dword [esi + 4]
push eax
mov edx, dword [eax]
call dword [edx + 0x78]
test eax, eax
je 0x100048c1
push 0x114
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10092930
add esp, 0xc
mov dword [esp + 0x18], 0x114
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x1c], 6
jb 0x100048c1
mov ebx, 1
jmp 0x100048c3
xor ebx, ebx
mov eax, dword [esi + 0x78]
push 0
push dword [esi + 0xac]
call eax
lea edi, [esi + 0x4f8]
lea ebp, [esi + 0x4f4]
lea esp, [esp]
mov eax, dword [ebp]
test eax, eax
je 0x100048f7
push eax
mov eax, dword [esi + 0x94]
call eax
mov dword [ebp], 0
push 0x68
push 0
push edi
call fcn.10092930
mov eax, dword [esp + 0x140]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [esp + 0x138]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 8], 0x14
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 1
mov dword [edi + 0x34], 0
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov ecx, dword [esp + 0x134]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x138]
mov dword [edi + 0x40], eax
mov word [edi + 0x32], ax
xor eax, eax
test ebx, ebx
mov dword [edi + 0x44], 1
mov dword [edi + 0x3c], ecx
sete al
mov word [edi + 0x30], cx
push edi
push ebp
lea eax, [eax*2 + 2]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xac]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x8c]
call eax
test eax, eax
je 0x1000499d
test ebx, ebx
je 0x10004995
xor ebx, ebx
jmp 0x100048e0
mov dword [esp + 0x10], 0x80004005
mov ecx, dword [esi + 0x7c]
push 0
push dword [esi + 0xac]
call ecx
mov ecx, dword [esp + 0x12c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1008c1b5
add esp, 0x120
ret 8
Function at 0x100057a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b2db8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x100ca040]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0x4301c], 1
call fcn.10003c50
xor edi, edi
cmp dword [esi + 0x4307c], edi
jle 0x10005824
lea esp, [esp]
mov eax, dword [esi + 0x600]
add eax, 0x3c
lea eax, [eax + eax*2]
cmp dword [esi + eax*8], 0
jl 0x10005809
mov dword [esi + eax*8], 0xffffffff
mov eax, dword [esi + 0x600]
inc edi
mov ecx, dword [esi + 0x4307c]
inc eax
cdq
idiv ecx
mov dword [esi + 0x600], edx
cmp edi, ecx
jl 0x100057f0
mov eax, dword [esi + 0x43050]
mov ecx, dword [esi + 0xf0]
mov dword [esi + 0x43030], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esi + 0xf4]
mov dword [esi + 0x4301c], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
test eax, eax
je 0x1000589d
test ecx, ecx
je 0x1000589d
mov eax, dword [esi + 0x78]
push 0
push dword [esi + 0xac]
call eax
lea eax, [esp + 0x24]
push eax
push dword [esi + 0xb0]
mov eax, dword [esi + 0x84]
call eax
mov eax, dword [esi + 0x7c]
push 0
push dword [esi + 0xac]
call eax
push 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.1008c1c4
add esp, 4
test eax, eax
jne 0x100058d8
call fcn.1008c0c6
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
lea edx, [esi + 0x43054]
mov eax, ecx
cmp eax, edx
je 0x10005955
mov ecx, dword [edx]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [edx], eax
test ecx, ecx
je 0x10005915
lea eax, [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [edx]
test eax, eax
je 0x1000591d
mov dword [eax], edx
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x20], eax
mov dword [edx + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.10005b30
push dword [esp + 0x10]
call fcn.1008c1b0
add esp, 4
mov dword [esi + 0x43068], 0
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4