joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b160
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x58e0bc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x44b185
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x44b1cc
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x44b1d0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x44b22c
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x44b1f3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x44b268
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x551e52
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x551e53
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x44b237
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x44b420
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44b456
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x800c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.004131e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x20
jne 0x44b4b3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x44b4c3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x44b4d4
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x456f0a
Capabilities:
Encode data using base64

Disassembly:
push 0x1c
mov eax, 0x52d298
call fcn.005070f1
mov edi, ecx
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
cmp dword [edx + 0x14], 0x10
jb 0x456f2d
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
jmp 0x456f32
mov eax, edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [edx + 0x10]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
mov edi, ebx
mov dword [ebp - 0x28], 1
test ecx, ecx
je 0x457090
push 3
pop esi
jmp 0x456f5d
mov ecx, dword [ebp - 0x24]
mov al, byte [eax]
dec ecx
mov byte [ebp + edi - 0x14], al
inc edi
mov eax, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x13]
inc eax
mov dword [ebp - 0x24], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x456fe8
mov esi, dword [ebp - 0x20]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
movzx eax, byte [ebp + edi - 0x18]
mov ecx, esi
movzx eax, byte [eax + 0x5631d0]
push eax
push 1
call fcn.0045a1bc
inc edi
cmp edi, 4
jl 0x456fbb
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov eax, dword [ebp - 0x1c]
mov ch, byte [ebp - 0xf]
push 3
pop esi
cmp dword [ebp - 0x24], 0
ja 0x456f5a
mov dword [ebp - 0x24], edi
test edi, edi
je 0x457090
mov eax, edi
cmp edi, esi
jge 0x45701d
cmp eax, esi
jae 0x457099
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x457005
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x45707b
mov esi, dword [ebp - 0x20]
mov edi, eax
movzx eax, byte [ebp + ebx - 0x18]
mov ecx, esi
movzx eax, byte [eax + 0x5631d0]
push eax
push 1
call fcn.0045a1bc
inc ebx
cmp ebx, edi
jl 0x45705a
mov edi, dword [ebp - 0x24]
push 3
pop esi
cmp edi, esi
jge 0x457090
sub esi, edi
mov ecx, dword [ebp - 0x20]
push 0x3d
push 1
call fcn.0045a1bc
dec esi
jne 0x457081
mov eax, dword [ebp - 0x20]
call fcn.005070bf
ret
call fcn.005041f3
int3
Function at 0x4598ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52d8a8
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 0x45993d
xor eax, eax
jmp 0x459ab9
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x459967
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x459967
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 0x459ab9
cmp dword [esi + 0x50], 0
je 0x459ab7
mov ecx, esi
call fcn.0045aced
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x459994
push dword [esi + 0x50]
push edi
call fcn.004556d9
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x459ab7
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.0045e8a5
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 0x459aaa
cmp eax, 1
jg 0x459a8d
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 0x459a5a
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0050459e
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x459aaa
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x459a88
test edx, edx
jne 0x4599c7
cmp dword [esp + 0x38], 0x20
jae 0x459aaa
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.0045a1bc
jmp 0x4599c3
mov ebx, dword [ebp + 8]
jmp 0x459aaa
cmp eax, 3
jne 0x459aaa
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
push dword [esp + 0x14]
call fcn.004556d9
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0044ea00
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.00501f3e
mov esp, ebp
pop ebp
ret 4
Function at 0x45ab68
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52da3d
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 0x45aca2
cmp byte [ebx + 0x45], 0
je 0x45aca2
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45abc8
xor al, al
jmp 0x45aca4
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.0045e8a5
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 0x45ac2d
dec eax
je 0x45ac31
dec eax
dec eax
je 0x45ac8f
xor bl, bl
jmp 0x45ac91
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 0x45ac70
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0050459e
add esp, 0x10
cmp esi, eax
jne 0x45ac29
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x45ac8f
test esi, esi
jne 0x45abf3
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0045a1bc
jmp 0x45abeb
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0044ea00
mov al, bl
jmp 0x45aca4
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.00501f3e
mov esp, ebp
pop ebp
ret
Function at 0x4607d5
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x52e4e8
call fcn.00507124
lea eax, [ebp - 0x80]
push eax
call fcn.00460abf
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 0x46080d
cmp word [ebp - 0x38], ax
jne 0x46080f
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.00480835
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.004609bc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.004560c4
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.0044e9d1
push str.windows
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x140]
call fcn.00455c05
xor ebx, ebx
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea00
push str.os_version
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455b5a
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea00
push str.osbit
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x140]
call fcn.00455942
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea00
push str.oslang
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455b5a
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea00
push str.oszone
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x140]
call fcn.00455942
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea00
mov ecx, dword [0x595330]
test ecx, ecx
je 0x46097e
mov ecx, dword [ecx]
lea eax, [ebp - 0x140]
push eax
call fcn.00456081
lea ecx, [ebp - 0x13c]
call fcn.00458ad2
push dword [ebp - 0x13c]
call fcn.004b4a4d
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004510a8
call fcn.005070d3
ret
Function at 0x460abf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x52e532
call fcn.00507124
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.00506ab0
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 0x460b7b
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.00450d66
mov edi, 0x563538
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0xb8], 1
call fcn.00450d3f
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.00460f0c
cmp eax, 0xffffffff
je 0x460bd7
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.00453a7c
push eax
mov ecx, esi
call fcn.00460dfd
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.004510a8
mov eax, esi
call fcn.005070d3
ret 4

Function at 0x460be1
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x460c10
push edi
xor edi, edi
push edi
push edi
push esi
push 0x460dba
push edi
push edi
call fcn.00504c36
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 0x460c1f
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret
Function at 0x465d43
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x52f198
call fcn.00507124
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.00506ab0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x465da7
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x465da7
push 0x563fc4
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.00450d66
mov edi, 0x563fc8
mov dword [ebp - 4], ebx
push edi
call fcn.00450d3f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.0045405e
lea ecx, [ebp - 0x230]
call fcn.004848fc
test al, al
jne 0x465e04
lea eax, [ebp - 0x218]
push eax
call fcn.00450d3f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450cc6
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00453fb8
mov eax, dword [0x5963bc]
test al, 1
jne 0x465e60
or eax, 1
mov dword [0x5963bc], eax
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00480835
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.0047fa6d
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0044ea00
push 0x5389dc
call fcn.00502f39
pop ecx
mov byte [ebp - 4], bl
mov dword [0x59535c], 0x5963c0
call fcn.0047fb77
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.004510a8
xor eax, eax
call fcn.005070d3
ret

Function at 0x465e85
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 0x465ea6
xor eax, eax
jmp 0x465f05
cmp dword [ebp - 0xc], 0x10000
je 0x465ea2
push edi
mov edi, dword [ebp - 0x18]
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x465f02
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 0x465f02
mov eax, dword [edx + 8]
cmp dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
cmova eax, dword [edx + 0x10]
cmp esi, ecx
jb 0x465ef9
add eax, ecx
cmp esi, eax
jbe 0x465f0b
inc edi
add edx, 0x28
cmp di, bx
jb 0x465ee2
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 0x465f04
Function at 0x466335
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x318
mov eax, 0x52f25c
call fcn.00507124
push 0xffffffffffffffff
push str.LANG_EN
lea ecx, [ebp - 0x320]
call fcn.0049690b
xor ebx, ebx
lea ecx, [ebp - 0x320]
push str.LANG_RU
mov dword [ebp - 4], ebx
call fcn.00496aa6
push 4
call fcn.0049efd9
lea eax, [ebp - 0x29c]
push eax
call fcn.0049a325
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0049a4e4
dec eax
je 0x4664d1
dec eax
je 0x466494
dec eax
je 0x466419
dec eax
jne 0x46654e
push 0x5640cc
push 0x85
call fcn.0049a4cf
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46654e
push esi
call fcn.0049a4cf
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46640d
push esi
call fcn.0049a4cf
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x46640d
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0049efe6
add esp, 0xc
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x5640dc
call fcn.004670b9
mov ecx, eax
call fcn.004b8d4c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x46654e
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00506ab0
sub esp, 0x78
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x320]
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 - 0x218]
lea ecx, [ebp - 0x29c]
push eax
call fcn.00496b70
lea ecx, [ebp - 0x29c]
call fcn.00497005
push eax
call fcn.0049ef90
mov dword [esp], 0x564084
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x466542
push str.skin_
lea ecx, [ebp - 0x29c]
call fcn.00496b70
lea ecx, [ebp - 0x29c]
call fcn.00497005
push eax
call fcn.0049ef90
push ebx
push 1
push str.res.zip
call fcn.0049f074
add esp, 0x10
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x5640b8
jmp 0x466542
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00506ab0
sub esp, 0x78
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x320]
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 - 0x218]
lea ecx, [ebp - 0x29c]
push eax
call fcn.00496b70
lea ecx, [ebp - 0x29c]
call fcn.00497005
push eax
call fcn.0049ef90
pop ecx
push ebx
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.004670b9
mov ecx, eax
call fcn.004b8d4c
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], bl
call fcn.00496a0e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.00496a0e
call fcn.005070d3
ret
Function at 0x467571
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x8c
mov eax, 0x52f3e0
call fcn.00507124
mov bl, dl
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
push str.3.0.5
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], esi
call fcn.00450d66
xor eax, eax
mov dword [ebp - 4], esi
inc eax
push 0x10
push eax
push esi
mov dword [ebp - 0x94], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x467669
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x467669
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
add esi, 0x28
je 0x467669
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push eax
call fcn.00506ab0
add esp, 0xc
test bl, bl
je 0x467629
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, [ebp - 0x90]
push 0x564464
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x46764d
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 0xa]
push eax
lea eax, [ebp - 0x90]
push str._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x90]
push eax
call fcn.00450d3f
pop ecx
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.00450cc6
mov eax, edi
call fcn.005070d3
ret
Function at 0x4684ab
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 8], ebx
cmp dword [ebx + 0x73c], 0
je 0x4685d8
mov eax, dword [ebx + 0x734]
push esi
mov esi, dword [eax]
cmp eax, esi
je 0x4685d7
mov eax, dword [ebp + 8]
push edi
cmp dword [esi + 8], eax
jne 0x4685c8
mov dword [ebp - 4], eax
lea edi, [ebx + 0x778]
lea eax, [ebp - 4]
mov ecx, edi
push eax
call fcn.004716eb
test eax, eax
je 0x46851f
lea eax, [esi + 0x19c]
cmp dword [eax + 0x14], 8
jb 0x468508
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46851f
and dword [esi + 0x210], 0
jmp 0x4685c5
lea ecx, [esi + 8]
call fcn.0046742f
mov edx, dword [edi]
mov ecx, edx
mov ebx, dword [ebp + 8]
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x468547
cmp dword [eax + 0x10], ebx
jge 0x468541
mov eax, dword [eax + 8]
jmp 0x468531
mov ecx, eax
mov eax, dword [eax]
jmp 0x468531
cmp ecx, edx
je 0x468558
cmp ebx, dword [ecx + 0x10]
jl 0x468558
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0xc]
jmp 0x46855e
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
mov eax, dword [eax]
cmp eax, edx
je 0x468570
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0044d935
push 8
lea eax, [esi + 0x3c]
pop ecx
mov dword [ebp - 4], eax
cmp dword [eax + 0x14], ecx
jb 0x468583
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea ebx, [esi + 0x84]
cmp dword [ebx + 0x14], ecx
jb 0x468590
mov ebx, dword [ebx]
lea edi, [esi + 0x24]
cmp dword [edi + 0x14], ecx
jb 0x46859a
mov edi, dword [edi]
lea edx, [esi + 0xc]
cmp dword [edx + 0x14], ecx
jb 0x4685a4
mov edx, dword [edx]
mov ecx, dword [ebp - 8]
push 0
push dword [ebp - 4]
mov ecx, dword [ecx + 0x73c]
push ebx
push dword [esi + 8]
mov eax, dword [ecx]
push 0x564504
push edi
push edx
call dword [eax + 0xc]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov esi, dword [esi]
cmp dword [ebx + 0x734], esi
jne 0x4684d9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4