joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c632
Capabilities:
Check os version
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0x15c
mov eax, 0x52fd41
call fcn.00507124
mov edi, ecx
cmp dword [edi + 0x714], 0
jne 0x46c653
mov al, 1
jmp 0x46c868
sub esp, 0x18
lea esi, [edi + 0x704]
mov ecx, esp
push esi
call fcn.0044f7a0
call fcn.00483dad
add esp, 0x18
mov edx, 0x565938
mov ecx, esi
mov bl, al
call fcn.00465149
test al, al
je 0x46c866
mov esi, 0x114
lea eax, [ebp - 0x158]
push esi
push 0
push eax
call fcn.00506ab0
add esp, 0xc
mov dword [ebp - 0x158], esi
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x565940
push 0x69
push 0
call esi
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x46c866
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 0x15c]
mov dword [ebp - 0x168], eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x28]
lea eax, [edi + 0x658]
push 0x565948
mov edx, eax
mov dword [ebp - 0x160], eax
call fcn.00453de4
pop ecx
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
push 0x80
push 4
push eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 8
push eax
cmovae ecx, dword [ebp - 0x28]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46c761
and dword [ebp - 0x15c], 0
lea eax, [ebp - 0x15c]
push 0
push eax
push dword [ebp - 0x164]
push dword [ebp - 0x168]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x565960
push 0x6d
xor edi, edi
push edi
call esi
mov esi, eax
test esi, esi
jne 0x46c779
push edi
jmp 0x46c85c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
xor esi, esi
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp - 0x160]
lea ecx, [ebp - 0x40]
push str.NFWCHK.exe.config
mov ebx, eax
call fcn.00453de4
pop ecx
push esi
push 0x80
push 4
push esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push esi
cmovae ecx, dword [ebp - 0x40]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46c7ef
and dword [ebp - 0x15c], 0
lea eax, [ebp - 0x15c]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x154], 6
lea eax, [ebp - 0x28]
push ecx
mov ecx, esp
jae 0x46c813
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00450b9d
call fcn.00483c62
jmp 0x46c826
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00450b9d
call fcn.00483a0a
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp al, 1
lea eax, [ebp - 0x28]
sete bl
cmp dword [ebp - 0x14], 8
pop ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004510a8
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004510a8
mov al, bl
call fcn.005070d3
ret
Function at 0x46c86e
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x52fd99
call fcn.00507124
mov esi, ecx
push 8
lea eax, [esi + 0x2a4]
pop ebx
cmp dword [eax + 0x14], ebx
jb 0x46c88c
mov eax, dword [eax]
push eax
call fcn.0050596f
pop ecx
mov ecx, dword [esi + 0x734]
mov esi, dword [ecx]
jmp 0x46c8a4
cmp dword [esi + 8], eax
je 0x46c8b0
mov esi, dword [esi]
cmp ecx, esi
jne 0x46c89d
xor al, al
call fcn.005070d3
ret
lea eax, [esi + 0x13c]
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x7c], eax
call fcn.0044f7a0
xor edx, edx
lea edi, [esi + 0x1b4]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x34], edx
je 0x46c905
cmp dword [edi + 0x14], ebx
jb 0x46c8db
mov edx, dword [edi]
jmp 0x46c8dd
mov edx, edi
cmp dword [ebp - 0x30], ebx
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
add esi, 0x1e4
cmp dword [esi + 0x14], ebx
jb 0x46c8f6
mov ecx, dword [esi]
jmp 0x46c8f8
mov ecx, esi
xor ebx, ebx
inc ebx
push ebx
push edx
push eax
push ecx
push 0
push 0
jmp 0x46c92e
cmp dword [edi + 0x14], ebx
jb 0x46c90e
mov ecx, dword [edi]
jmp 0x46c910
mov ecx, edi
add esi, 0x1e4
cmp dword [esi + 0x14], ebx
jb 0x46c91f
mov eax, dword [esi]
jmp 0x46c921
mov eax, esi
xor ebx, ebx
inc ebx
push ebx
push ecx
push eax
push str.explorer.exe
push edx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x59535c], 0
mov dword [ebp - 0x78], eax
je 0x46c9d8
mov edx, edi
lea ecx, [ebp - 0x74]
call fcn.00480835
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.00480835
mov edi, eax
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00480835
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 0x10
jb 0x46c97e
mov ecx, dword [ecx]
cmp dword [edi + 0x14], 0x10
jb 0x46c986
mov edi, dword [edi]
cmp dword [eax + 0x14], 0x10
jb 0x46c98e
mov eax, dword [eax]
mov esi, dword [ebp - 0x78]
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___startup_ret__d_:_n_product__s___n_arg__s___n_dir__s_
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x20
lea ecx, [ebp - 0x2c]
push 0
push ebx
call fcn.0044ea00
push 0
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0044ea00
push 0
push ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.0044ea00
jmp 0x46c9db
mov esi, dword [ebp - 0x78]
push 0x5659e4
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
push 0
mov byte [ebp - 4], 4
call fcn.0050344e
pop ecx
push edx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00462deb
push 0
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0044ea00
push 0x5659f4
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
call fcn.00462d8a
push 0
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0044ea00
push esi
call fcn.0045f7ae
mov ecx, eax
call fcn.00460716
push 0
push ebx
lea ecx, [ebp - 0x44]
call fcn.004510a8
cmp esi, 0x20
setg al
jmp 0x46c8aa
Function at 0x46f15a
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x530393
call fcn.00507124
lea ecx, [ebp - 0x40]
call fcn.00481d11
xor ebx, ebx
lea ecx, [ebp - 0x58]
push str._startmodel:floatmode
mov dword [ebp - 4], ebx
call fcn.00450d66
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x40]
push 1
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], 8
push ebx
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59535c], ebx
je 0x46f21a
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.00480835
mov esi, eax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00480835
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x46f1d9
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x46f1e1
mov eax, dword [eax]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___startup_wcc_ret__d_:_n_product__s___n_arg__s_
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x1c
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0044ea00
push str.prodstarttime
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push ebx
mov byte [ebp - 4], 4
call fcn.0050344e
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00462deb
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0044ea00
push str.prodstartcode
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00462d8a
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004510a8
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004510a8
call fcn.005070d3
ret
Function at 0x46fb68
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x530589
call fcn.00507124
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [edi + 0x550]
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], ebx
call fcn.0044f7a0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], 1
cmp dword [esi + 0x10], ebx
jne 0x46fbbf
lea eax, [edi + 0x274]
cmp esi, eax
je 0x46fbb6
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00450ff3
cmp dword [esi + 0x10], ebx
je 0x46fc59
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
push esi
call fcn.0044f7a0
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push str._localappdata_
call fcn.00450d66
mov byte [ebp - 4], bl
call fcn.004825a4
add esp, 0x30
test al, al
je 0x46fc04
lea ecx, [ebp - 0x2c]
call fcn.00485391
push eax
mov ecx, esi
call fcn.00460dfd
jmp 0x46fc49
push 3
push ebx
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00453a7c
mov dword [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46fc46
mov ebx, 0x566550
push ebx
call fcn.00450d3f
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450cc6
xor ebx, ebx
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004510a8
cmp dword [esi + 0x10], ebx
jne 0x46fc77
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0046fc81
push eax
mov ecx, esi
call fcn.00460dfd
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004510a8
mov eax, esi
call fcn.005070d3
ret 4
Function at 0x46fe25
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x530624
call fcn.00507124
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.004702fa
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
je 0x46fea3
cmp dword [esi + 0x14], 8
jb 0x46fe51
mov ecx, dword [esi]
jmp 0x46fe53
mov ecx, esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
push ebx
push ecx
push eax
push 0x566564
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59535c], ebx
je 0x46ff0c
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00480835
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x46fe93
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___priority_browser_open_url__s___ret__d_.
jmp 0x46feee
cmp dword [esi + 0x14], 8
jb 0x46fead
mov eax, dword [esi]
jmp 0x46feaf
mov eax, esi
push 4
push ebx
push ebx
push eax
push 0x5665a0
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59535c], ebx
je 0x46ff0c
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00480835
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x46fee0
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___browser_open_url__s___ret__d_.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea00
cmp byte [ebp + 0xc], 0
je 0x46ff69
push str.installpageopentime
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push ebx
mov byte [ebp - 4], 3
call fcn.0050344e
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00462deb
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0044ea00
push str.installpageopencode
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.00462d8a
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004510a8
cmp edi, 0x20
setg al
call fcn.005070d3
ret 8
Function at 0x47041d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x444
mov eax, 0x530747
call fcn.00507124
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x44c], ebx
push 0x40e
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x440], 1
call fcn.00506ab0
xor eax, eax
mov dword [ebp - 0x444], 0x208
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x438]
push esi
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
mov dword [ebp - 0x44c], 1
call fcn.0046516b
add esp, 0x10
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push ecx
cmovae eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x43c]
push ecx
push ebx
push 0x20019
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x470536
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x440]
push eax
push 0
push 0x56663c
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x470536
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
jne 0x4705c4
cmp dword [ebp - 0x43c], 0
je 0x47054e
push dword [ebp - 0x43c]
call ebx
and dword [ebp - 0x43c], 0
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x43c]
push ecx
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
xor ecx, ecx
push ecx
push 0x20219
push ecx
push ecx
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4705e0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x440]
push eax
push 0
push 0x566694
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4705e0
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x4705e0
lea eax, [ebp - 0x420]
push eax
call fcn.00450d3f
pop ecx
push eax
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
call fcn.00450cc6
cmp dword [ebp - 0x43c], 0
je 0x4705f8
push dword [ebp - 0x43c]
call ebx
and dword [ebp - 0x43c], 0
push 0
push 1
lea ecx, [ebp - 0x438]
call fcn.004510a8
mov eax, edi
call fcn.005070d3
ret 8
Function at 0x470611
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x460
mov eax, 0x53079c
call fcn.00507124
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x468], ebx
xor eax, eax
push 0x40e
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], 1
call fcn.00506ab0
xor eax, eax
mov dword [ebp - 0x464], 0x208
mov dword [esi + 0x14], 7
add esp, 0xc
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x43c]
push 0x566790
mov dword [ebp - 0x468], 1
call fcn.00450d66
lea ecx, [ebp - 0x460]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
push ecx
cmovae eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x458]
push ecx
push ebx
push 0x20019
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47079c
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x45c]
push eax
push ebx
push 0x56671c
push dword [ebp - 0x458]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47079c
lea eax, [ebp - 0x424]
push eax
call fcn.00450d3f
pop ecx
push eax
lea eax, [ebp - 0x424]
mov ecx, esi
push eax
call fcn.00450cc6
mov edi, 0x56678c
push edi
call fcn.00450d3f
pop ecx
push eax
push 1
push edi
mov ecx, esi
call fcn.00460f0c
cmp eax, 0xffffffff
je 0x470770
dec eax
mov ecx, esi
push eax
push 1
lea eax, [ebp - 0x454]
push eax
call fcn.00453a7c
push eax
mov ecx, esi
call fcn.00460dfd
push ebx
push 1
lea ecx, [ebp - 0x454]
call fcn.004510a8
cmp dword [esi + 0x14], 8
jb 0x47077a
mov eax, dword [esi]
jmp 0x47077c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47079c
mov edi, 0x5667e4
push edi
call fcn.00450d3f
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450cc6
cmp dword [ebp - 0x458], 0
je 0x4707b7
push dword [ebp - 0x458]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x458], ebx
push ebx
push 1
lea ecx, [ebp - 0x43c]
call fcn.004510a8
mov eax, esi
call fcn.005070d3
ret 4
Function at 0x470c54
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x58e700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push 0
push 2
mov dword [ebp - 0x45c], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x470d94
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x470d68
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x450], eax
je 0x470d5a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00506ab0
add esp, 0xc
push dword [ebp - 0x450]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x460], eax
test eax, eax
je 0x470d17
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00450d66
cmp dword [edi + 0x14], 8
jb 0x470d33
mov eax, dword [edi]
jmp 0x470d35
mov eax, edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x228]
push 0
push eax
call fcn.00460f0c
push 0
push 1
cmp eax, 0xffffffff
jne 0x470d72
lea ecx, [ebp - 0x228]
call fcn.004510a8
lea eax, [ebp - 0x458]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x470ca9
jmp 0x470d8d
mov ecx, dword [ebp - 0x45c]
mov bl, 1
mov eax, dword [ebp - 0x450]
mov dword [ecx], eax
lea ecx, [ebp - 0x228]
call fcn.004510a8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501f3e
mov esp, ebp
pop ebp
ret 8

Function at 0x470ec5
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x5308cf
call fcn.00507124
mov esi, dword [ebp + 8]
xor edi, edi
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.00506ab0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x470f6f
xor eax, eax
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x24c], ax
lea ecx, [ebp - 0x24c]
push 3
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x23c], edi
push eax
call fcn.00450cc6
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00460dfd
push edi
push 1
lea ecx, [ebp - 0x24c]
call fcn.004510a8
mov edx, esi
lea ecx, [ebp - 0x234]
call fcn.0044fea2
push edi
push 1
lea ecx, [ebp - 0x234]
mov bl, al
call fcn.004510a8
mov al, bl
call fcn.005070d3
ret 4
Function at 0x476ec5
Capabilities:
Print debug messages

Disassembly:
push 0x7c
mov eax, 0x531674
call fcn.00507124
mov eax, ecx
mov dword [ebp - 0x44], eax
cmp dword [eax + 0x78c], 0
je 0x477004
push ecx
lea ecx, [ebp - 0x58]
call fcn.0047c20f
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edi, [ebp - 0x78]
mov esi, eax
lea eax, [ebp - 0x58]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
push 3
pop eax
mov word [ebp - 0x58], ax
lea esi, [ebp - 0x58]
mov dword [ebp - 0x50], eax
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x58]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x78c]
call fcn.004b9414
push 1
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push str.WSAppInvoke
push eax
call fcn.004b96ac
add esp, 0x14
test eax, eax
jns 0x477004
xor ebx, ebx
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x48]
mov dword [ebp - 4], ebx
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
test eax, eax
js 0x476ff3
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x476ff6
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x476ff3
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x59535c], ebx
je 0x476fea
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.00450d66
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004809e4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x476fb7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___bstrDescription___s
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x14
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004510a8
push dword [ebp - 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x48]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x477004
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.005070d3
ret