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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52dcf9
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
cmp edi, ebx
jne 0x4590c1
xor eax, eax
jmp 0x45923d
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4590eb
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x4590eb
dec dword [edx]
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x45923d
cmp dword [esi + 0x50], 0
je 0x45923b
mov ecx, esi
call fcn.0045a406
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x459118
push dword [esi + 0x50]
push edi
call fcn.00454c1b
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x45923b
mov eax, dword [ebp + 8]
push ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
push 8
mov byte [esp + 0x18], al
mov dword [esp + 0x44], 0xf
call fcn.0045df1f
and dword [esp + 0x50], 0
lea eax, [esi + 0x48]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esi + 0x40]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp edi, 0x10
lea edx, [esp + 0x2c]
mov edi, dword [esi]
cmovae ecx, dword [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x3c]
call dword [edi + 0x1c]
test eax, eax
js 0x45922e
cmp eax, 1
jg 0x459211
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp edi, 0x10
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [esp + 0x1c], edx
je 0x4591de
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00504cde
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x45922e
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x45920c
test edx, edx
jne 0x45914b
cmp dword [esp + 0x38], 0x20
jae 0x45922e
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.0045994a
jmp 0x459147
mov ebx, dword [ebp + 8]
jmp 0x45922e
cmp eax, 3
jne 0x45922e
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
push dword [esp + 0x14]
call fcn.00454c1b
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0044ea77
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00502673
mov esp, ebp
pop ebp
ret 4
Function at 0x45a284
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52de8e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x45a3be
cmp byte [ebx + 0x45], 0
je 0x45a3be
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45a2e4
xor al, al
jmp 0x45a3c0
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.0045df1f
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 0x45a349
dec eax
je 0x45a34d
dec eax
dec eax
je 0x45a3ab
xor bl, bl
jmp 0x45a3ad
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 0x45a38c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00504cde
add esp, 0x10
cmp esi, eax
jne 0x45a345
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x45a3ab
test esi, esi
jne 0x45a30f
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0045994a
jmp 0x45a307
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0044ea77
mov al, bl
jmp 0x45a3c0
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.00502673
mov esp, ebp
pop ebp
ret
Function at 0x45d876
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x52e2f6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
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.0044e5e5
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.0044e5e5
lea eax, [ebp + 0x48]
mov byte [esp + 0x20], 1
push eax
lea ecx, [ebx + 0x30]
call fcn.00454a48
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.0045d916
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 0x46014c
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x52e98b
call fcn.00507864
lea eax, [ebp - 0x80]
push eax
call fcn.0046041a
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 0x460184
cmp word [ebp - 0x38], ax
jne 0x460186
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.00480cc2
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.00460333
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.00455650
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.0044ea4a
push str.windows
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x140]
call fcn.0045514d
xor ebx, ebx
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea77
push str.os_version
lea ecx, [ebp - 0x2c]
call fcn.0044ea4a
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.004550a2
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea77
push str.osbit
lea ecx, [ebp - 0x2c]
call fcn.0044ea4a
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x140]
call fcn.00454e8a
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea77
push str.oslang
lea ecx, [ebp - 0x2c]
call fcn.0044ea4a
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.004550a2
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea77
push str.oszone
lea ecx, [ebp - 0x2c]
call fcn.0044ea4a
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x140]
call fcn.00454e8a
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea77
mov ecx, dword [0x5952b0]
test ecx, ecx
je 0x4602f5
mov ecx, dword [ecx]
lea eax, [ebp - 0x140]
push eax
call fcn.0045560d
lea ecx, [ebp - 0x13c]
call fcn.00458281
push dword [ebp - 0x13c]
call fcn.0050266e
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0044ea77
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0044ea77
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004510af
call fcn.00507813
ret
Function at 0x46041a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x52e9d5
call fcn.00507864
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.005071f0
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 0x4604d6
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.00450d79
mov edi, 0x5642b0
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0xb8], 1
call fcn.00450d55
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.004608d0
cmp eax, 0xffffffff
je 0x460532
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.004607b3
push eax
mov ecx, esi
call fcn.00460790
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.004510af
mov eax, esi
call fcn.00507813
ret 4

Function at 0x46053c
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x46056b
push edi
xor edi, edi
push edi
push edi
push esi
push 0x46074d
push edi
push edi
call fcn.00505376
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 0x46057a
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret
Function at 0x462b4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52eec7
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
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 0x462d84
cmp dword [0x595334], 0x64
jae 0x462d84
push 0x564980
lea ecx, [esp + 0x20]
call fcn.00450d79
and dword [esp + 0x74], 0
mov esi, 0x564984
push esi
call fcn.00450d55
pop ecx
push eax
push 0
push esi
mov ecx, edi
call fcn.004608d0
mov ebp, str.___time_:_
movzx esi, ax
push ebp
call fcn.00450d55
pop ecx
push eax
push 0
push ebp
mov ecx, edi
call fcn.004608d0
push str.___data_:_
movzx ebp, ax
call fcn.00450d55
pop ecx
push eax
push 0
push str.___data_:_
mov ecx, edi
call fcn.004608d0
mov ecx, esi
movzx eax, ax
mov dword [esp + 0x18], ecx
cmp ecx, 0xffffffff
je 0x462d77
mov esi, ebp
cmp esi, 0xffffffff
je 0x462d77
mov ebp, eax
cmp ebp, 0xffffffff
je 0x462d77
lea eax, [ecx - 7]
mov ecx, edi
push eax
push 7
lea eax, [esp + 0x3c]
push eax
call fcn.004607b3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.00453e60
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.004510af
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.004607b3
push 0x5649c8
mov edx, eax
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x38]
call fcn.0046517b
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 3
call fcn.00453e60
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.004510af
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.004510af
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.004607b3
push 0x5649cc
mov edx, eax
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x50]
call fcn.0046517b
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 5
call fcn.00453e60
push 0
push 1
lea ecx, [esp + 0x54]
call fcn.004510af
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.004510af
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.004607b3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 6
call fcn.00453e60
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.004510af
lea eax, [esp + 0x1c]
mov ecx, 0x595330
push eax
call fcn.00464eaf
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.004510af
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.00502673
add esp, 0x64
ret 4
Function at 0x465e01
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x52f6ab
call fcn.00507864
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.005071f0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x465e65
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x465e65
push 0x564d3c
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.00450d79
mov edi, 0x564d40
mov dword [ebp - 4], ebx
push edi
call fcn.00450d55
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00453ef6
lea ecx, [ebp - 0x230]
call fcn.00484d0d
test al, al
jne 0x465ec2
lea eax, [ebp - 0x218]
push eax
call fcn.00450d55
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450ce8
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00453e60
mov eax, dword [0x596304]
test al, 1
jne 0x465f1e
or eax, 1
mov dword [0x596304], eax
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00480cc2
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.0047ffc6
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0044ea77
push 0x53918e
call fcn.00503679
pop ecx
mov byte [ebp - 4], bl
mov dword [0x5952dc], 0x596308
call fcn.004800c8
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.004510af
xor eax, eax
call fcn.00507813
ret

Function at 0x465f43
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 0x465f64
xor eax, eax
jmp 0x465fc3
cmp dword [ebp - 0xc], 0x10000
je 0x465f60
push edi
mov edi, dword [ebp - 0x18]
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x465fc0
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 0x465fc0
mov eax, dword [edx + 8]
cmp dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
cmova eax, dword [edx + 0x10]
cmp esi, ecx
jb 0x465fb7
add eax, ecx
cmp esi, eax
jbe 0x465fc9
inc edi
add edx, 0x28
cmp di, bx
jb 0x465fa0
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 0x465fc2
Function at 0x4663ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x310
lea ebp, [esp - 4]
mov eax, dword [0x58e700]
xor eax, ebp
mov dword [ebp + 0x310], eax
push 4
mov eax, 0x52f76c
call fcn.00507831
push 0xffffffffffffffff
push str.LANG_EN
lea ecx, [ebp]
call fcn.00496674
xor ebx, ebx
lea ecx, [ebp]
push str.LANG_ES
mov dword [ebp - 4], ebx
call fcn.0049680f
push 4
call fcn.0049edf0
lea eax, [ebp + 0x84]
push eax
call fcn.0049a13e
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0049a2fd
dec eax
je 0x466595
dec eax
je 0x466558
dec eax
je 0x4664e0
dec eax
jne 0x46660f
push 0x564e44
push 0x85
call fcn.0049a2e8
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46660f
push esi
call fcn.0049a2e8
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4664d4
push esi
call fcn.0049a2e8
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4664d4
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0049edfd
add esp, 0xc
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x564e54
call fcn.00467166
mov ecx, eax
call fcn.004b5811
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x46660f
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.005071f0
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.004968cc
lea ecx, [ebp + 0x84]
call fcn.0049686b
push eax
call fcn.0049eda7
mov dword [esp], 0x564dfc
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x466603
push str.skin_
lea ecx, [ebp + 0x84]
call fcn.004968cc
lea ecx, [ebp + 0x84]
call fcn.0049686b
push eax
call fcn.0049eda7
push ebx
push 1
push str.res.zip
call fcn.0049ee8b
add esp, 0x10
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x564e30
jmp 0x466603
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.005071f0
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.004968cc
lea ecx, [ebp + 0x84]
call fcn.0049686b
push eax
call fcn.0049eda7
pop ecx
push ebx
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.00467166
mov ecx, eax
call fcn.004b5811
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], bl
call fcn.00496777
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00496777
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.00502673
lea esp, [ebp + 0x314]
pop ebp
ret
Function at 0x46756f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x52f896
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
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.00450d79
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 0x467685
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x467685
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
add esi, 0x28
je 0x467685
xor eax, eax
push 0x7e
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push ebp
push eax
call fcn.005071f0
add esp, 0xc
test bl, bl
je 0x46764b
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 str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x46766d
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.00450d55
pop ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00450ce8
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.00502673
add esp, 0x98
ret
Function at 0x4683cc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52fb8c
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x70c], 0
jne 0x468437
cmp dword [0x5952dc], 0
je 0x4685c2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___function_interface_is_null.
push 1
push dword [0x5952dc]
call fcn.004801f3
add esp, 0x10
jmp 0x4685c2
mov eax, dword [edi + 0x704]
mov esi, dword [eax]
cmp eax, esi
je 0x4685a9
mov eax, dword [esp + 0x7c]
cmp dword [esi + 0x21c], eax
jne 0x46859b
cmp dword [0x5952dc], 0
je 0x468505
lea edx, [esi + 0x3c]
lea ecx, [esp + 0x4c]
call fcn.00480cc2
mov ebp, eax
and dword [esp + 0x74], 0
lea edx, [esi + 0x84]
lea ecx, [esp + 0x34]
call fcn.00480cc2
mov ebx, eax
lea edx, [esi + 0x24]
mov byte [esp + 0x74], 1
lea ecx, [esp + 0x1c]
call fcn.00480cc2
mov byte [esp + 0x74], 2
cmp dword [ebp + 0x14], 0x10
jb 0x4684a7
mov ebp, dword [ebp]
cmp dword [ebx + 0x14], 0x10
jb 0x4684af
mov ebx, dword [ebx]
cmp dword [eax + 0x14], 0x10
jb 0x4684b7
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 [0x5952dc]
call fcn.004801f3
add esp, 0x20
lea ecx, [esp + 0x1c]
push 0
push 1
call fcn.0044ea77
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.0044ea77
or dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0x4c]
push 0
push 1
call fcn.0044ea77
lea eax, [esi + 0x3c]
cmp dword [eax + 0x14], 8
mov dword [esp + 0x18], eax
jb 0x468518
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea ebp, [esi + 0x84]
cmp dword [ebp + 0x14], 8
jb 0x468527
mov ebp, dword [ebp]
lea edx, [esi + 0x24]
cmp dword [edx + 0x14], 8
jb 0x468532
mov edx, dword [edx]
lea ebx, [esi + 0xc]
cmp dword [ebx + 0x14], 8
jb 0x468543
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
jmp 0x468547
mov dword [esp + 0x14], ebx
mov ecx, dword [edi + 0x70c]
push 0
push dword [esp + 0x1c]
mov eax, dword [ecx]
push ebp
push dword [esi + 8]
push 0x565274
push edx
push dword [esp + 0x2c]
call dword [eax + 0xc]
mov ebp, 0x5952f0
push ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov ecx, 0x595310
mov dword [esp + 0x78], 3
call fcn.00464dd5
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 + 0x704], esi
jne 0x46844b
mov esi, 0x565278
push esi
call fcn.00450d55
pop ecx
push eax
push esi
lea ecx, [edi + 0x5b0]
call fcn.00450ce8
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.00502673
add esp, 0x64
ret 4