joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4354f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
test esi, esi
jns 0x435512
push 0x80070057
call fcn.004189e0
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x43552e
mov eax, esi
mov ecx, edi
call fcn.00418560
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x435555
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x435559
push ecx
push eax
call fcn.0047724b
add esp, 8
test eax, eax
js 0x435508
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x435508
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x435600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp byte [0x4e1a24], bl
je 0x435624
mov al, byte [0x4e1a25]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x20119
lea eax, [ebp - 0x1c]
push eax
mov eax, str.SOFTWAREIE_Tab_
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x4e1a24], 1
call fcn.0040f3d0
mov esi, dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], ebx
cmp eax, ebx
jne 0x435680
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push ebx
push str.HostedMode
push esi
mov dword [ebp - 0xc], 4
call edi
cmp eax, ebx
jne 0x435680
cmp dword [ebp - 0x10], 4
jne 0x435680
cmp dword [ebp - 8], ebx
jne 0x4356db
cmp esi, ebx
je 0x43568e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], ebx
push 0x20119
lea ecx, [ebp - 0x1c]
push ecx
mov eax, str.SOFTWAREIE_Tab_
mov ecx, SysReAllocString
mov dword [ebp - 0x18], ebx
call fcn.0040f3d0
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x4356f6
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push ebx
push str.HostedMode
push esi
mov dword [ebp - 0x10], 4
call edi
cmp eax, ebx
jne 0x4356f6
cmp dword [ebp - 0xc], 4
jne 0x4356f6
cmp dword [ebp - 8], ebx
je 0x4356f6
mov byte [0x4e1a25], 1
cmp esi, ebx
je 0x4356ed
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, byte [0x4e1a25]
mov byte [ebp - 1], dl
cmp esi, ebx
je 0x43570a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4357a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495068
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4b6798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00435600
test al, al
je 0x435943
xor edi, edi
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
mov dword [ebp - 4], edi
push str.SOFTWAREIE_Tab
push SysReAllocString
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x43581e
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
jmp 0x435820
jl 0x435840
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
push ecx
push edi
push str.HelperStartTime
push esi
mov dword [ebp - 0x10], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
or edx, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jne 0x435893
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push edi
sub eax, 0xd53e8000
push 0x989680
sbb ecx, 0x19db1de
push ecx
push eax
call fcn.00485ce0
push 8
lea ecx, [ebp - 0x18]
push ecx
push 0xb
push edi
push str.HelperStartTime
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call ebx
call fcn.00434720
push 1
push 2
push 0x13
call dword [sym.imp.urlmon.dll_CoInternetSetFeatureEnabled]
push 1
call fcn.004348e0
add esp, 4
cmp esi, edi
je 0x4358be
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x2c], esi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push SysReAllocString
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x435901
xor eax, eax
cmp esi, edi
je 0x4358f6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
cmp eax, edi
jl 0x435917
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push edi
push str.1A10
push esi
mov dword [ebp - 0x10], edi
call ebx
push 0x435720
push 0x4e17c4
call fcn.004579e0
push 0x435760
push 0x4e17c8
call fcn.004579e0
add esp, 0x10
cmp esi, edi
je 0x435943
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
test ebx, ebx
je 0x436988
mov eax, dword [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.004638a0
add esp, 4
cmp dword [ebx + 4], 0x100
jne 0x436988
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
jne 0x436988
push 0x11
call edi
mov edx, 0x8000
test dx, ax
je 0x436988
mov eax, dword [ebx + 8]
cmp eax, 0xbb
je 0x43697d
cmp eax, 0x6b
je 0x43697d
cmp eax, 0xbd
je 0x436969
cmp eax, 0x6d
je 0x436969
cmp eax, 0x30
jne 0x436910
cmp byte [0x4e1a34], 0
jne 0x4368e6
mov byte [0x4e1a34], 1
call fcn.004388f0
mov byte [0x4e1a35], al
cmp byte [0x4e1a35], 0
je 0x436988
call fcn.004385b0
push 0
push esi
mov edi, 0x64
call fcn.004386c0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x53
jne 0x436927
mov eax, esi
call fcn.0043d2d0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x52
jne 0x43693c
call fcn.0043d2f0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x4e
jne 0x436952
push esi
call fcn.00441930
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x49
jne 0x436988
mov dword [ebx + 8], 0x4e
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
or esi, 0xffffffff
call fcn.004387a0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, 1
call fcn.004387a0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4385b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SOFTWAREIE_Tab
push SysReAllocString
mov dword [ebp - 8], 0x64
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438606
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.ZoomFactor
push esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp - 8]
test esi, esi
je 0x438614
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4386c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ea48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4b6798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x94]
test eax, eax
je 0x438725
mov ecx, 3
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], edi
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
mov dword [ebp - 4], 0
mov edx, dword [eax]
mov edx, dword [edx + 0xd8]
push 0x3f
push eax
call edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp byte [ebp + 0xc], 0
jne 0x438782
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREIE_Tab
push SysReAllocString
mov dword [ebp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x438782
mov esi, dword [ebp + 0xc]
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push str.ZoomFactor
push esi
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x438782
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x439710
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi + 0xe8], 0
jne 0x43975f
lea eax, [ebp - 8]
push eax
push 0x46fcb0
mov byte [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp - 8], 0
jne 0x43975f
mov ecx, dword [esi + 4]
push 0x45d
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.0043c710
test al, al
je 0x43975f
push esi
call fcn.0043d430
mov esp, ebp
pop ebp
ret
Function at 0x439830
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0047cc30
lea eax, [esi + 0x1d0]
mov ecx, 8
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0
cmp dword [eax + 0x14], ecx
jb 0x439872
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
jmp 0x439875
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x1c8], ecx
lea eax, [esi + 0x1b4]
jb 0x439885
mov eax, dword [eax]
cmp dword [esi + 0x200], ecx
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x1ec]
jb 0x43989d
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x4398a0
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
push esi
call ecx
mov esp, ebp
pop ebp
ret

Function at 0x4398c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f290
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x4b6798]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
cmp dword [ecx + 0x198], eax
jne 0x439907
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
and edx, 0xffffff05
or edx, 5
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov byte [esp + 0xc], al
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
push str.enable_direct_invoke
lea edx, [esp + 0x24]
push edx
call eax
lea eax, [esp + 0xc]
mov byte [esp + 0x38], 2
call fcn.0044ef10
lea eax, [esp + 0x1c]
call fcn.0044f5d0
mov bl, al
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044ef10
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43abb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, edi
je 0x43ac97
cmp ebx, 0xffffffff
je 0x43ac97
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
jne 0x43ac0b
mov dword [ebp - 8], 0x80004005
jmp 0x43ac49
lea ecx, [esi + 1]
push ecx
call fcn.00472e2e
mov edi, eax
add esp, 4
test edi, edi
jne 0x43ac26
mov dword [ebp - 8], 0x80004003
jmp 0x43ac49
push 0
lea edx, [ebp - 0xc]
push edx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43ac69
mov dword [ebp - 8], 0x80004005
push edi
call fcn.004736d0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret 8
push edi
mov byte [esi + edi], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00486070
mov ecx, esp
mov edx, esi
mov eax, edi
mov esi, ecx
call fcn.00409720
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040f150
jmp 0x43ac40
mov dword [ebp - 8], 0x80070006
jmp 0x43ac49

Function at 0x43cfe0
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push eax
push str.iexplore.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x440c10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493048
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, esi
je 0x440d56
call dword [sym.imp.USER32.dll_EmptyClipboard]
push str.text
lea edx, [ebp + 0xc]
push edx
call fcn.0044f840
mov edi, dword [eax]
cmp edi, esi
jne 0x440c74
mov dword [ebp - 0x14], esi
jmp 0x440cb4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [eax + eax + 2]
mov eax, ebx
call fcn.00486070
mov esi, esp
test esi, esi
je 0x440cad
push ebx
push esi
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push 0xfde9
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x14], eax
jmp 0x440cb4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440cc0
sub eax, edx
sar eax, 1
lea ebx, [eax + eax + 2]
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x440d56
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x440d56
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push esi
call fcn.00479800
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_SendInput]
push 0x1c
lea edx, [ebp - 0x30]
xor eax, eax
push edx
push 1
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0x56
mov dword [ebp - 0x28], eax
call esi
push 0x1c
lea ecx, [ebp - 0x30]
push ecx
mov eax, 0x56
push 1
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], 2
call esi
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.0044ef10
lea esp, [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4417f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490bab
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.0047f210
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call edi
mov esi, eax
test esi, esi
je 0x44184a
push 5
push esi
call edi
mov esi, eax
test esi, esi
je 0x44184a
push 5
push esi
call edi
mov esi, eax
xor ecx, ecx
mov dword [ebp - 0x103c], 7
mov dword [ebp - 0x1040], 0
mov word [ebp - 0x1050], cx
push 0x800
lea edx, [ebp - 0x1034]
push edx
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, 8
test eax, eax
je 0x4418fc
push 0xa
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.00477397
add esp, 0xc
push 7
push str._debug:
lea eax, [ebp - 0x1050]
call fcn.004046f0
lea eax, [ebp - 0x34]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4418b0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x34]
push ecx
lea eax, [ebp - 0x1050]
call fcn.004046f0
mov eax, dword [ebp - 0x1050]
cmp dword [ebp - 0x103c], edi
jae 0x4418e3
lea eax, [ebp - 0x1050]
push 0
push 0
push eax
lea edx, [ebp - 0x1034]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x103c], edi
jb 0x441913
mov eax, dword [ebp - 0x1050]
push eax
call fcn.004736d0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret 4
Function at 0x442010
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e91b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b6798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00472fda
push 4
mov dword [ebp - 4], 0
call fcn.004739eb
mov edi, eax
add esp, 4
test edi, edi
je 0x44208c
call fcn.004725b9
mov dword [edi], eax
call fcn.00472378
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004722ad
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x442082
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004722d5
jmp 0x44208e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4425e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f1b3
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4b6798]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
cmp edx, ebx
jle 0x44279b
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x442635
mov ecx, dword [ebp + 8]
cmp eax, ebx
jl 0x442646
cmp eax, dword [ecx + 8]
jge 0x442646
mov ecx, dword [ecx + 4]
mov esi, dword [ecx + eax*4]
jmp 0x442648
xor esi, esi
mov dword [esp + 0x20], esi
cmp esi, ebx
je 0x44265c
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], ebx
cmp esi, ebx
je 0x442774
push 0x418a00
push 0x418a10
push 2
push 0x10
lea ecx, [esp + 0x54]
push ecx
call fcn.00475624
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x74], 1
call edi
cmp eax, ebx
jl 0x4427b4
mov ecx, dword [ebp + 0xc]
mov eax, 8
push ecx
mov word [esp + 0x58], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x5c], eax
cmp eax, ebx
jne 0x4426b9
cmp dword [ebp + 0xc], ebx
jne 0x4427ba
lea eax, [esp + 0x44]
mov edx, 8
push eax
mov word [esp + 0x58], dx
call edi
cmp eax, ebx
jl 0x4427b4
mov edx, dword [ebp + 0x10]
mov ecx, 8
push edx
mov word [esp + 0x48], cx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x4c], eax
cmp eax, ebx
jne 0x4426f7
cmp dword [ebp + 0x10], ebx
jne 0x4427d6
lea ecx, [esp + 0x34]
mov eax, 8
push ecx
mov word [esp + 0x48], ax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
push ebx
mov byte [esp + 0x78], 2
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
push edx
push 1
push 0x400
push 0x4986ec
push 1
push esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], ebx
call eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x1c], eax
call edi
push 0x418a00
push 2
push 0x10
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x80], bl
call fcn.004756e7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], 0xffffffff
cmp esi, ebx
je 0x44278c
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x1c]
jl 0x442632
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
call fcn.004189e0
mov edx, 0xa
push 0x8007000e
mov word [esp + 0x58], dx
mov dword [esp + 0x60], 0x8007000e
call fcn.004189e0
mov eax, 0xa
push 0x8007000e
mov word [esp + 0x48], ax
mov dword [esp + 0x50], 0x8007000e
call fcn.004189e0
int3