joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4387e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fe68
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x7c]
call fcn.0042fae0
mov dword [ebp - 4], 0
push 0x519a34
lea ecx, [ebp - 0x40]
call fcn.00409570
mov byte [ebp - 4], 1
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00401f40
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00408cf0
push str.Photomanager.exe
lea ecx, [ebp - 0x58]
call fcn.00409570
mov byte [ebp - 4], 2
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00401f40
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00408cf0
push 0x519a58
lea ecx, [ebp - 0x70]
call fcn.00409570
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.00401f40
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00408cf0
lea ecx, [ebp - 0x7c]
call fcn.004300a0
test eax, eax
jbe 0x4389a5
push 0x519a68
lea ecx, [ebp - 0x28]
call fcn.00409570
mov byte [ebp - 4], 4
push 0x519a84
lea ecx, [ebp - 0x28]
call fcn.00403740
push 0x519a8c
lea ecx, [ebp - 0x28]
call fcn.00403740
push 4
push 0x519ac4
lea ecx, [ebp - 0x28]
call fcn.004036a0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 6
jne 0x438975
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0042fef0
jmp 0x438928
push 0
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x80]
call fcn.0042fc30
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00430040
push eax
lea ecx, [ebp - 0x80]
call fcn.004469d0
movzx eax, al
test eax, eax
je 0x438973
lea ecx, [ebp - 0x80]
call fcn.0042fbe0
mov ecx, dword [eax]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x88], eax
push 0
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x438917
jmp 0x438999
mov byte [ebp - 0x71], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0042fb70
mov al, byte [ebp - 0x71]
jmp 0x4389bb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408cf0
mov byte [ebp - 0x72], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0042fb70
mov al, byte [ebp - 0x72]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x438f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ff44
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], ecx
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.004ab2f0
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.CheckABCPhotoView.7z.md5
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x114]
push eax
push str.7ZDATAMD5
mov ecx, dword [ebp - 0x268]
call fcn.00439b50
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x268]
call fcn.00439c30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00403690
test eax, eax
jne 0x43901d
mov byte [ebp - 0x261], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00408cf0
mov al, byte [ebp - 0x261]
jmp 0x43913f
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.004ab2f0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.ABCPhotoView.7z
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x218]
push eax
push str.7ZDATA
mov ecx, dword [ebp - 0x268]
call fcn.00439b50
lea ecx, [ebp - 0x218]
push ecx
call fcn.00438750
add esp, 4
push eax
lea ecx, [ebp - 0x260]
call fcn.004034c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.00408500
push eax
lea edx, [ebp - 0x248]
push edx
mov ecx, dword [ebp - 0x268]
call fcn.00438c20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.004036a0
push eax
lea ecx, [ebp - 0x230]
call fcn.004036a0
push eax
call fcn.004028d0
add esp, 8
mov esi, eax
lea ecx, [ebp - 0x230]
call fcn.004036a0
cmp esi, eax
jne 0x4390f3
mov dword [ebp - 0x26c], 1
jmp 0x4390fd
mov dword [ebp - 0x26c], 0
mov al, byte [ebp - 0x26c]
mov byte [ebp - 0x262], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00408cf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00408940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00408cf0
mov al, byte [ebp - 0x262]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x439370
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ffcf
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
cmp dword [ebp + 8], 0
je 0x4393b1
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4393b8
xor al, al
jmp 0x43953f
push 0x5c
mov edx, dword [ebp + 8]
push edx
call fcn.004acde0
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x4393dc
xor al, al
jmp 0x43953f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409570
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x90]
sub ecx, dword [ebp + 8]
add ecx, 1
push ecx
push 0
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x28]
call fcn.00403570
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004037e0
lea ecx, [ebp - 0x70]
call fcn.00408cf0
lea ecx, [ebp - 0x28]
call fcn.004036a0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
je 0x43944e
cmp dword [ebp - 0x94], 5
jne 0x43946f
mov byte [ebp - 0x89], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408cf0
mov al, byte [ebp - 0x89]
jmp 0x43953f
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00409570
mov byte [ebp - 4], 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp + 8]
add edx, 1
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403570
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004037e0
lea ecx, [ebp - 0x88]
call fcn.00408cf0
push str._:____
lea ecx, [ebp - 0x58]
call fcn.00409570
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xa4]
call fcn.00439e20
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x4394fc
mov dword [ebp - 0x98], 1
jmp 0x439506
mov dword [ebp - 0x98], 0
mov cl, byte [ebp - 0x98]
mov byte [ebp - 0x8a], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00408cf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00408cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408cf0
mov al, byte [ebp - 0x8a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 4
Function at 0x439560
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.004ab2f0
add esp, 0xc
push 0
mov ecx, dword [ebp + 8]
call fcn.00411900
movsx ecx, byte [eax]
push ecx
push str._c:_
lea edx, [ebp - 0x108]
push edx
call fcn.0042c4c0
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 4
Function at 0x439600
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510002
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
push 1
push 0x64
push 0
push str.http_shellopencommand
push accept
lea eax, [ebp - 0x230]
push eax
call fcn.00402c80
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push 0x5198e8
lea ecx, [ebp - 0x230]
call fcn.004035d0
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x230]
call fcn.00403690
sub eax, dword [ebp - 0x268]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x268]
add ecx, 1
push ecx
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x230]
call fcn.00403570
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x230]
call fcn.004037e0
lea ecx, [ebp - 0x248]
call fcn.00408cf0
push 0
push 0x5198ec
lea ecx, [ebp - 0x230]
call fcn.004035d0
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
push 0
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x230]
call fcn.00403570
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.004037e0
lea ecx, [ebp - 0x260]
call fcn.00408cf0
mov byte [ebp - 0x261], 0
lea ecx, [ebp - 0x230]
call fcn.004036a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x439787
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x5198f0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x439771
cmp dword [ebp - 0x26c], 0x20
ja 0x439771
mov dword [ebp - 0x270], 0
jmp 0x43977b
mov dword [ebp - 0x270], 1
mov dl, byte [ebp - 0x270]
mov byte [ebp - 0x261], dl
movzx eax, byte [ebp - 0x261]
test eax, eax
jne 0x43984b
push 0x44
push 0
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.004ab2f0
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x2d0], 0x44
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004ab2f0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
lea eax, [ebp - 0x218]
push eax
call fcn.0042c2c0
add esp, 0xc
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x2d0]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43984b
mov ecx, dword [ebp - 0x288]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00408cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 4
Function at 0x439b50
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.0042ef00
mov ecx, eax
call fcn.00440710
mov dword [ebp - 8], eax
push 0x519994
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x439b89
jmp 0x439c1e
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x439bd0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x439c1e
mov dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 8

Function at 0x439c30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], 0
push 0x51999c
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b2945
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x439c7f
push 0x519885
mov ecx, dword [ebp + 8]
call fcn.00409570
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
jmp 0x439cd8
mov byte [ebp - 0x28], 0
xor edx, edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov eax, dword [ebp - 0x30]
push eax
push 0x20
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.004b2b6f
add esp, 0x10
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b26c0
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00409570
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 8
Function at 0x43c4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x920
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x914], 0xffffffff
mov dword [ebp - 0x908], 0
mov byte [ebp - 0x104], 0
push 0xff
push 0
lea eax, [ebp - 0x103]
push eax
call fcn.004ab2f0
add esp, 0xc
call fcn.00436c70
mov dword [ebp - 0x920], eax
mov ecx, dword [ebp + 8]
push ecx
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
lea edx, [ebp - 0x104]
push edx
call fcn.0042c4c0
add esp, 0xc
lea eax, [ebp - 0x908]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x104]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43c660
xor edx, edx
mov word [ebp - 0x904], dx
push 0x7fe
push 0
lea eax, [ebp - 0x902]
push eax
call fcn.004ab2f0
add esp, 0xc
mov dword [ebp - 0x918], 0x800
lea ecx, [ebp - 0x918]
push ecx
lea edx, [ebp - 0x904]
push edx
push 0
push 0
push str.PnpInstanceID
mov eax, dword [ebp - 0x908]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c653
push 3
push 0x51a0f4
lea ecx, [ebp - 0x904]
push ecx
push 0
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualW]
test eax, eax
je 0x43c653
mov dword [ebp - 0x910], 0
mov dword [ebp - 0x91c], 4
lea edx, [ebp - 0x91c]
push edx
lea eax, [ebp - 0x910]
push eax
push 0
push 0
push str.MediaSubType
mov ecx, dword [ebp - 0x908]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x90c], eax
cmp dword [ebp - 0x90c], 2
je 0x43c62b
cmp dword [ebp - 0x90c], 0
jne 0x43c637
cmp dword [ebp - 0x910], 1
jne 0x43c637
mov dword [ebp - 0x914], 0
jmp 0x43c653
cmp dword [ebp - 0x90c], 0
jne 0x43c653
cmp dword [ebp - 0x910], 2
jne 0x43c653
mov dword [ebp - 0x914], 1
mov edx, dword [ebp - 0x908]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x914]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x43d300
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x40c], 0
jmp 0x43d33e
mov eax, dword [ebp - 0x40c]
add eax, 1
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0x100
jge 0x43d3c3
mov ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x414], 0
jmp 0x43d371
mov edx, dword [ebp - 0x414]
add edx, 1
mov dword [ebp - 0x414], edx
cmp dword [ebp - 0x414], 8
jge 0x43d3ab
mov eax, dword [ebp - 0x408]
and eax, 1
je 0x43d39b
mov ecx, dword [ebp - 0x408]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 0x408], ecx
jmp 0x43d3a9
mov edx, dword [ebp - 0x408]
shr edx, 1
mov dword [ebp - 0x408], edx
jmp 0x43d362
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x408]
mov dword [ebp + eax*4 - 0x404], ecx
jmp 0x43d32f
mov dword [ebp - 0x410], 0xffffffff
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x418], 0
je 0x43d41d
mov ecx, dword [ebp - 0x410]
shr ecx, 8
mov edx, dword [ebp - 0x410]
and edx, 0xff
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
xor edx, eax
xor ecx, dword [ebp + edx*4 - 0x404]
mov dword [ebp - 0x410], ecx
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x43d3cd
mov eax, dword [ebp - 0x410]
xor eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 8

Function at 0x43d680
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409570
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c860
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00408cf0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042ef00
mov ecx, eax
call fcn.00440480
movzx eax, al
test eax, eax
jne 0x43d6d5
or eax, 0xffffffff
jmp 0x43d6fd
call fcn.0042ef00
mov ecx, eax
call fcn.004407a0
mov ecx, eax
call fcn.0043c6e0
call fcn.0042ef00
mov ecx, eax
call fcn.00440760
mov ecx, eax
call fcn.0043e500
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43ec40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51055b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0045ece6
add esp, 4
push 4
call fcn.0045ef5b
add esp, 4
lea ecx, [ebp - 0x94]
push ecx
call fcn.0045aa70
add esp, 4
mov dword [ebp - 4], 0
call fcn.0045abba
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
je 0x43ecbf
cmp dword [ebp - 0xa0], 4
je 0x43ece8
jmp 0x43eda4
push str..._skinInstall_
lea ecx, [ebp - 0x94]
call fcn.0045829a
lea ecx, [ebp - 0x94]
call fcn.00403280
push eax
call fcn.0045ef12
add esp, 4
jmp 0x43eda4
call fcn.0045aa6a
mov dword [ebp - 0xac], eax
push str.ZIPRES
push str.SKINDATA
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x43eda4
mov dword [ebp - 0x9c], 0
call fcn.0045aba5
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x43ed97
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jbe 0x43ed97
push 0
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0045ef68
add esp, 0xc
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00458132
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 4

Function at 0x441c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x441cd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
mov esp, ebp
pop ebp
ret

Function at 0x441fc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x442590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov esp, ebp
pop ebp
ret
Function at 0x444340
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
add ecx, 2
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x210]
mov ax, word [edx]
mov word [ebp - 0x212], ax
add dword [ebp - 0x210], 2
cmp word [ebp - 0x212], 0
jne 0x44436b
mov ecx, dword [ebp - 0x210]
sub ecx, dword [ebp - 0x218]
sar ecx, 1
mov dword [ebp - 0x21c], ecx
je 0x4443fc
xor edx, edx
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004ab2f0
add esp, 0xc
push 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4443fc
mov al, 1
jmp 0x4443fe
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret