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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52f372
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x590700]
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 0x459ee6
xor eax, eax
jmp 0x45a062
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x459f10
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x459f10
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 0x45a062
cmp dword [esi + 0x50], 0
je 0x45a060
mov ecx, esi
call fcn.0045b22b
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x459f3d
push dword [esi + 0x50]
push edi
call fcn.00455a40
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x45a060
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.0045ed41
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 0x45a053
cmp eax, 1
jg 0x45a036
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 0x45a003
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0050614e
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x45a053
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x45a031
test edx, edx
jne 0x459f70
cmp dword [esp + 0x38], 0x20
jae 0x45a053
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.0045a76f
jmp 0x459f6c
mov ebx, dword [ebp + 8]
jmp 0x45a053
cmp eax, 3
jne 0x45a053
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
push dword [esp + 0x14]
call fcn.00455a40
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0044ea67
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.00503aee
mov esp, ebp
pop ebp
ret 4
Function at 0x45b0a9
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 0x45b1e3
cmp byte [ebx + 0x45], 0
je 0x45b1e3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45b109
xor al, al
jmp 0x45b1e5
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.0045ed41
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 0x45b16e
dec eax
je 0x45b172
dec eax
dec eax
je 0x45b1d0
xor bl, bl
jmp 0x45b1d2
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 0x45b1b1
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 0x45b16a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x45b1d0
test esi, esi
jne 0x45b134
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0045a76f
jmp 0x45b12c
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0044ea67
mov al, bl
jmp 0x45b1e5
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 0x45e698
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.00454edd
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.0045e738
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 0x460f6e
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x530004
call fcn.00508cd4
lea eax, [ebp - 0x80]
push eax
call fcn.00461246
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 0x460fa6
cmp word [ebp - 0x38], ax
jne 0x460fa8
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.00461155
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.00456475
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.00455f72
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.00455ec7
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.00455caf
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.00455ec7
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.00455caf
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea67
mov ecx, dword [0x597330]
test ecx, ecx
je 0x461117
mov ecx, dword [ecx]
lea eax, [ebp - 0x140]
push eax
call fcn.00456432
lea ecx, [ebp - 0x13c]
call fcn.004590a6
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 0x461246
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 0x461302
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.004616c9
cmp eax, 0xffffffff
je 0x46135e
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.00453dee
push eax
mov ecx, esi
call fcn.004615bc
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.004510e8
mov eax, esi
call fcn.00508c83
ret 4

Function at 0x461368
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x461397
push edi
xor edi, edi
push edi
push edi
push esi
push 0x461579
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 0x4613a6
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret
Function at 0x463944
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 0x463b7d
cmp dword [0x5973b4], 0x64
jae 0x463b7d
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.004616c9
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.004616c9
push str.___data_:_
movzx ebp, ax
call fcn.00450d8e
pop ecx
push eax
push 0
push str.___data_:_
mov ecx, edi
call fcn.004616c9
mov ecx, esi
movzx eax, ax
mov dword [esp + 0x18], ecx
cmp ecx, 0xffffffff
je 0x463b70
mov esi, ebp
cmp esi, 0xffffffff
je 0x463b70
mov ebp, eax
cmp ebp, 0xffffffff
je 0x463b70
lea eax, [ecx - 7]
mov ecx, edi
push eax
push 7
lea eax, [esp + 0x3c]
push eax
call fcn.00453dee
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.004542f3
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.00453dee
push 0x565c50
mov edx, eax
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x38]
call fcn.00465f69
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 3
call fcn.004542f3
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.00453dee
push 0x565c54
mov edx, eax
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x50]
call fcn.00465f69
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 5
call fcn.004542f3
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.00453dee
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 6
call fcn.004542f3
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.00465c9d
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 0x466bef
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 0x466c53
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x466c53
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.00454389
lea ecx, [ebp - 0x230]
call fcn.00486135
test al, al
jne 0x466cb0
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.004542f3
mov eax, dword [0x5983a4]
test al, 1
jne 0x466d0c
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 0x466d31
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 0x466d52
xor eax, eax
jmp 0x466db1
cmp dword [ebp - 0xc], 0x10000
je 0x466d4e
push edi
mov edi, dword [ebp - 0x18]
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x466dae
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 0x466dae
mov eax, dword [edx + 8]
cmp dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
cmova eax, dword [edx + 0x10]
cmp esi, ecx
jb 0x466da5
add eax, ecx
cmp esi, eax
jbe 0x466db7
inc edi
add edx, 0x28
cmp di, bx
jb 0x466d8e
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 0x466db0
Function at 0x4671db
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
push 4
mov dword [ebp - 4], ebx
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 0x467376
dec eax
je 0x467339
dec eax
je 0x4672c1
dec eax
jne 0x4673f0
push 0x5660bc
push 0x85
call fcn.0049b6f3
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4673f0
push esi
call fcn.0049b6f3
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4672b5
push esi
call fcn.0049b6f3
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4672b5
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], 0x5660cc
call fcn.00467f47
mov ecx, eax
call fcn.004b9fe3
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4673f0
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], 0x566074
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x4673e4
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], 0x5660a8
jmp 0x4673e4
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.00467f47
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 0x4683e3
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 0x4684f9
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4684f9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
add esi, 0x28
je 0x4684f9
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 0x4684bf
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 0x566454
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x4684e1
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 0x4691a4
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 0x46920f
cmp dword [0x59735c], 0
je 0x46939a
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 0x46939a
mov eax, dword [edi + 0x71c]
mov esi, dword [eax]
cmp eax, esi
je 0x469381
mov eax, dword [esp + 0x7c]
cmp dword [esi + 0x21c], eax
jne 0x469373
cmp dword [0x59735c], 0
je 0x4692dd
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 0x46927f
mov ebp, dword [ebp]
cmp dword [ebx + 0x14], 0x10
jb 0x469287
mov ebx, dword [ebx]
cmp dword [eax + 0x14], 0x10
jb 0x46928f
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 0x4692f0
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea ebp, [esi + 0x84]
cmp dword [ebp + 0x14], 8
jb 0x4692ff
mov ebp, dword [ebp]
lea edx, [esi + 0x24]
cmp dword [edx + 0x14], 8
jb 0x46930a
mov edx, dword [edx]
lea ebx, [esi + 0xc]
cmp dword [ebx + 0x14], 8
jb 0x46931b
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
jmp 0x46931f
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 0x5664ec
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.00465bc3
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 0x469223
mov esi, 0x5664f0
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