joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ad70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57e7a0
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push 0x59c1bc
push ecx
mov dword [esp + 0x28], 0
call fcn.004027b0
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 1
call fcn.004025f0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ade7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
mov esi, dword [esp + 0x28]
cmp dword [esi], edx
mov ebp, dword [esp + 0x2c]
jge 0x45ae60
lea esp, [esp]
test ebp, ebp
mov ecx, dword [esi]
je 0x45ae22
test ecx, ecx
jl 0x45ae22
cmp ecx, edx
jg 0x45ae22
add eax, ecx
push ebp
push eax
call fcn.00540823
add esp, 8
test eax, eax
je 0x45ae22
sub eax, dword [edi]
jmp 0x45ae25
or eax, 0xffffffff
test eax, eax
mov dword [esi], eax
jge 0x45ae34
mov ecx, dword [edi]
mov edx, dword [ecx - 0xc]
mov dword [esi], edx
jmp 0x45ae57
jle 0x45ae9b
lea ecx, [eax - 1]
test ecx, ecx
jl 0x45aed9
mov edx, dword [edi]
cmp ecx, dword [edx - 0xc]
jg 0x45aed9
cmp byte [edx + ecx], 0x3c
jne 0x45ae9b
add eax, 2
mov dword [esi], eax
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
cmp dword [esi], edx
jl 0x45ae00
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ae84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45aebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
push 0x80070057
call fcn.00401010
int3
Function at 0x45e500
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x57ed08
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x134], 0
jne 0x45e645
mov ebx, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f89
push 0
call ebx
test eax, eax
mov dword [ebp + 0x134], eax
jne 0x45e645
call fcn.00512f10
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45e56b
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x20], 0
jge 0x45e5a9
push 0x104
lea ecx, [esp + 0x18]
call fcn.00401b20
mov esi, dword [esp + 0x14]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test esi, esi
jne 0x45e5bd
xor eax, eax
jmp 0x45e5d3
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45e5c2
sub eax, edx
js 0x45e659
cmp eax, dword [esi - 8]
jg 0x45e659
push 0xd
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x1c]
mov byte [eax + esi], 0
call fcn.004086f0
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x45e61a
push 0x6a
push esi
call ebx
test eax, eax
je 0x45e61a
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebp + 0x134], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e645
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401010
int3
Function at 0x461a40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57f200
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x38]
push ebp
lea ecx, [esp + 0x3c]
call fcn.00402a30
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
add esi, 0x288
push ecx
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00459820
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461abe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
test edi, edi
mov ecx, dword [esi + 4]
mov dword [esp + 0x20], ecx
je 0x461ad1
cmp edi, esi
je 0x461ad6
call fcn.005416ed
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x20]
je 0x461b29
test edi, edi
jne 0x461ae9
call fcn.005416ed
cmp ebx, dword [edi + 4]
jne 0x461af3
call fcn.005416ed
mov esi, dword [esp + 0x3c]
add ebx, 0x10
test esi, esi
jne 0x461b0e
xor eax, eax
push eax
push esi
mov ecx, ebx
call fcn.00402290
jmp 0x461ba4
mov eax, esi
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x461b13
sub eax, edi
push eax
push esi
mov ecx, ebx
call fcn.00402290
jmp 0x461ba4
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
call fcn.004615f0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.00460ea0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461b84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461ba4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x461df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57f270
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x38]
push ebx
lea ecx, [esp + 0x3c]
call fcn.00402a30
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
add esi, 0x270
push ecx
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.004597a0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461e6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
test edi, edi
mov ebp, dword [esi + 4]
je 0x461e7d
cmp edi, esi
je 0x461e82
call fcn.005416ed
cmp dword [esp + 0x18], ebp
je 0x461eac
test edi, edi
jne 0x461e91
call fcn.005416ed
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jne 0x461e9f
call fcn.005416ed
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x10], edx
jmp 0x461eff
push ebx
lea ecx, [esp + 0x18]
call fcn.00402a30
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.00460d90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461eff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x461f20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push esi
push edi
push 0
mov esi, ecx
call fcn.0045e670
mov eax, dword [esp + 0x220]
push eax
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x462023
lea ecx, [esp + 0xc]
push ecx
push str..htm
push SysReAllocString
mov ecx, esi
call fcn.00453330
test eax, eax
jne 0x462041
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea edx, [esp + 0x14]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
push SysReAllocString
mov ecx, esi
call fcn.00453330
test eax, eax
jne 0x46203d
lea edx, [esp + 0x10]
push str.__1_
push edx
call fcn.00540823
mov esi, eax
add esp, 8
test esi, esi
jne 0x461ffa
lea eax, [esp + 0x10]
push 0x59fab0
push eax
call fcn.00540823
mov esi, eax
add esp, 8
test esi, esi
jne 0x461ffa
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x461ffd
mov byte [esi], 0
push 0x596424
push esi
call ebp
push ebx
push esi
call ebp
call dword [0x60d634]
mov edx, dword [esp + 0x224]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebp
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053fab2
add esp, 0x20c
ret 8
mov eax, edi
jmp 0x462022
mov eax, edi
jmp 0x462023

Function at 0x466600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57f60e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00465f50
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00460b70
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 1
call fcn.00460b70
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 2
call fcn.00460b70
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x46fcb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x18]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
pop esi
jne 0x46fd09
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, 1
add esp, 8
ret 8
xor eax, eax
add esp, 8
ret 8

Function at 0x470cf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
push esi
push edi
mov edi, dword [esp + 0x11c]
mov esi, ecx
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x20], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jne 0x470d75
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x470d56
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00402290
mov eax, 1
jmp 0x470d77
xor eax, eax
mov ecx, dword [esp + 0x110]
pop edi
pop esi
xor ecx, esp
call fcn.0053fab2
add esp, 0x10c
ret 8
Function at 0x474d50
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x474e09
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x474e09
push esi
lea eax, [esp + 0x10]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x18], eax
jbe 0x474dfd
push eax
call fcn.00506f67
mov esi, eax
add esp, 4
test esi, esi
jne 0x474d9c
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x474df4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
push 0x5961cc
push esi
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x474df4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x474df4
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.00506f6c
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call fcn.00506f6c
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
add esp, 8
ret
pop edi
mov eax, 0x80070057
pop ebx
add esp, 8
ret
Function at 0x476270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x2c
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
push edi
mov ebp, ecx
xor edi, edi
cmp dword [ebp + 0x20], edi
jne 0x47629e
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0053fab2
add esp, 0x2c
ret 4
push esi
call fcn.005153ed
movzx ecx, word [esp + 0x3c]
mov eax, dword [eax + 8]
push 0xf1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, edi
jne 0x4762d5
pop esi
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0053fab2
add esp, 0x2c
ret 4
push ebx
call fcn.005153ed
mov eax, dword [eax + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x18], ebx
je 0x476458
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x14], ecx
je 0x476443
mov dword [esp + 0x34], eax
xor esi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0xffffffff
cmp word [ecx + 6], di
mov dword [esp + 0x1c], edi
jbe 0x47643a
lea edx, [ecx + 8]
mov dword [esp + 0x10], edx
lea ebx, [eax + 1]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2c], 4
movzx eax, word [eax]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x476363
mov byte [esp + 0x2d], bl
mov dword [esp + 0x24], 0xffffffff
jmp 0x476376
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
add eax, ebx
mov byte [esp + 0x2d], 0
mov dword [esp + 0x1c], eax
test edi, edi
jl 0x47646f
cmp edi, dword [ebp + 0x74]
jge 0x47646f
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + edi*4]
cmp dword [eax + 0x10], 0
je 0x4763ee
or byte [esp + 0x2d], 0x50
cmp edi, dword [ebp + 0x74]
jge 0x47646f
mov ecx, edx
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov esi, dword [ecx + edi*4]
mov eax, dword [esi + 0xc]
add esi, 0xc
sub eax, 0x10
cmp dword [eax + 0xc], ebx
jle 0x4763c9
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401870
mov edx, dword [ebp + 0x20]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x414
push edx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
je 0x476458
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 6]
add dword [esp + 0x10], 2
add edi, ebx
cmp edi, eax
jl 0x476341
test esi, esi
je 0x476436
call fcn.005153ed
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
movzx edx, word [ecx + 6]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push edx
push 0x413
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0053fab2
add esp, 0x2c
ret 4
mov ecx, dword [esp + 0x38]
pop ebx
pop esi
pop edi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0053fab2
add esp, 0x2c
ret 4
call fcn.0050b21f
int3
Function at 0x4780b0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x580cab
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x134]
mov edi, ecx
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0x5c]
cmp dword [eax - 0xc], 0
lea esi, [edi + 0x5c]
je 0x478111
add eax, 0xfffffff0
push eax
jmp 0x4781d8
lea eax, [esp + 0x18]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x18]
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x478128
sub eax, ebp
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00402290
push 5
push str._ninf
mov ecx, esi
call fcn.004086f0
mov eax, dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call ebp
push 1
push 0x5961cc
mov ecx, esi
call fcn.004086f0
push 1
push 8
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00477c80
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x134], 0
call fcn.004086f0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4781bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
push 0
push ecx
call ebp
push 1
push 0x5961cc
mov ecx, esi
call fcn.004086f0
mov esi, dword [esi]
sub esi, 0x10
push esi
call fcn.00401b70
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0053fab2
add esp, 0x11c
ret 4
Function at 0x478220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580d19
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 2
call fcn.004780b0
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push eax
push edx
mov byte [ebp - 4], 3
call fcn.00409080
add esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4782a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.005153ed
mov ecx, dword [ebp + 0x14]
movzx edx, word [ebp + 0x10]
mov esi, dword [eax + 0xc]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x18], ebx
je 0x47838a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [ebp + 0x1c]
lea ecx, [ebp - 0x30]
mov dword [esi], eax
mov dword [esi + 4], 0
mov byte [ebp - 4], 4
call fcn.0051eeda
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 0
push ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0051ef3a
test eax, eax
je 0x478327
mov edx, dword [esi]
mov eax, dword [ebp + 0x10]
push edx
push eax
lea ecx, [ebp - 0x30]
call fcn.0051f0ec
jmp 0x478335
push 0
push 0x596192
mov ecx, edi
call fcn.00402290
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0051f33e
push ebx
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x47839c
mov ecx, dword [ebp + 8]
push 0
push 0x596192
call fcn.00402290
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4783bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4783e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x47bc50
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x24
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
fild dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jge 0x47bc70
fadd qword [0x5a2de0]
fmul qword [0x5a2dd8]
xor ecx, ecx
fld1
fld qword [0x5a2dd0]
fld qword [0x59b238]
fld qword [0x59b230]
jmp 0x47bc90
fxch st(3)
fxch st(3)
fmul st(2)
fld st(0)
fmul st(2)
fcomp st(5)
fnstsw ax
test ah, 5
jp 0x47bcae
fld st(0)
fmul st(4)
fcomp st(5)
fnstsw ax
test ah, 0x41
je 0x47bcc6
add ecx, 1
cmp ecx, 0x10
jl 0x47bc8e
fstp st(0)
fstp st(1)
fstp st(0)
fstp st(0)
add esp, 0x24
jmp fcn.00542230
fstp st(4)
fstp st(1)
fstp st(0)
fstp st(0)
add esp, 0x24
jmp fcn.00542230

Function at 0x47c470
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x5816e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi + 0x18], 1
cmp dword [0x60e6c0], 0
je 0x47c52f
push esi
push 0x5c8580
push 1
push 0
push 0x5c8650
mov dword [esi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x47c52f
lea edi, [esi + 4]
push str.ROOTCIMV2
lea ecx, [esp + 0x14]
mov dword [edi], 0
call fcn.0047bdb0
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x20], 0
je 0x47c4f4
mov ecx, dword [eax]
jmp 0x47c4f6
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x10]
mov ebx, eax
mov dword [esp + 0x20], 0xffffffff
call fcn.0047c050
test ebx, ebx
jge 0x47c544
mov esi, dword [esi]
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov eax, dword [edi]
push 0
push 0
push 3
push 3
push 0
push 0xffffffffffffffff
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x47c588
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x596192
mov dword [esi + 0x14], 1
call fcn.00402a30
mov ecx, esi
call fcn.0047c170
xor edx, edx
test eax, eax
setne dl
mov eax, edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret