joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fe40
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5575b9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], edi
mov byte [esi + 4], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
push edi
mov dword [esi], vtable.deploy::RollbackFile.0
call fcn.0040c7b0
add esi, 0x20
mov byte [ebp - 4], 1
push 0x5862b0
mov edx, edi
mov ecx, esi
call fcn.004185a0
add esp, 4
mov eax, dword [ebp - 0x2c]
lea edi, [eax + 0x38]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
mov eax, dword [ebp - 0x30]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41fed9
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ffe7
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
push 0x5862b0
call fcn.004185a0
add esp, 4
mov dword [ebp - 0x34], eax
cmp esi, eax
je 0x41ff30
mov ecx, esi
call fcn.00403d90
mov eax, dword [ebp - 0x34]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x50]
call fcn.00403d90
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41ff42
mov ecx, dword [esi]
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x41ff4d
mov eax, dword [eax]
push 9
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x420007
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.004aea10
add esp, 4
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x50]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
call fcn.004aebe0
mov esi, eax
cmp edi, esi
je 0x41ffb7
mov ecx, edi
call fcn.00403b20
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x41ffe7
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ffdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420031
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x2c]
mov byte [eax + 4], 0
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x42001d
mov esi, dword [esi]
xor ecx, ecx
mov word [esi], cx
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], ecx
jb 0x42002d
mov edi, dword [edi]
mov byte [edi], cl
jmp 0x41ffea
call fcn.00528129
int3
Function at 0x420040
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov dword [esi], vtable.deploy::RollbackFile.0
cmp dword [esi + 0x30], 0
je 0x420091
cmp dword [esi + 0x34], 8
push edi
lea edi, [esi + 0x20]
mov eax, edi
jb 0x420060
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x420076
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
lea eax, [esi + 0x38]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
pop edi
jb 0x42008e
mov eax, dword [eax]
mov byte [eax], 0
mov ecx, dword [esi + 0x4c]
cmp ecx, 0x10
jb 0x4200c1
mov eax, dword [esi + 0x38]
inc ecx
cmp ecx, 0x1000
jb 0x4200b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420101
mov eax, edx
push ecx
push eax
call fcn.0051ec14
add esp, 8
mov dword [esi + 0x48], 0
lea ecx, [esi + 0x20]
mov dword [esi + 0x4c], 0xf
mov byte [esi + 0x38], 0
call fcn.00403d90
lea ecx, [esi + 8]
call fcn.00403d90
test byte [ebp + 8], 1
mov dword [esi], vtable.deploy::IRollback.0
je 0x4200fa
push 0x50
push esi
call fcn.0051ec14
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4
call fcn.00528129
int3
Function at 0x4202b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5575f8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
lea eax, [esi + 8]
movups xmmword [ebp - 0x30], xmm0
xor ecx, ecx
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
push 0x20006
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x30]
push eax
call fcn.004b1150
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x4203d3
cmp dword [esi + 0x48], 0
lea ecx, [esi + 0x38]
jne 0x420354
xor ecx, ecx
cmp dword [esi + 0x30], ecx
je 0x42034a
cmp dword [esi + 0x34], 8
lea ecx, [esi + 0x20]
jb 0x42034a
mov ecx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x4203c1
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004b3100
test al, al
je 0x4203b9
lea eax, [esi + 0x20]
lea ecx, [ebp - 0x48]
cmp ecx, eax
je 0x4203ad
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4203a1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00403df0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.004b1600
lea ecx, [ebp - 0x58]
call fcn.0041bea0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4203d3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4203f8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov word [eax], cx
lea ecx, [ebp - 0x28]
call fcn.00403d90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
Function at 0x421270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557713
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00525340
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x421329
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x421329
call fcn.004208f0
mov edi, eax
jmp 0x421445
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42134c
call fcn.004208f0
jmp 0x421438
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x42136a
call fcn.004208f0
jmp 0x421438
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x42138b
mov edi, 0x8007000e
jmp 0x42143a
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x421480
jb 0x4213a9
cmp eax, 0xffffffff
ja 0x421480
cmp eax, 0x400
jbe 0x4213be
push eax
lea ecx, [ebp - 0x424]
call fcn.00427030
jmp 0x4213e4
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x4213e4
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x4213fb
mov edi, 0x8007000e
jmp 0x42143a
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42141b
call fcn.004208f0
jmp 0x421438
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.00422090
mov edi, eax
test esi, esi
je 0x421445
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x421460
lea ecx, [ebp - 0x424]
call fcn.00426d90
nop
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004207b0
int3
Function at 0x423c30
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x423c6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.005232c0
mov dword [esp + 0x10], eax
test esi, esi
jne 0x423c7f
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov edx, 0x5866c0
lea ecx, [esp + 0xc]
call fcn.00423ae0
int3

Function at 0x423df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557924
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00427140
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
je 0x423ebb
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x40]
call fcn.004105f0
push eax
mov byte [ebp - 4], 4
call fcn.00414000
int3
Function at 0x426b20
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x5bf03c
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x426b66
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x5bf040
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x426b7d
push 0
push 0x5bf040
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x426b94
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 8], eax
call fcn.005232c0
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.00423ae0
int3

Function at 0x427d40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557f00
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [edi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 4]
push eax
call fcn.00523d1a
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
call fcn.00409180
lea esi, [edi + 0x2c]
mov dword [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x427dd2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x34]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x10], eax
mov eax, edi
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x428610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556458
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.00523d1a
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
call fcn.00409180
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x428b60
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5580b0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
call fcn.004a3a70
push str..bak
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004185a0
push str..tmp
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004185a0
add esp, 8
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x428c23
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x40]
call fcn.00403d90
lea ecx, [ebp - 0x58]
call fcn.00403d90
lea ecx, [ebp - 0x28]
call fcn.00403d90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x42cd40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
movzx eax, cl
xor eax, 0x811c9dc5
mov dword [ebp - 4], ebx
imul edx, eax, 0x1000193
mov eax, ecx
sar eax, 8
mov esi, dword [edi + 0xc]
movzx eax, al
xor edx, eax
mov eax, dword [ebp + 0xc]
sar eax, 0x10
imul ecx, edx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, dword [ebp + 0xc]
imul ecx, ecx, 0x1000193
sar eax, 0x18
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
add ecx, ecx
mov edx, dword [esi + ecx*4]
add esi, 4
mov dword [ebp - 8], edx
mov edx, dword [edi + 4]
mov edi, dword [ebp - 8]
lea ecx, [esi + ecx*4]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
nop dword [eax]
cmp edi, edx
jne 0x42cdc8
mov ecx, edx
jmp 0x42cdcc
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x42cdf6
cmp dword [eax + 8], esi
je 0x42cddc
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
jmp 0x42cdc0
cmp eax, edx
je 0x42cdf6
add eax, 0xc
mov ecx, ebx
push eax
call fcn.0040c7b0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov ecx, ebx
push 0x584430
mov word [ebx], ax
call fcn.00403df0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42d070
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x42d0e6
cmp eax, edi
jne 0x42d0de
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x42d0ee
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x42d0ee
cmp eax, edi
jne 0x42d0ee
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [edx + 8]
call fcn.00403d90
push 0x24
push edi
call fcn.0051ec14
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42de30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5586fe
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x2c], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x34], vtable.WTL::CMessageFilter.0
mov dword [edi + 0x38], vtable.WTL::CIdleHandler.0
mov dword [edi + 0x3c], vtable.InstallerViewer.0
mov byte [ebp - 4], 1
lea esi, [edi + 0x40]
push 0
mov dword [edi], vtable.CMainFrame.0
mov dword [edi + 0x34], vtable.CMainFrame.1.0
mov dword [edi + 0x38], vtable.CMainFrame.3.0
mov dword [edi + 0x3c], vtable.CMainFrame.2.0
push 0
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00413d70
mov dword [esi], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 0x48], eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [edi + 0x64]
mov byte [ebp - 4], 3
push 0
push 0
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00413da0
mov dword [esi], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x6c], edx
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
push dword [edx + 0x24]
lea ecx, [edi + 0x80]
call fcn.004b6d70
push dword [edx + 0x24]
lea ecx, [edi + 0x108]
call fcn.004b6d70
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push 0x15
push str.main_skin.xml:styler3
mov byte [edi + 0x190], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403f90
lea ecx, [edi + 0x11c]
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x42dfb5
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00403f90
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42dfe5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42dfdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dffa
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.00528129
int3
Function at 0x42e030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556070
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x108]
mov dword [edi], vtable.CMainFrame.0
mov dword [edi + 0x34], vtable.CMainFrame.1.0
mov dword [edi + 0x38], vtable.CMainFrame.3.0
mov dword [edi + 0x3c], vtable.CMainFrame.2.0
call fcn.004b6e10
lea ecx, [edi + 0x80]
call fcn.004b6e10
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x42e096
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x42e0ab
mov dword [ebp - 4], 0
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [edi + 0x64]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [edi + 0x64]
mov dword [eax + 4], eax
mov dword [edi + 0x68], 0
mov eax, dword [edi + 0x64]
cmp esi, eax
je 0x42e122
mov ecx, dword [esi + 0x1c]
mov ebx, dword [esi]
cmp ecx, 0x10
jb 0x42e0fc
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x42e0f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e172
mov eax, edx
push ecx
push eax
call fcn.0051ec14
add esp, 8
push 0x20
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
push esi
mov byte [esi + 8], 0
call fcn.0051ec14
mov eax, dword [edi + 0x64]
add esp, 8
mov esi, ebx
cmp ebx, eax
jne 0x42e0c6
push 0x20
push eax
call fcn.0051ec14
add esp, 8
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [edi + 0x40]
call fcn.0042f150
push 0xc
push dword [edi + 0x40]
call fcn.0051ec14
mov dword [edi + 0x3c], vtable.InstallerViewer.0
add esp, 8
mov eax, dword [edi + 0x14]
test eax, eax
je 0x42e160
push eax
call fcn.00523788
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00528129
int3