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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52f982
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x591700]
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 0x459efb
xor eax, eax
jmp 0x45a077
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x459f25
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x459f25
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 0x45a077
cmp dword [esi + 0x50], 0
je 0x45a075
mov ecx, esi
call fcn.0045b240
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x459f52
push dword [esi + 0x50]
push edi
call fcn.00455a55
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x45a075
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.0045ed56
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 0x45a068
cmp eax, 1
jg 0x45a04b
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 0x45a018
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.005066de
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x45a068
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x45a046
test edx, edx
jne 0x459f85
cmp dword [esp + 0x38], 0x20
jae 0x45a068
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.0045a784
jmp 0x459f81
mov ebx, dword [ebp + 8]
jmp 0x45a068
cmp eax, 3
jne 0x45a068
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
push dword [esp + 0x14]
call fcn.00455a55
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0044ea87
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.00504075
mov esp, ebp
pop ebp
ret 4
Function at 0x45b0be
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52fb17
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x45b1f8
cmp byte [ebx + 0x45], 0
je 0x45b1f8
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45b11e
xor al, al
jmp 0x45b1fa
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.0045ed56
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 0x45b183
dec eax
je 0x45b187
dec eax
dec eax
je 0x45b1e5
xor bl, bl
jmp 0x45b1e7
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 0x45b1c6
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005066de
add esp, 0x10
cmp esi, eax
jne 0x45b17f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x45b1e5
test esi, esi
jne 0x45b149
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0045a784
jmp 0x45b141
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0044ea87
mov al, bl
jmp 0x45b1fa
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.00504075
mov esp, ebp
pop ebp
ret
Function at 0x45e6ad
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x52ff7f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
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.0044e5f5
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.0044e5f5
lea eax, [ebp + 0x48]
mov byte [esp + 0x20], 1
push eax
lea ecx, [ebx + 0x30]
call fcn.00454ef2
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.0045e74d
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 0x460fd7
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x530637
call fcn.00509264
lea eax, [ebp - 0x80]
push eax
call fcn.004612af
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 0x46100f
cmp word [ebp - 0x38], ax
jne 0x461011
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.00482623
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.004611be
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.0045648a
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.0044ea5a
push str.windows
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x140]
call fcn.00455f87
xor ebx, ebx
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea87
push str.os_version
lea ecx, [ebp - 0x2c]
call fcn.0044ea5a
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455edc
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea87
push str.osbit
lea ecx, [ebp - 0x2c]
call fcn.0044ea5a
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x140]
call fcn.00455cc4
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea87
push str.oslang
lea ecx, [ebp - 0x2c]
call fcn.0044ea5a
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455edc
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea87
push str.oszone
lea ecx, [ebp - 0x2c]
call fcn.0044ea5a
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x140]
call fcn.00455cc4
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea87
mov ecx, dword [0x598330]
test ecx, ecx
je 0x461180
mov ecx, dword [ecx]
lea eax, [ebp - 0x140]
push eax
call fcn.00456447
lea ecx, [ebp - 0x13c]
call fcn.004590bb
push dword [ebp - 0x13c]
call fcn.00504070
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0044ea87
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0044ea87
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00451108
call fcn.00509213
ret
Function at 0x4612af
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x530681
call fcn.00509264
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.00508bf0
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 0x46136b
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.00450dd2
mov edi, 0x566538
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0xb8], 1
call fcn.00450dae
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.00461732
cmp eax, 0xffffffff
je 0x4613c7
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.00453e03
push eax
mov ecx, esi
call fcn.00461625
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.00451108
mov eax, esi
call fcn.00509213
ret 4

Function at 0x4613d1
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x530b73
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
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 0x463be8
cmp dword [0x5983b4], 0x64
jae 0x463be8
push 0x566c08
lea ecx, [esp + 0x20]
call fcn.00450dd2
and dword [esp + 0x74], 0
mov esi, 0x566c0c
push esi
call fcn.00450dae
pop ecx
push eax
push 0
push esi
mov ecx, edi
call fcn.00461732
mov ebp, str.___time_:_
movzx esi, ax
push ebp
call fcn.00450dae
pop ecx
push eax
push 0
push ebp
mov ecx, edi
call fcn.00461732
push str.___data_:_
movzx ebp, ax
call fcn.00450dae
pop ecx
push eax
push 0
push str.___data_:_
mov ecx, edi
call fcn.00461732
mov ecx, esi
movzx eax, ax
mov dword [esp + 0x18], ecx
cmp ecx, 0xffffffff
je 0x463bdb
mov esi, ebp
cmp esi, 0xffffffff
je 0x463bdb
mov ebp, eax
cmp ebp, 0xffffffff
je 0x463bdb
lea eax, [ecx - 7]
mov ecx, edi
push eax
push 7
lea eax, [esp + 0x3c]
push eax
call fcn.00453e03
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.00454308
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.00451108
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.00453e03
push 0x566c50
mov edx, eax
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x38]
call fcn.00465fd2
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 3
call fcn.00454308
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.00451108
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.00451108
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.00453e03
push 0x566c54
mov edx, eax
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x50]
call fcn.00465fd2
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 5
call fcn.00454308
push 0
push 1
lea ecx, [esp + 0x54]
call fcn.00451108
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.00451108
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.00453e03
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 6
call fcn.00454308
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.00451108
lea eax, [esp + 0x1c]
mov ecx, 0x5983b0
push eax
call fcn.00465d06
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.00451108
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.00504075
add esp, 0x64
ret 4
Function at 0x466c58
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x531357
call fcn.00509264
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.00508bf0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x466cbc
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x466cbc
push 0x566fc4
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.00450dd2
mov edi, 0x566fc8
mov dword [ebp - 4], ebx
push edi
call fcn.00450dae
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.0045439e
lea ecx, [ebp - 0x230]
call fcn.0048666e
test al, al
jne 0x466d19
lea eax, [ebp - 0x218]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450d41
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00454308
mov eax, dword [0x5993bc]
test al, 1
jne 0x466d75
or eax, 1
mov dword [0x5993bc], eax
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00482623
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.00481927
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0044ea87
push 0x53afae
call fcn.00505079
pop ecx
mov byte [ebp - 4], bl
mov dword [0x59835c], 0x5993c0
call fcn.00481a29
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00451108
xor eax, eax
call fcn.00509213
ret

Function at 0x466d9a
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 0x466dbb
xor eax, eax
jmp 0x466e1a
cmp dword [ebp - 0xc], 0x10000
je 0x466db7
push edi
mov edi, dword [ebp - 0x18]
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x466e17
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 0x466e17
mov eax, dword [edx + 8]
cmp dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
cmova eax, dword [edx + 0x10]
cmp esi, ecx
jb 0x466e0e
add eax, ecx
cmp esi, eax
jbe 0x466e20
inc edi
add edx, 0x28
cmp di, bx
jb 0x466df7
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 0x466e19
Function at 0x467244
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x310
lea ebp, [esp - 4]
mov eax, dword [0x591700]
xor eax, ebp
mov dword [ebp + 0x310], eax
push 4
mov eax, 0x531418
call fcn.00509231
push 0xffffffffffffffff
push str.LANG_EN
lea ecx, [ebp]
call fcn.00498084
xor ebx, ebx
lea ecx, [ebp]
push str.LANG_ES
mov dword [ebp - 4], ebx
call fcn.0049821f
push 4
call fcn.004a07ef
lea eax, [ebp + 0x84]
push eax
call fcn.0049bb3d
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0049bcfc
dec eax
je 0x4673ec
dec eax
je 0x4673af
dec eax
je 0x467337
dec eax
jne 0x467466
push 0x5670cc
push 0x85
call fcn.0049bce7
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x467466
push esi
call fcn.0049bce7
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46732b
push esi
call fcn.0049bce7
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x46732b
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.004a07fc
add esp, 0xc
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x5670dc
call fcn.00467fbd
mov ecx, eax
call fcn.004ba5bd
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x467466
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.00508bf0
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.004982e9
lea ecx, [ebp + 0x84]
call fcn.0049877e
push eax
call fcn.004a07a6
mov dword [esp], 0x567084
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x46745a
push str.skin_
lea ecx, [ebp + 0x84]
call fcn.004982e9
lea ecx, [ebp + 0x84]
call fcn.0049877e
push eax
call fcn.004a07a6
push ebx
push 1
push str.res.zip
call fcn.004a088a
add esp, 0x10
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x5670b8
jmp 0x46745a
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.00508bf0
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.004982e9
lea ecx, [ebp + 0x84]
call fcn.0049877e
push eax
call fcn.004a07a6
pop ecx
push ebx
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.00467fbd
mov ecx, eax
call fcn.004ba5bd
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], bl
call fcn.00498187
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00498187
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.00504075
lea esp, [ebp + 0x314]
pop ebp
ret
Function at 0x46846c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x53159c
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
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.00450dd2
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 0x468582
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x468582
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
add esi, 0x28
je 0x468582
xor eax, eax
push 0x7e
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push ebp
push eax
call fcn.00508bf0
add esp, 0xc
test bl, bl
je 0x468548
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 0x567464
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x46856a
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.00450dae
pop ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00450d41
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.00504075
add esp, 0x98
ret
Function at 0x46924d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53187a
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x73c], 0
jne 0x4692b8
cmp dword [0x59835c], 0
je 0x469443
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___function_interface_is_null.
push 1
push dword [0x59835c]
call fcn.00481b54
add esp, 0x10
jmp 0x469443
mov eax, dword [edi + 0x734]
mov esi, dword [eax]
cmp eax, esi
je 0x46942a
mov eax, dword [esp + 0x7c]
cmp dword [esi + 0x21c], eax
jne 0x46941c
cmp dword [0x59835c], 0
je 0x469386
lea edx, [esi + 0x3c]
lea ecx, [esp + 0x4c]
call fcn.00482623
mov ebp, eax
and dword [esp + 0x74], 0
lea edx, [esi + 0x84]
lea ecx, [esp + 0x34]
call fcn.00482623
mov ebx, eax
lea edx, [esi + 0x24]
mov byte [esp + 0x74], 1
lea ecx, [esp + 0x1c]
call fcn.00482623
mov byte [esp + 0x74], 2
cmp dword [ebp + 0x14], 0x10
jb 0x469328
mov ebp, dword [ebp]
cmp dword [ebx + 0x14], 0x10
jb 0x469330
mov ebx, dword [ebx]
cmp dword [eax + 0x14], 0x10
jb 0x469338
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 [0x59835c]
call fcn.00481b54
add esp, 0x20
lea ecx, [esp + 0x1c]
push 0
push 1
call fcn.0044ea87
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.0044ea87
or dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0x4c]
push 0
push 1
call fcn.0044ea87
lea eax, [esi + 0x3c]
cmp dword [eax + 0x14], 8
mov dword [esp + 0x18], eax
jb 0x469399
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea ebp, [esi + 0x84]
cmp dword [ebp + 0x14], 8
jb 0x4693a8
mov ebp, dword [ebp]
lea edx, [esi + 0x24]
cmp dword [edx + 0x14], 8
jb 0x4693b3
mov edx, dword [edx]
lea ebx, [esi + 0xc]
cmp dword [ebx + 0x14], 8
jb 0x4693c4
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
jmp 0x4693c8
mov dword [esp + 0x14], ebx
mov ecx, dword [edi + 0x73c]
push 0
push dword [esp + 0x1c]
mov eax, dword [ecx]
push ebp
push dword [esi + 8]
push 0x5674fc
push edx
push dword [esp + 0x2c]
call dword [eax + 0xc]
mov ebp, 0x598370
push ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov ecx, 0x598390
mov dword [esp + 0x78], 3
call fcn.00465c2c
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 + 0x734], esi
jne 0x4692cc
mov esi, 0x567500
push esi
call fcn.00450dae
pop ecx
push eax
push esi
lea ecx, [edi + 0x5c8]
call fcn.00450d41
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.00504075
add esp, 0x64
ret 4