joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b09e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52f507
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x45b1d8
cmp byte [ebx + 0x45], 0
je 0x45b1d8
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45b0fe
xor al, al
jmp 0x45b1da
xor eax, eax
mov dword [esp + 0x2c], 0xf
push eax
push 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.0045ed36
and dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x45b163
dec eax
je 0x45b167
dec eax
dec eax
je 0x45b1c5
xor bl, bl
jmp 0x45b1c7
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x45b1a6
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0050614e
add esp, 0x10
cmp esi, eax
jne 0x45b15f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x45b1c5
test esi, esi
jne 0x45b129
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0045a764
jmp 0x45b121
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0044ea67
mov al, bl
jmp 0x45b1da
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00503aee
mov esp, ebp
pop ebp
ret
Function at 0x45e68d
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x52f96f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x28]
push ebp
call fcn.0044e5d5
and dword [esp + 0x20], 0
lea esi, [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add ebx, 0x18
mov dword [esp + 0x28], ebx
mov dword [ebx], eax
lea edi, [ebx + 8]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebx + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044e5d5
lea eax, [ebp + 0x48]
mov byte [esp + 0x20], 1
push eax
lea ecx, [ebx + 0x30]
call fcn.00454ed2
push ecx
lea eax, [ebp + 0x58]
mov byte [esp + 0x24], 2
push eax
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x3c], vtable.sensors_analytics::utils::ObjectNode.0
call fcn.0045e72d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x460f5d
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x530004
call fcn.00508cd4
lea eax, [ebp - 0x80]
push eax
call fcn.00461235
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x38], 9
push 6
pop eax
je 0x460f95
cmp word [ebp - 0x38], ax
jne 0x460f97
mov bl, 1
push 0x20
pop esi
push 0x40
pop eax
test bl, bl
cmovne esi, eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x134]
push 0xffffffffffffffc4
pop ecx
cdq
idiv ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.004820e9
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.00461144
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.0045646a
mov dword [ebp - method.DuiLib::CControlUI.virtual_372], vtable.sensors_analytics::PropertiesNode.0
push str.ostype
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea3a
push str.windows
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x140]
call fcn.00455f67
xor ebx, ebx
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea67
push str.os_version
lea ecx, [ebp - 0x2c]
call fcn.0044ea3a
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455ebc
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea67
push str.osbit
lea ecx, [ebp - 0x2c]
call fcn.0044ea3a
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x140]
call fcn.00455ca4
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea67
push str.oslang
lea ecx, [ebp - 0x2c]
call fcn.0044ea3a
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455ebc
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea67
push str.oszone
lea ecx, [ebp - 0x2c]
call fcn.0044ea3a
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x140]
call fcn.00455ca4
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea67
mov ecx, dword [0x597330]
test ecx, ecx
je 0x461106
mov ecx, dword [ecx]
lea eax, [ebp - 0x140]
push eax
call fcn.00456427
lea ecx, [ebp - 0x13c]
call fcn.0045909b
push dword [ebp - 0x13c]
call fcn.004b5cd7
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0044ea67
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0044ea67
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004510e8
call fcn.00508c83
ret
Function at 0x461235
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x53004e
call fcn.00508cd4
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0xb8], ebx
push 0x7e
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x92]
push ebx
push eax
mov dword [ebp - 0xc4], esi
call fcn.00508660
add esp, 0xc
mov dword [ebp - 0xc0], 0x40
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xbc], ebx
push eax
lea eax, [ebp - 0xb0]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push str.Control_PanelDesktopMuiCached
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4612f1
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb4], 7
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xb4]
push eax
push ebx
push str.MachinePreferredUILanguages
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00450db2
mov edi, 0x565538
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0xb8], 1
call fcn.00450d8e
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.004616b8
cmp eax, 0xffffffff
je 0x46134d
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.00453de3
push eax
mov ecx, esi
call fcn.004615ab
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.004510e8
mov eax, esi
call fcn.00508c83
ret 4

Function at 0x461357
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x461386
push edi
xor edi, edi
push edi
push edi
push esi
push 0x461568
push edi
push edi
call fcn.005067e6
add esp, 0x18
mov dword [esi + 4], eax
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
pop edi
cmp dword [esi + 8], 0
je 0x461395
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret
Function at 0x463933
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x530540
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
mov ebx, dword [edi + 0x10]
cmp ebx, 0x100
jg 0x463b6c
cmp dword [0x5973b4], 0x64
jae 0x463b6c
push 0x565c08
lea ecx, [esp + 0x20]
call fcn.00450db2
and dword [esp + 0x74], 0
mov esi, 0x565c0c
push esi
call fcn.00450d8e
pop ecx
push eax
push 0
push esi
mov ecx, edi
call fcn.004616b8
mov ebp, str.___time_:_
movzx esi, ax
push ebp
call fcn.00450d8e
pop ecx
push eax
push 0
push ebp
mov ecx, edi
call fcn.004616b8
push str.___data_:_
movzx ebp, ax
call fcn.00450d8e
pop ecx
push eax
push 0
push str.___data_:_
mov ecx, edi
call fcn.004616b8
mov ecx, esi
movzx eax, ax
mov dword [esp + 0x18], ecx
cmp ecx, 0xffffffff
je 0x463b5f
mov esi, ebp
cmp esi, 0xffffffff
je 0x463b5f
mov ebp, eax
cmp ebp, 0xffffffff
je 0x463b5f
lea eax, [ecx - 7]
mov ecx, edi
push eax
push 7
lea eax, [esp + 0x3c]
push eax
call fcn.00453de3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.004542e8
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.004510e8
mov ecx, dword [esp + 0x18]
mov eax, esi
sub eax, ecx
sub eax, 8
push eax
lea eax, [ecx + 8]
mov ecx, edi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00453de3
push 0x565c50
mov edx, eax
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x38]
call fcn.00465f56
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 3
call fcn.004542e8
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.004510e8
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.004510e8
mov eax, ebp
mov ecx, edi
sub eax, esi
sub eax, 0xa
push eax
lea eax, [esi + 0xa]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00453de3
push 0x565c54
mov edx, eax
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x50]
call fcn.00465f56
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 5
call fcn.004542e8
push 0
push 1
lea ecx, [esp + 0x54]
call fcn.004510e8
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.004510e8
sub ebx, esi
lea eax, [ebp + 0xa]
sub ebx, 5
mov ecx, edi
push ebx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00453de3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 6
call fcn.004542e8
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.004510e8
lea eax, [esp + 0x1c]
mov ecx, 0x5973b0
push eax
call fcn.00465c8a
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.004510e8
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00503aee
add esp, 0x64
ret 4
Function at 0x466bdc
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x530d24
call fcn.00508cd4
mov esi, ecx
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00508660
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x466c40
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x466c40
push 0x565fc4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450db2
mov edi, 0x565fc8
mov dword [ebp - 4], ebx
push edi
call fcn.00450d8e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.0045437e
lea ecx, [ebp - 0x230]
call fcn.00486135
test al, al
jne 0x466c9d
lea eax, [ebp - 0x218]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450d21
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.004542e8
mov eax, dword [0x5983a4]
test al, 1
jne 0x466cf9
or eax, 1
mov dword [0x5983a4], eax
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.004820e9
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.004813ed
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0044ea67
push 0x53a893
call fcn.00504ae9
pop ecx
mov byte [ebp - 4], bl
mov dword [0x59735c], 0x5983a8
call fcn.004814ef
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.004510e8
xor eax, eax
call fcn.00508c83
ret

Function at 0x466d1e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push ebx
push esi
push 0x1c
mov esi, ecx
mov ebx, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x466d3f
xor eax, eax
jmp 0x466d9e
cmp dword [ebp - 0xc], 0x10000
je 0x466d3b
push edi
mov edi, dword [ebp - 0x18]
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x466d9b
mov ecx, dword [edi + 0x3c]
sub esi, dword [ebp - 0x18]
add ecx, edi
xor edi, edi
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
movzx ebx, word [ecx + 6]
add edx, eax
xor eax, eax
cmp ax, bx
jae 0x466d9b
mov eax, dword [edx + 8]
cmp dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
cmova eax, dword [edx + 0x10]
cmp esi, ecx
jb 0x466d92
add eax, ecx
cmp esi, eax
jbe 0x466da4
inc edi
add edx, 0x28
cmp di, bx
jb 0x466d7b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
sub esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
xor eax, eax
mov byte [ecx + 8], 0
inc eax
jmp 0x466d9d
Function at 0x4671c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x310
lea ebp, [esp - 4]
mov eax, dword [0x590700]
xor eax, ebp
mov dword [ebp + 0x310], eax
push 4
mov eax, 0x530de5
call fcn.00508ca1
push 0xffffffffffffffff
push str.LANG_EN
lea ecx, [ebp]
call fcn.00497a77
xor ebx, ebx
lea ecx, [ebp]
push str.LANG_CT
mov dword [ebp - 4], ebx
call fcn.00497c12
push 4
call fcn.004a01fb
lea eax, [ebp + 0x84]
push eax
call fcn.0049b549
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0049b708
dec eax
je 0x467370
dec eax
je 0x467333
dec eax
je 0x4672bb
dec eax
jne 0x4673ea
push 0x5660cc
push 0x85
call fcn.0049b6f3
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4673ea
push esi
call fcn.0049b6f3
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4672af
push esi
call fcn.0049b6f3
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4672af
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.004a0208
add esp, 0xc
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x5660dc
call fcn.00467f41
mov ecx, eax
call fcn.004b9fe3
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4673ea
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.00508660
sub esp, 0x78
lea eax, [ebp + 0x108]
lea esi, [ebp]
push 0x21
pop ecx
mov edi, esp
push str.skin_s_skin_
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x8c
lea eax, [ebp + 0x108]
lea ecx, [ebp + 0x84]
push eax
call fcn.00497ccc
lea ecx, [ebp + 0x84]
call fcn.00498171
push eax
call fcn.004a01b2
mov dword [esp], 0x566084
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x4673de
push str.skin_
lea ecx, [ebp + 0x84]
call fcn.00497ccc
lea ecx, [ebp + 0x84]
call fcn.00498171
push eax
call fcn.004a01b2
push ebx
push 1
push str.res.zip
call fcn.004a0296
add esp, 0x10
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x5660b8
jmp 0x4673de
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.00508660
sub esp, 0x78
lea eax, [ebp + 0x108]
lea esi, [ebp]
push 0x21
pop ecx
mov edi, esp
push str...lib_skin_s_skin_
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x8c
lea eax, [ebp + 0x108]
lea ecx, [ebp + 0x84]
push eax
call fcn.00497ccc
lea ecx, [ebp + 0x84]
call fcn.00498171
push eax
call fcn.004a01b2
pop ecx
push ebx
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.00467f41
mov ecx, eax
call fcn.004b9fe3
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], bl
call fcn.00497b7a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00497b7a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x310]
xor ecx, ebp
call fcn.00503aee
lea esp, [ebp + 0x314]
pop ebp
ret
Function at 0x4683dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x530f69
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov bl, dl
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0xa8], ebp
push str.3.0.5
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
call fcn.00450db2
xor eax, eax
mov dword [esp + 0xa8], ebp
inc eax
push 0x10
push eax
push ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4684f3
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4684f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
add esi, 0x28
je 0x4684f3
xor eax, eax
push 0x7e
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push ebp
push eax
call fcn.00508660
add esp, 0xc
test bl, bl
je 0x4684b9
movzx eax, byte [esi + 0xc]
push eax
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 0xa]
push eax
lea eax, [esp + 0x2c]
push 0x566464
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x4684db
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 0xa]
push eax
lea eax, [esp + 0x28]
push str._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00450d21
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00503aee
add esp, 0x98
ret
Function at 0x46919e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x531247
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x724], 0
jne 0x469209
cmp dword [0x59735c], 0
je 0x469394
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___function_interface_is_null.
push 1
push dword [0x59735c]
call fcn.0048161a
add esp, 0x10
jmp 0x469394
mov eax, dword [edi + 0x71c]
mov esi, dword [eax]
cmp eax, esi
je 0x46937b
mov eax, dword [esp + 0x7c]
cmp dword [esi + 0x21c], eax
jne 0x46936d
cmp dword [0x59735c], 0
je 0x4692d7
lea edx, [esi + 0x3c]
lea ecx, [esp + 0x4c]
call fcn.004820e9
mov ebp, eax
and dword [esp + 0x74], 0
lea edx, [esi + 0x84]
lea ecx, [esp + 0x34]
call fcn.004820e9
mov ebx, eax
lea edx, [esi + 0x24]
mov byte [esp + 0x74], 1
lea ecx, [esp + 0x1c]
call fcn.004820e9
mov byte [esp + 0x74], 2
cmp dword [ebp + 0x14], 0x10
jb 0x469279
mov ebp, dword [ebp]
cmp dword [ebx + 0x14], 0x10
jb 0x469281
mov ebx, dword [ebx]
cmp dword [eax + 0x14], 0x10
jb 0x469289
mov eax, dword [eax]
push ebp
push ebx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___WaeMgr_StartDownTask:__d___s___s___s
push 3
push dword [0x59735c]
call fcn.0048161a
add esp, 0x20
lea ecx, [esp + 0x1c]
push 0
push 1
call fcn.0044ea67
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.0044ea67
or dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0x4c]
push 0
push 1
call fcn.0044ea67
lea eax, [esi + 0x3c]
cmp dword [eax + 0x14], 8
mov dword [esp + 0x18], eax
jb 0x4692ea
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea ebp, [esi + 0x84]
cmp dword [ebp + 0x14], 8
jb 0x4692f9
mov ebp, dword [ebp]
lea edx, [esi + 0x24]
cmp dword [edx + 0x14], 8
jb 0x469304
mov edx, dword [edx]
lea ebx, [esi + 0xc]
cmp dword [ebx + 0x14], 8
jb 0x469315
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
jmp 0x469319
mov dword [esp + 0x14], ebx
mov ecx, dword [edi + 0x724]
push 0
push dword [esp + 0x1c]
mov eax, dword [ecx]
push ebp
push dword [esi + 8]
push 0x5664fc
push edx
push dword [esp + 0x2c]
call dword [eax + 0xc]
mov ebp, 0x597370
push ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov ecx, 0x597390
mov dword [esp + 0x78], 3
call fcn.00465bb0
push ebp
inc dword [eax]
or dword [esp + 0x78], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x7c]
mov esi, dword [esi]
cmp dword [edi + 0x71c], esi
jne 0x46921d
mov esi, 0x566500
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [edi + 0x5b0]
call fcn.00450d21
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00503aee
add esp, 0x64
ret 4
Function at 0x47081f
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 0x4708df
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 0x47089e
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4708a6
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.0046388b
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.0046382a
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