joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46949a
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x14
push edi
mov edi, ecx
cmp dword [edi + 0x73c], 0
je 0x4695c1
mov eax, dword [edi + 0x734]
push esi
mov esi, dword [eax]
cmp eax, esi
je 0x4695c0
push ebx
push ebp
mov ebp, dword [esp + 0x28]
cmp dword [esi + 8], ebp
jne 0x4695b0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
lea ebx, [edi + 0x778]
push eax
mov ecx, ebx
call fcn.00473238
test eax, eax
je 0x46950c
lea eax, [esi + 0x19c]
cmp dword [eax + 0x14], 8
jb 0x4694f5
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46950c
and dword [esi + 0x210], 0
jmp 0x4695b0
lea ecx, [esi + 8]
call fcn.00468333
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00473468
mov ecx, dword [ebx]
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x46953e
cmp ebp, dword [eax + 0x10]
jl 0x46953e
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
jmp 0x469546
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ecx
je 0x469559
push eax
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.0044da31
push 8
lea eax, [esi + 0x3c]
pop ecx
mov dword [esp + 0x10], eax
cmp dword [eax + 0x14], ecx
jb 0x46956e
mov eax, dword [eax]
mov dword [esp + 0x10], eax
lea ebp, [esi + 0x84]
cmp dword [ebp + 0x14], ecx
jb 0x46957c
mov ebp, dword [ebp]
lea ebx, [esi + 0x24]
cmp dword [ebx + 0x14], ecx
jb 0x469586
mov ebx, dword [ebx]
lea edx, [esi + 0xc]
cmp dword [edx + 0x14], ecx
jb 0x469590
mov edx, dword [edx]
mov ecx, dword [edi + 0x73c]
push 0
push dword [esp + 0x14]
mov eax, dword [ecx]
push ebp
push dword [esi + 8]
push 0x567504
push ebx
push edx
call dword [eax + 0xc]
mov ebp, dword [esp + 0x28]
mov esi, dword [esi]
cmp dword [edi + 0x734], esi
jne 0x4694c4
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x14
ret 4
Function at 0x470896
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x5325de
call fcn.00509264
lea ecx, [ebp - 0x40]
call fcn.00483acf
xor ebx, ebx
lea ecx, [ebp - 0x58]
push str._startmodel:floatmode
mov dword [ebp - 4], ebx
call fcn.00450dd2
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 [0x59835c], ebx
je 0x470956
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.00482623
mov esi, eax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00482623
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x470915
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x47091d
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 [0x59835c]
call fcn.00481b54
add esp, 0x1c
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea87
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0044ea87
push str.prodstarttime
lea ecx, [ebp - 0x28]
call fcn.0044ea5a
push ebx
mov byte [ebp - 4], 4
call fcn.0050558e
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00463907
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0044ea87
push str.prodstartcode
lea ecx, [ebp - 0x28]
call fcn.0044ea5a
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.004638a6
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea87
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00451108
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00451108
call fcn.00509213
ret
Function at 0x4713fa
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x53280d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x54]
lea eax, [edi + 0x550]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x4c], ebx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], ebx
call fcn.0044f86d
xor ebp, ebp
mov dword [esp + 0x4c], ebx
inc ebp
mov dword [esp + 0x14], ebp
cmp dword [esi + 0x10], ebx
jne 0x471475
lea eax, [edi + 0x274]
mov ecx, esi
push eax
call fcn.004510b3
cmp dword [esi + 0x10], ebx
je 0x471515
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.0044f86d
sub esp, 0x18
mov dword [esp + 0x7c], ebp
mov ecx, esp
push str._localappdata_
call fcn.00450dd2
mov byte [esp + 0x7c], bl
call fcn.00484357
add esp, 0x30
test al, al
je 0x4714ba
lea ecx, [esp + 0x24]
call fcn.004870d7
push eax
mov ecx, esi
call fcn.00461625
jmp 0x471505
push 3
push ebx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00453e03
mov dword [esp + 0x4c], 2
lea eax, [esp + 0x24]
cmp dword [esp + 0x38], 8
cmovae eax, dword [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x471501
mov ebx, 0x569550
push ebx
call fcn.00450dae
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450d41
xor ebx, ebx
mov byte [esp + 0x4c], bl
push ebx
push ebp
lea ecx, [esp + 0x2c]
call fcn.00451108
cmp dword [esi + 0x10], ebx
jne 0x471534
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.00471557
push eax
mov ecx, esi
call fcn.00461625
push ebx
push ebp
lea ecx, [esp + 0x2c]
call fcn.00451108
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00504075
add esp, 0x3c
ret 4
Function at 0x471749
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x5328ae
call fcn.00509264
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00471c8f
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
je 0x4717c7
cmp dword [esi + 0x14], 8
jb 0x471775
mov ecx, dword [esi]
jmp 0x471777
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 0x569564
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59835c], ebx
je 0x471830
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00482623
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4717b7
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 0x471812
cmp dword [esi + 0x14], 8
jb 0x4717d1
mov eax, dword [esi]
jmp 0x4717d3
mov eax, esi
push 4
push ebx
push ebx
push eax
push 0x5695a0
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59835c], ebx
je 0x471830
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00482623
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x471804
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 [0x59835c]
call fcn.00481b54
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea87
cmp byte [ebp + 0xc], 0
je 0x47188d
push str.installpageopentime
lea ecx, [ebp - 0x28]
call fcn.0044ea5a
push ebx
mov byte [ebp - 4], 3
call fcn.0050558e
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00463907
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0044ea87
push str.installpageopencode
lea ecx, [ebp - 0x28]
call fcn.0044ea5a
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.004638a6
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea87
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00451108
cmp edi, 0x20
setg al
call fcn.00509213
ret 8
Function at 0x471db2
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5329d7
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov edi, dword [esp + 0x468]
xor ebx, ebx
mov esi, dword [esp + 0x46c]
xor eax, eax
mov dword [esp + 0x24], ebx
xor ebp, ebp
push 0x40e
mov word [esp + 0x48], ax
inc ebp
lea eax, [esp + 0x4a]
mov dword [esp + 0x2c], edi
push ebx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebp
call fcn.00508bf0
xor eax, eax
mov dword [esp + 0x28], 0x208
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
mov dword [esp + 0x46c], ebx
lea ecx, [esp + 0x38]
push esi
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
mov dword [esp + 0x34], ebp
call fcn.0046604e
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x460], ebp
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push ecx
cmovae eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
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]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x471ed4
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x56963c
push dword [esp + 0x28]
call ebp
test eax, eax
jne 0x471ed4
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
jne 0x471f44
cmp dword [esp + 0x14], 0
je 0x471ee6
push dword [esp + 0x14]
call ebx
and dword [esp + 0x14], 0
cmp dword [esp + 0x40], 8
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
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 0x471f5c
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x569694
push dword [esp + 0x28]
call ebp
test eax, eax
jne 0x471f5c
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
je 0x471f5c
lea eax, [esp + 0x44]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.00450d41
cmp dword [esp + 0x14], 0
je 0x471f6e
push dword [esp + 0x14]
call ebx
and dword [esp + 0x14], 0
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.00451108
mov eax, edi
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.00504075
add esp, 0x450
ret 8
Function at 0x471fa7
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x532a32
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x474]
mov dword fs:[0], eax
mov esi, dword [esp + 0x484]
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor eax, eax
push 0x40e
mov word [esp + 0x60], ax
xor ebp, ebp
lea eax, [esp + 0x62]
mov dword [esp + 0x2c], esi
push ebx
inc ebp
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebp
call fcn.00508bf0
xor eax, eax
mov dword [esp + 0x28], 0x208
mov dword [esi + 0x14], 7
add esp, 0xc
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov dword [esp + 0x47c], ebx
lea ecx, [esp + 0x2c]
push 0x569790
mov dword [esp + 0x28], ebp
call fcn.00450dd2
lea ecx, [esp + 0x20]
mov dword [esp + 0x47c], ebp
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push ecx
cmovae eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
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 0x472130
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push 0x56971c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x472130
lea eax, [esp + 0x5c]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.00450d41
mov edi, 0x56978c
push edi
call fcn.00450dae
pop ecx
push eax
push ebp
push edi
mov ecx, esi
call fcn.00461732
cmp eax, 0xffffffff
je 0x472104
dec eax
mov ecx, esi
push eax
push ebp
lea eax, [esp + 0x4c]
push eax
call fcn.00453e03
push eax
mov ecx, esi
call fcn.00461625
push ebx
push ebp
lea ecx, [esp + 0x4c]
call fcn.00451108
cmp dword [esi + 0x14], 8
jb 0x47210e
mov eax, dword [esi]
jmp 0x472110
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x472130
mov edi, 0x5697e4
push edi
call fcn.00450dae
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450d41
cmp dword [esp + 0x14], 0
je 0x472145
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.00451108
mov eax, esi
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.00504075
add esp, 0x46c
ret 4
Function at 0x472696
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x468
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x460], eax
mov eax, dword [esp + 0x46c]
push ebx
push ebp
push esi
push 0
mov dword [esp + 0x18], eax
xor bl, bl
mov eax, dword [esp + 0x480]
push 2
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x4727c5
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x47279c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x20], eax
je 0x472790
xor eax, eax
push 0x206
push eax
mov word [esp + 0x268], ax
lea eax, [esp + 0x26a]
push eax
call fcn.00508bf0
add esp, 0xc
push dword [esp + 0x20]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x472756
push 0x104
lea eax, [esp + 0x264]
push eax
push 0
push ebp
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x24c]
call fcn.00450dd2
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x250]
call fcn.00472f07
push 0
push 1
cmp eax, 0xffffffff
jne 0x4727a6
lea ecx, [esp + 0x250]
call fcn.00451108
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4726f2
jmp 0x4727be
mov ecx, dword [esp + 0x18]
mov bl, 1
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x250]
call fcn.00451108
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x46c]
mov al, bl
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00504075
add esp, 0x468
ret 8

Function at 0x472940
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x532ba6
call fcn.00509264
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.00508bf0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4729ea
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.00450d41
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00461625
push edi
push 1
lea ecx, [ebp - 0x24c]
call fcn.00451108
mov edx, esi
lea ecx, [ebp - 0x234]
call fcn.0044ff65
push edi
push 1
lea ecx, [ebp - 0x234]
mov bl, al
call fcn.00451108
mov al, bl
call fcn.00509213
ret 4
Function at 0x478a62
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x533972
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x78c], 0
je 0x478bec
push ecx
lea ecx, [esp + 0x20]
call fcn.0047e1a8
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edi, [esp + 0x2c]
mov esi, eax
lea eax, [esp + 0x1c]
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 [esp + 0x1c], ax
lea esi, [esp + 0x1c]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1c]
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 + 0x78c]
call fcn.004bac85
push 1
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x54]
push ecx
push str.WSAppInvoke
push eax
call fcn.004baf15
add esp, 0x14
test eax, eax
jns 0x478bec
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x98], ebx
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
test eax, eax
js 0x478bd6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x478bda
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x478bd6
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x59835c], ebx
je 0x478bcc
push dword [esp + 0x18]
lea ecx, [esp + 0x60]
call fcn.00450dd2
lea edx, [esp + 0x5c]
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x74]
call fcn.004827d2
mov byte [esp + 0x98], 2
cmp dword [eax + 0x14], 0x10
jb 0x478b97
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 [0x59835c]
call fcn.00481b54
add esp, 0x14
lea ecx, [esp + 0x74]
push ebx
push 1
call fcn.0044ea87
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00451108
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
or dword [esp + 0x98], 0xffffffff
test eax, eax
je 0x478bec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00504075
add esp, 0x88
ret
Function at 0x4790cb
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x533a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x888]
lea eax, [esp + 0x5c]
push eax
call fcn.004719e3
mov edx, eax
xor ebx, ebx
mov dword [esp + 0x80], ebx
cmp dword [edx + 0x14], 8
jb 0x479122
mov edx, dword [edx]
mov ecx, dword [esi + 0x7f4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x5c]
xor ebp, ebp
push ebx
inc ebp
push ebp
call fcn.00451108
mov ecx, dword [esi + 0x7dc]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x774]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x7e0]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x104]
lea edi, [esi + 0xcb8]
mov ecx, edi
call fcn.004bf1f6
test eax, eax
je 0x47918b
push ebp
push ebx
mov ecx, edi
call fcn.004a171a
mov ecx, dword [esi + 0x7e4]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x7f0]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x104]
push 0x7be
push dword [esi + 0x7c8]
lea ecx, [esi + 0x30]
call fcn.0049c014
push 0x563fae
lea ecx, [esp + 0x30]
call fcn.0044ea5a
push 0x563faf
lea ecx, [esp + 0x18]
mov dword [esp + 0x84], ebp
call fcn.0044ea5a
push str.downloader_error_pop
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 2
call fcn.0044ea5a
lea eax, [esp + 0x2c]
mov byte [esp + 0x80], 3
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.004600d9
push ebx
push ebp
lea ecx, [esp + 0x4c]
call fcn.0044ea87
push ebx
push ebp
lea ecx, [esp + 0x1c]
call fcn.0044ea87
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0044ea87
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00504075
add esp, 0x70
ret
Function at 0x47d4e1
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x534445
call fcn.00509264
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
push eax
call fcn.0044f86d
lea ecx, [ebp - 0x2c]
call fcn.00483705
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x47d517
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00450c1b
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00451108
push 1
push esi
push esi
push dword [ebp - 0x30]
push str.Open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x30]
cmp eax, 0x20
setg bl
add ecx, 0xfffffff0
call fcn.00450ce2
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00451108
mov al, bl
call fcn.00509213
ret

Function at 0x47e41e
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
push 0x56ca04
push dword [esp + 0x144]
mov esi, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
call fcn.00507ae0
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test eax, eax
jne 0x47e48b
test esi, esi
je 0x47e484
lea ecx, [esp + 0x28]
call fcn.0047ede7
push eax
mov ecx, esi
call fcn.00461625
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00451108
xor al, al
jmp 0x47e5a8
xor ebx, ebx
test ebp, ebp
je 0x47e49a
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
jmp 0x47e49e
mov dword [esp + 0x1c], ebx
push 9
xor eax, eax
lea edi, [esp + 0x46]
pop ecx
mov word [esp + 0x40], ax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
push ebx
stosw word es:[edi], ax
call fcn.00450e01
mov edi, dword [esp + 0x18]
push 2
pop eax
push eax
push ebx
push edi
call fcn.0050a282
add esp, 0xc
push edi
call fcn.0050a695
pop ecx
push ebx
push ebx
push edi
mov dword [esp + 0x20], eax
call fcn.0050a282
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x47e55f
mov ebx, eax
push ebx
call fcn.004ed091
pop ecx
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
push 1
push ebx
push edi
call fcn.0050a147
push ebx
mov edx, edi
xor ecx, ecx
call fcn.0047eb91
add esp, 0x14
mov ebx, eax
xor ecx, ecx
push 2
pop edx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ed091
pop ecx
push dword [esp + 0x14]
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.0047eb91
pop ecx
mov ecx, dword [esp + 0x20]
push ebx
push esi
call fcn.00450d41
push esi
call fcn.00504d2f
pop ecx
push edi
call fcn.00504d2f
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
pop ecx
push ebx
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x74]
push str._s_d_bytes_to__d_wide_chars
push eax
call fcn.005079a9
add esp, 0x14
test esi, esi
je 0x47e594
lea eax, [esp + 0x68]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.00450d41
push edi
call fcn.00506c87
pop ecx
test ebp, ebp
je 0x47e5a6
mov ecx, dword [esp + 0x1c]
mov dword [ebp], ecx
mov al, 1
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00504075
add esp, 0x12c
ret