joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457358
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x5333c6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x2c], ebp
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp dword [edx + 0x14], 0x10
jb 0x457399
mov eax, dword [edx]
mov dword [esp + 0x20], eax
jmp 0x45739f
mov eax, edx
mov dword [esp + 0x20], edx
mov ecx, dword [edx + 0x10]
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
mov dword [esp + 0x38], ebx
mov edi, ebx
mov dword [esp + 0x28], 1
test ecx, ecx
je 0x457508
push 3
pop esi
jmp 0x4573ce
mov ecx, dword [esp + 0x24]
mov al, byte [eax]
dec ecx
mov byte [esp + edi + 0x18], al
inc edi
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x19]
inc eax
mov dword [esp + 0x24], ecx
mov ch, byte [esp + 0x1a]
mov cl, byte [esp + 0x18]
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], ch
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], cl
cmp edi, esi
jne 0x457464
mov al, cl
mov edi, ebx
shr al, 2
and cl, 3
mov byte [esp + 0x1c], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [esp + 0x1d], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
movzx eax, byte [esp + edi + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x56a720]
push eax
push 1
call fcn.0045a784
inc edi
cmp edi, 4
jl 0x457436
mov dl, byte [esp + 0x15]
mov edi, ebx
mov cl, byte [esp + 0x16]
mov eax, dword [esp + 0x20]
mov ch, byte [esp + 0x17]
cmp dword [esp + 0x24], 0
ja 0x4573ca
test edi, edi
je 0x457508
mov eax, edi
cmp edi, esi
jge 0x45749a
cmp eax, esi
jae 0x45751e
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x45747f
mov ch, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
mov cl, byte [esp + 0x18]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x1c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [esp + 0x1d], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [esp + 0x1f], ch
lea eax, [edi + 1]
mov byte [esp + 0x1e], dl
test eax, eax
jle 0x4574f4
lea esi, [edi + 1]
movzx eax, byte [esp + ebx + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x56a720]
push eax
push 1
call fcn.0045a784
inc ebx
cmp ebx, esi
jl 0x4574d6
push 3
pop esi
cmp edi, esi
jge 0x457508
sub esi, edi
push 0x3d
push 1
mov ecx, ebp
call fcn.0045a784
dec esi
jne 0x4574fa
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.0050a423
int3
Function at 0x459ead
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5339e2
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x596700]
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.0050a7ce
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.00508163
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 0x533b77
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x596700]
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.0050a7ce
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.00508163
mov esp, ebp
pop ebp
ret
Function at 0x45e6ad
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x533fdf
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
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 0x460f7c
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x534674
call fcn.0050d349
lea eax, [ebp - 0x80]
push eax
call fcn.00461254
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 0x460fb4
cmp word [ebp - 0x38], ax
jne 0x460fb6
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.004869e0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.00461163
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 [0x59d4e0]
test ecx, ecx
je 0x461125
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.0050815e
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.0050d2f8
ret
Function at 0x461254
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x5346be
call fcn.0050d349
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.0050cd80
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 0x461310
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, 0x56aa88
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.004616d7
cmp eax, 0xffffffff
je 0x46136c
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.00453e03
push eax
mov ecx, esi
call fcn.004615ca
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.00451108
mov eax, esi
call fcn.0050d2f8
ret 4

Function at 0x461376
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x534bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
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 0x463b8b
cmp dword [0x59d564], 0x64
jae 0x463b8b
push 0x56b158
lea ecx, [esp + 0x20]
call fcn.00450dd2
and dword [esp + 0x74], 0
mov esi, 0x56b15c
push esi
call fcn.00450dae
pop ecx
push eax
push 0
push esi
mov ecx, edi
call fcn.004616d7
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.004616d7
push str.___data_:_
movzx ebp, ax
call fcn.00450dae
pop ecx
push eax
push 0
push str.___data_:_
mov ecx, edi
call fcn.004616d7
mov ecx, esi
movzx eax, ax
mov dword [esp + 0x18], ecx
cmp ecx, 0xffffffff
je 0x463b7e
mov esi, ebp
cmp esi, 0xffffffff
je 0x463b7e
mov ebp, eax
cmp ebp, 0xffffffff
je 0x463b7e
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 0x56b1a0
mov edx, eax
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x38]
call fcn.00465f75
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 0x56b1a4
mov edx, eax
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x50]
call fcn.00465f75
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, 0x59d560
push eax
call fcn.00465ca9
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.00508163
add esp, 0x64
ret 4
Function at 0x466bfb
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x535394
call fcn.0050d349
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.0050cd80
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x466c5f
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x466c5f
push 0x56b514
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, 0x56b518
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.0048a9dc
test al, al
jne 0x466cbc
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 [0x59e564]
test al, 1
jne 0x466d18
or eax, 1
mov dword [0x59e564], eax
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.004869e0
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.00485ce4
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0044ea87
push 0x53f22c
call fcn.00509169
pop ecx
mov byte [ebp - 4], bl
mov dword [0x59d50c], 0x59e568
call fcn.00485de6
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00451108
xor eax, eax
call fcn.0050d2f8
ret

Function at 0x466d3d
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 0x466d5e
xor eax, eax
jmp 0x466dbd
cmp dword [ebp - 0xc], 0x10000
je 0x466d5a
push edi
mov edi, dword [ebp - 0x18]
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x466dba
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 0x466dba
mov eax, dword [edx + 8]
cmp dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
cmova eax, dword [edx + 0x10]
cmp esi, ecx
jb 0x466db1
add eax, ecx
cmp esi, eax
jbe 0x466dc3
inc edi
add edx, 0x28
cmp di, bx
jb 0x466d9a
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 0x466dbc
Function at 0x4671e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x310
lea ebp, [esp - 4]
mov eax, dword [0x596700]
xor eax, ebp
mov dword [ebp + 0x310], eax
push 4
mov eax, 0x535455
call fcn.0050d316
push 0xffffffffffffffff
push str.LANG_EN
lea ecx, [ebp]
call fcn.0049c2d8
xor ebx, ebx
lea ecx, [ebp]
push str.LANG_IT
mov dword [ebp - 4], ebx
call fcn.0049c473
push 4
call fcn.004a4a4e
lea eax, [ebp + 0x84]
push eax
call fcn.0049fd9c
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0049ff5b
dec eax
je 0x46738f
dec eax
je 0x467352
dec eax
je 0x4672da
dec eax
jne 0x467409
push 0x56b61c
push 0x85
call fcn.0049ff46
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x467409
push esi
call fcn.0049ff46
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4672ce
push esi
call fcn.0049ff46
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4672ce
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.004a4a5b
add esp, 0xc
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x56b62c
call fcn.00467f60
mov ecx, eax
call fcn.004be7c9
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x467409
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.0050cd80
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.0049c530
lea ecx, [ebp + 0x84]
call fcn.0049c4cf
push eax
call fcn.004a4a05
mov dword [esp], 0x56b5d4
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x4673fd
push str.skin_
lea ecx, [ebp + 0x84]
call fcn.0049c530
lea ecx, [ebp + 0x84]
call fcn.0049c4cf
push eax
call fcn.004a4a05
push ebx
push 1
push str.res.zip
call fcn.004a4ae9
add esp, 0x10
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x56b608
jmp 0x4673fd
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.0050cd80
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.0049c530
lea ecx, [ebp + 0x84]
call fcn.0049c4cf
push eax
call fcn.004a4a05
pop ecx
push ebx
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.00467f60
mov ecx, eax
call fcn.004be7c9
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], bl
call fcn.0049c3db
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0049c3db
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.00508163
lea esp, [ebp + 0x314]
pop ebp
ret
Function at 0x4683fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5355d9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
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 0x468512
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x468512
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
add esi, 0x28
je 0x468512
xor eax, eax
push 0x7e
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push ebp
push eax
call fcn.0050cd80
add esp, 0xc
test bl, bl
je 0x4684d8
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 0x4684fa
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.00508163
add esp, 0x98
ret