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

Disassembly:
sub esp, 0x14
push edi
mov edi, ecx
cmp dword [edi + 0x724], 0
je 0x469518
mov eax, dword [edi + 0x71c]
push esi
mov esi, dword [eax]
cmp eax, esi
je 0x469517
push ebx
push ebp
mov ebp, dword [esp + 0x28]
cmp dword [esi + 8], ebp
jne 0x469507
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
lea ebx, [edi + 0x760]
push eax
mov ecx, ebx
call fcn.00472dbc
test eax, eax
je 0x469463
lea eax, [esi + 0x19c]
cmp dword [eax + 0x14], 8
jb 0x46944c
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x469463
and dword [esi + 0x210], 0
jmp 0x469507
lea ecx, [esi + 8]
call fcn.004682aa
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00472fec
mov ecx, dword [ebx]
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x469495
cmp ebp, dword [eax + 0x10]
jl 0x469495
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
jmp 0x46949d
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ecx
je 0x4694b0
push eax
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.0044da11
push 8
lea eax, [esi + 0x3c]
pop ecx
mov dword [esp + 0x10], eax
cmp dword [eax + 0x14], ecx
jb 0x4694c5
mov eax, dword [eax]
mov dword [esp + 0x10], eax
lea ebp, [esi + 0x84]
cmp dword [ebp + 0x14], ecx
jb 0x4694d3
mov ebp, dword [ebp]
lea ebx, [esi + 0x24]
cmp dword [ebx + 0x14], ecx
jb 0x4694dd
mov ebx, dword [ebx]
lea edx, [esi + 0xc]
cmp dword [edx + 0x14], ecx
jb 0x4694e7
mov edx, dword [edx]
mov ecx, dword [edi + 0x724]
push 0
push dword [esp + 0x14]
mov eax, dword [ecx]
push ebp
push dword [esi + 8]
push 0x5664f4
push ebx
push edx
call dword [eax + 0xc]
mov ebp, dword [esp + 0x28]
mov esi, dword [esi]
cmp dword [edi + 0x71c], esi
jne 0x46941b
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x14
ret 4
Function at 0x470825
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x531fb1
call fcn.00508cd4
lea ecx, [ebp - 0x40]
call fcn.00483595
xor ebx, ebx
lea ecx, [ebp - 0x58]
push str._startmodel:floatmode
mov dword [ebp - 4], ebx
call fcn.00450db2
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 [0x59735c], ebx
je 0x4708e5
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.004820e9
mov esi, eax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004820e9
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x4708a4
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4708ac
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 [0x59735c]
call fcn.0048161a
add esp, 0x1c
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea67
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0044ea67
push str.prodstarttime
lea ecx, [ebp - 0x28]
call fcn.0044ea3a
push ebx
mov byte [ebp - 4], 4
call fcn.00504ffe
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046389c
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0044ea67
push str.prodstartcode
lea ecx, [ebp - 0x28]
call fcn.0044ea3a
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.0046383b
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea67
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004510e8
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004510e8
call fcn.00508c83
ret
Function at 0x4713a4
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5321d5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
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 + 0x538]
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.0044f84d
xor ebp, ebp
mov dword [esp + 0x4c], ebx
inc ebp
mov dword [esp + 0x14], ebp
cmp dword [esi + 0x10], ebx
jne 0x47141f
lea eax, [edi + 0x274]
mov ecx, esi
push eax
call fcn.00451093
cmp dword [esi + 0x10], ebx
je 0x4714bf
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.0044f84d
sub esp, 0x18
mov dword [esp + 0x7c], ebp
mov ecx, esp
push str._localappdata_
call fcn.00450db2
mov byte [esp + 0x7c], bl
call fcn.00483e1d
add esp, 0x30
test al, al
je 0x471464
lea ecx, [esp + 0x24]
call fcn.00486b9e
push eax
mov ecx, esi
call fcn.004615bc
jmp 0x4714af
push 3
push ebx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00453dee
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 0x4714ab
mov ebx, 0x568560
push ebx
call fcn.00450d8e
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450d21
xor ebx, ebx
mov byte [esp + 0x4c], bl
push ebx
push ebp
lea ecx, [esp + 0x2c]
call fcn.004510e8
cmp dword [esi + 0x10], ebx
jne 0x4714de
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.00471501
push eax
mov ecx, esi
call fcn.004615bc
push ebx
push ebp
lea ecx, [esp + 0x2c]
call fcn.004510e8
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.00503aee
add esp, 0x3c
ret 4
Function at 0x4716f3
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x532276
call fcn.00508cd4
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00471bd0
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
je 0x471771
cmp dword [esi + 0x14], 8
jb 0x47171f
mov ecx, dword [esi]
jmp 0x471721
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 0x568574
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59735c], ebx
je 0x4717da
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004820e9
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x471761
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 0x4717bc
cmp dword [esi + 0x14], 8
jb 0x47177b
mov eax, dword [esi]
jmp 0x47177d
mov eax, esi
push 4
push ebx
push ebx
push eax
push 0x5685b0
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59735c], ebx
je 0x4717da
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004820e9
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x4717ae
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 [0x59735c]
call fcn.0048161a
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea67
cmp byte [ebp + 0xc], 0
je 0x471837
push str.installpageopentime
lea ecx, [ebp - 0x28]
call fcn.0044ea3a
push ebx
mov byte [ebp - 4], 3
call fcn.00504ffe
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046389c
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0044ea67
push str.installpageopencode
lea ecx, [ebp - 0x28]
call fcn.0044ea3a
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.0046383b
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea67
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004510e8
cmp edi, 0x20
setg al
call fcn.00508c83
ret 8
Function at 0x471cf3
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x532397
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
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.00508660
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.00465fe5
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 0x471e15
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x56864c
push dword [esp + 0x28]
call ebp
test eax, eax
jne 0x471e15
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
jne 0x471e85
cmp dword [esp + 0x14], 0
je 0x471e27
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 0x471e9d
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x5686a4
push dword [esp + 0x28]
call ebp
test eax, eax
jne 0x471e9d
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
je 0x471e9d
lea eax, [esp + 0x44]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.00450d21
cmp dword [esp + 0x14], 0
je 0x471eaf
push dword [esp + 0x14]
call ebx
and dword [esp + 0x14], 0
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.004510e8
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.00503aee
add esp, 0x450
ret 8
Function at 0x471ee8
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5323f2
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
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.00508660
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 0x5687a0
mov dword [esp + 0x28], ebp
call fcn.00450db2
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 0x472071
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push 0x56872c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x472071
lea eax, [esp + 0x5c]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.00450d21
mov edi, 0x56879c
push edi
call fcn.00450d8e
pop ecx
push eax
push ebp
push edi
mov ecx, esi
call fcn.004616c9
cmp eax, 0xffffffff
je 0x472045
dec eax
mov ecx, esi
push eax
push ebp
lea eax, [esp + 0x4c]
push eax
call fcn.00453dee
push eax
mov ecx, esi
call fcn.004615bc
push ebx
push ebp
lea ecx, [esp + 0x4c]
call fcn.004510e8
cmp dword [esi + 0x14], 8
jb 0x47204f
mov eax, dword [esi]
jmp 0x472051
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x472071
mov edi, 0x5687f4
push edi
call fcn.00450d8e
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450d21
cmp dword [esp + 0x14], 0
je 0x472086
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.004510e8
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.00503aee
add esp, 0x46c
ret 4
Function at 0x4722eb
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x468
mov eax, dword [0x590700]
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 0x47241a
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4723f1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x20], eax
je 0x4723e5
xor eax, eax
push 0x206
push eax
mov word [esp + 0x268], ax
lea eax, [esp + 0x26a]
push eax
call fcn.00508660
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 0x4723ab
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.00450db2
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x250]
call fcn.00472a8b
push 0
push 1
cmp eax, 0xffffffff
jne 0x4723fb
lea ecx, [esp + 0x250]
call fcn.004510e8
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x472347
jmp 0x472413
mov ecx, dword [esp + 0x18]
mov bl, 1
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x250]
call fcn.004510e8
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.00503aee
add esp, 0x468
ret 8
Function at 0x478523
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x533257
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x78c], 0
je 0x4786ad
push ecx
lea ecx, [esp + 0x20]
call fcn.0047dc6e
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.004ba6ab
push 1
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x54]
push ecx
push str.WSAppInvoke
push eax
call fcn.004ba943
add esp, 0x14
test eax, eax
jns 0x4786ad
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 0x478697
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47869b
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x478697
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x59735c], ebx
je 0x47868d
push dword [esp + 0x18]
lea ecx, [esp + 0x60]
call fcn.00450db2
lea edx, [esp + 0x5c]
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x74]
call fcn.00482298
mov byte [esp + 0x98], 2
cmp dword [eax + 0x14], 0x10
jb 0x478658
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 [0x59735c]
call fcn.0048161a
add esp, 0x14
lea ecx, [esp + 0x74]
push ebx
push 1
call fcn.0044ea67
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.004510e8
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 0x4786ad
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.00503aee
add esp, 0x88
ret
Function at 0x478b8c
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x533342
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
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.0047198d
mov edx, eax
xor ebx, ebx
mov dword [esp + 0x80], ebx
cmp dword [edx + 0x14], 8
jb 0x478be3
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.004510e8
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.004d0213
test eax, eax
je 0x478c4c
push ebp
push ebx
mov ecx, edi
call fcn.004a118b
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.0049ba20
push 0x562fae
lea ecx, [esp + 0x30]
call fcn.0044ea3a
push 0x562faf
lea ecx, [esp + 0x18]
mov dword [esp + 0x84], ebp
call fcn.0044ea3a
push str.downloader_error_pop
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 2
call fcn.0044ea3a
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.0045fc40
mov ecx, eax
call fcn.0046006e
push ebx
push ebp
lea ecx, [esp + 0x4c]
call fcn.0044ea67
push ebx
push ebp
lea ecx, [esp + 0x1c]
call fcn.0044ea67
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0044ea67
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.00503aee
add esp, 0x70
ret
Function at 0x47cfa7
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x533d2a
call fcn.00508cd4
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
push eax
call fcn.0044f84d
lea ecx, [ebp - 0x2c]
call fcn.004831cb
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x47cfdd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00450bfb
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004510e8
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.00450cc2
push esi
push 1
lea ecx, [ebp + 8]
call fcn.004510e8
mov al, bl
call fcn.00508c83
ret

Function at 0x47dee4
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
push 0x56b9d4
push dword [esp + 0x144]
mov esi, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
call fcn.00507550
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test eax, eax
jne 0x47df51
test esi, esi
je 0x47df4a
lea ecx, [esp + 0x28]
call fcn.0047e8ad
push eax
mov ecx, esi
call fcn.004615bc
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004510e8
xor al, al
jmp 0x47e06e
xor ebx, ebx
test ebp, ebp
je 0x47df60
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
jmp 0x47df64
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.00450de1
mov edi, dword [esp + 0x18]
push 2
pop eax
push eax
push ebx
push edi
call fcn.00509cf5
add esp, 0xc
push edi
call fcn.0050a108
pop ecx
push ebx
push ebx
push edi
mov dword [esp + 0x20], eax
call fcn.00509cf5
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x47e025
mov ebx, eax
push ebx
call fcn.004eca91
pop ecx
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
push 1
push ebx
push edi
call fcn.00509bba
push ebx
mov edx, edi
xor ecx, ecx
call fcn.0047e657
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.004eca91
pop ecx
push dword [esp + 0x14]
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.0047e657
pop ecx
mov ecx, dword [esp + 0x20]
push ebx
push esi
call fcn.00450d21
push esi
call fcn.0050479f
pop ecx
push edi
call fcn.0050479f
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.00507419
add esp, 0x14
test esi, esi
je 0x47e05a
lea eax, [esp + 0x68]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.00450d21
push edi
call fcn.005066f7
pop ecx
test ebp, ebp
je 0x47e06c
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.00503aee
add esp, 0x12c
ret