joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4651d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x465212
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
push edi
push 0
push eax
push 0xe
lea eax, [ebp - 0x18]
push eax
push esi
call ebx
test eax, eax
je 0x465385
cmp dword [ebp - 8], 0xe
jne 0x465385
mov eax, 0x4d42
cmp word [ebp - 0x18], ax
jne 0x465385
cmp word [ebp - 0x12], 0
jne 0x465385
cmp word [ebp - 0x10], 0
jne 0x465385
push 0x2c
call fcn.0056283f
mov edi, eax
add esp, 4
test edi, edi
je 0x465385
push 0
lea eax, [ebp - 8]
push eax
push 0x28
push edi
push esi
call ebx
test eax, eax
je 0x465362
cmp dword [ebp - 8], 0x28
jne 0x465362
cmp dword [edi], 0x28
jne 0x465362
mov ecx, edi
call fcn.00464ae0
movzx ebx, word [edi + 0xe]
movzx ecx, ax
movzx eax, word [edi + 0xc]
imul ebx, eax
movzx eax, cx
add eax, 0x28
mov dword [ebp - 0x20], ecx
mov ecx, 0xffffffff
imul ebx, dword [edi + 4]
add ebx, 0x1f
sar ebx, 3
and ebx, 0xfffffffc
imul ebx, dword [edi + 8]
add eax, ebx
cmovb eax, ecx
push eax
push edi
call fcn.00581dcc
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x465362
mov ecx, dword [ebp - 0x20]
test cx, cx
je 0x46530b
push 0
lea edx, [ebp - 8]
movzx edi, cx
push edx
push edi
add eax, 0x28
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46535f
cmp dword [ebp - 8], edi
jne 0x46535f
mov eax, dword [ebp - 0xe]
test eax, eax
je 0x465323
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x46535f
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 8]
push 0
push eax
push ebx
mov ecx, edi
call fcn.00464a40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x465362
cmp dword [ebp - 8], ebx
jne 0x465362
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00560701
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00543bb1
mov esp, ebp
pop ebp
ret
Function at 0x467a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cdq
xor eax, edx
mov dword [ebp - 0x18], ecx
sub eax, edx
mov edx, dword [esi + 0x14]
movzx ebx, word [edx + 0xe]
lea edi, [eax - 1]
movzx ecx, word [edx + 0xc]
imul ebx, ecx
mov dword [ebp - 8], edi
imul ebx, dword [edx + 4]
add ebx, 0x1f
sar ebx, 3
and ebx, 0xfffffffc
mov dword [ebp - 0x28], ebx
test edi, edi
js 0x467c19
mov ecx, dword [ebp - 0x18]
lea eax, [ecx - 1]
and ecx, 1
mov dword [ebp - 0x24], ecx
mov ecx, edi
imul ecx, ebx
lea ebx, [esi + 0x18]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x14], edx
jle 0x467b9a
mov eax, dword [ebx]
mov esi, dword [esi + 0x14]
add eax, ecx
shr edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [esi + 8], 0
movzx edx, byte [eax + edx]
cmovge edi, dword [ebp - 4]
mov eax, edx
imul edi, dword [ebp + 0xc]
and edx, 0xf
shr eax, 4
add edx, 0xa
lea ebx, [esi + eax*4]
lea eax, [esi + edx*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
lea esi, [edi + eax*8]
mov edi, dword [ebp + 0x10]
movzx eax, byte [ebx + 0x28]
mov edx, dword [edi]
mov byte [esi + edx], al
mov edx, dword [edi]
movzx eax, byte [ebx + 0x29]
mov byte [edx + esi + 1], al
mov edx, dword [edi]
movzx eax, byte [ebx + 0x2a]
mov ebx, dword [ebp - 0x20]
mov byte [edx + esi + 2], al
mov eax, dword [edi]
mov byte [eax + esi + 3], 0xff
mov edx, dword [edi]
movzx eax, byte [ebx]
mov byte [edx + esi + 4], al
mov edx, dword [edi]
movzx eax, byte [ebx + 1]
mov byte [edx + esi + 5], al
mov edx, dword [edi]
movzx eax, byte [ebx + 2]
mov ebx, dword [ebp - 0xc]
mov byte [edx + esi + 6], al
mov eax, dword [edi]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
add edx, 2
mov dword [ebp - 0x10], edx
mov byte [eax + esi + 7], 0xff
mov esi, dword [ebp + 8]
cmp edx, dword [ebp - 0x14]
jl 0x467af2
mov eax, dword [ebp - 4]
lea ebx, [esi + 0x18]
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0x24], 0
je 0x467c03
mov esi, dword [esi + 0x14]
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
mov edx, dword [ebx]
sar eax, 1
add edx, ecx
cmp dword [esi + 8], 0
mov dword [ebp - 0x20], eax
cmovge edi, dword [ebp - 4]
movzx eax, byte [edx + eax]
shr eax, 4
imul edi, dword [ebp + 0xc]
lea ebx, [esi + eax*4]
mov eax, dword [ebp - 0x20]
lea esi, [edi + eax*8]
mov edi, dword [ebp + 0x10]
movzx eax, byte [ebx + 0x28]
mov edx, dword [edi]
mov byte [esi + edx], al
mov edx, dword [edi]
movzx eax, byte [ebx + 0x29]
mov byte [edx + esi + 1], al
mov edx, dword [edi]
movzx eax, byte [ebx + 0x2a]
mov ebx, dword [ebp - 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [edi]
mov edi, dword [ebp - 8]
mov byte [eax + esi + 3], 0xff
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
jmp 0x467c06
lea ebx, [esi + 0x18]
sub ecx, dword [ebp - 0x28]
dec edi
inc eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], eax
test edi, edi
jns 0x467ae1
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x469bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x469c3b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x469bfd
cmp eax, 2
jne 0x469c19
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x469c35
test ecx, ecx
je 0x469c30
test cl, 1
jne 0x469c19
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x469c35
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46a820
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x645300]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
push esi
push edi
xor edx, eax
mov edi, ecx
imul ecx, edx, 0x1000193
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0x318]
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00476060
mov eax, dword [eax + 4]
test eax, eax
jne 0x46a897
mov eax, dword [edi + 0x31c]
cmp eax, dword [edi + 0x31c]
je 0x46a8e1
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x318]
call fcn.00474890
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x46a8f7
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 8
call fcn.0051f1e3
int3
Function at 0x46d495
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0xc]
mov esi, ecx
mov byte [ebp - 5], 0
mov ecx, dword [0x65279c]
push edx
lea edx, [ebp - 5]
mov dword [ebp - 0xc], 1
push edx
mov eax, dword [ecx]
push str.IsAppNeedExit
call dword [eax + 0x20]
cmp byte [ebp - 5], 0
jne case.0x46d47a.6
mov eax, dword [edi]
cmp eax, 1
je case.0x46d47a.1
cmp eax, 0x1b70
jne 0x46d3dc
mov eax, dword [esi + 0x260]
lea ecx, [esi + 0x260]
push str.IXunYouCallManager
call dword [eax]
mov ebx, eax
push edi
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx]
cmp byte [esi + 0x368], 0
je case.0x46d47a.6
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
jmp case.0x46d47a.6
cmp eax, 0x1b71
jne 0x46d41b
mov ecx, dword [0x65279c]
push str.IXunYouAccelManager
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je case.0x46d47a.6
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
test al, al
jne case.0x46d47a.6
mov eax, dword [esi]
mov ecx, esi
push 0x14
call dword [eax + 0x10]
jmp case.0x46d47a.6
cmp eax, 0x1b72
jne 0x46d43f
mov eax, dword [esi + 0x260]
lea ecx, [esi + 0x260]
push str.IXunYouCallManager
call dword [eax]
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
jmp case.0x46d47a.6
cmp eax, 0x1b73
jne 0x46d462
mov eax, dword [esi + 0x260]
lea ecx, [esi + 0x260]
push 0
push 0
push 0x4070
push 7
call dword [eax + 0x30]
jmp case.0x46d47a.6
cmp eax, 0x1b74
jne case.0x46d47a.6
mov eax, dword [edi + 8]
mov eax, dword [eax]
cmp eax, 8
ja case.0x46d47a.6
movzx eax, byte [eax + 0x46d4c4]
jmp dword [eax*4 + 0x46d4b8]
mov eax, dword [esi + 0x260]
lea ecx, [esi + 0x260]
call dword [eax + 0xcc]
jmp case.0x46d47a.6
push 0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 8
Function at 0x474890
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4d75
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x645300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.00476060
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47491a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x474a61
cmp dword [ebx + 8], 0x4924924
je 0x474a77
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x28], 0
call fcn.00543bf7
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0x34], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5fe160]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x5fe160]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x474a14
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.005a5f30
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.005a93d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4749f6
cmp eax, 0x200
jae 0x4749f4
shl eax, 3
cmp eax, ecx
jae 0x4749f6
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004755e0
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00476060
mov edx, dword [eax]
jmp 0x474a17
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x20]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x474a42
mov dword [ecx + eax*8], esi
jmp 0x474a54
cmp ebx, edx
jne 0x474a4b
mov dword [ecx + eax*8], esi
jmp 0x474a58
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x474a58
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0051f220
int3
Function at 0x4755e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x47573a
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00473a60
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x47570d
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x475693
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x475703
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x4756cd
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x4756c5
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x475700
cmp edi, edx
je 0x4756dd
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x475716
cmp edi, edx
jne 0x4756d1
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x475642
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x475700
push str.invalid_hash_bucket_count
call fcn.0051f220
int3
Function at 0x479400
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x47942b
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x479414
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret

Function at 0x47b960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47b980
pop esi
mov eax, 0x80070002
pop ebx
pop ebp
ret 0x10
push edi
push esi
call dword [sym.imp.soui4.dll_public:_static_struct_SOUI::IBitmapS____cdecl_SOUI::SResLoadFromFile::LoadImageW_wchar_t_const__]
mov edi, eax
add esp, 4
test edi, edi
jne 0x47b99d
pop edi
pop esi
mov eax, 0x80004005
pop ebx
pop ebp
ret 0x10
push dword [ebp + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 0xa8]
mov ecx, dword [edi]
mov esi, eax
push edi
call dword [ecx + 4]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x47bdd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b55f7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x645300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x24c]
test ecx, ecx
je 0x47bf32
mov esi, dword [ebp + 8]
test esi, esi
je 0x47bf32
push ecx
push str.root_bkg
call fcn.00404470
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpCW]
mov edi, eax
push 0x5e1c70
push esi
call ebx
test eax, eax
je 0x47bea5
mov ecx, dword [edi]
push 0
push 0
push edi
call dword [ecx + 0x18]
mov eax, dword [edi + 4]
lea ebx, [edi + 4]
push esi
mov esi, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
lea ecx, [ebp - 0x28]
mov edi, dword [eax + 0x214]
call esi
push 0x5e2230
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call esi
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call edi
mov esi, dword [sym.imp.utilities4.dll_public_virtual:_void___thiscall_SOUI::SStringW::destructor_void_]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call esi
mov esi, dword [ebp - 0x10]
push dword [ebp + 8]
lea ecx, [esi + 0x13c]
call dword [sym.imp.utilities4.dll_public:_class_SOUI::SStringW____thiscall_SOUI::SStringW::operator_wchar_t_const__]
jmp 0x47befd
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x47befa
push 0x5e1c70
push esi
call ebx
test eax, eax
je 0x47befa
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47befa
push esi
call dword [sym.imp.soui4.dll_public:_static_struct_SOUI::IBitmapS____cdecl_SOUI::SResLoadFromFile::LoadImageW_wchar_t_const__]
mov esi, eax
add esp, 4
test esi, esi
je 0x47befa
call fcn.0046a6f0
test al, al
je 0x47beeb
push 0xff000000
push esi
call dword [sym.imp.soui4.dll_public:_static_bool___cdecl_SOUI::SDIBHelper::Colorize_struct_SOUI::IBitmapS___unsigned_long_int_]
add esp, 8
mov eax, dword [edi]
push 2
push esi
push edi
call dword [eax + 0x18]
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi - 0x260]
lea eax, [esi - 0x260]
push 0
push 0x4003
push 0x406
push eax
call dword [ecx + 0xb4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47c2d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
add ebx, 0x24
push esi
lea esi, [ecx + 0xd8]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0047f580
mov eax, dword [eax + 4]
test eax, eax
je 0x47c395
push edi
mov edi, dword [esi + 4]
cmp eax, edi
je 0x47c394
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov ecx, esi
push ebx
push eax
call fcn.0047f580
mov edx, dword [eax + 4]
test edx, edx
je 0x47c394
mov ecx, dword [esi + 0x18]
and ecx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x47c371
cmp eax, edx
jne 0x47c369
mov dword [ecx], edi
mov dword [ecx + 4], edi
jmp 0x47c379
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
jmp 0x47c379
cmp eax, edx
jne 0x47c379
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [esi + 8]
mov eax, dword [edx + 4]
push 0x18
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.00543bbf
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x47c3a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_IsIconic]
push edi
mov edi, dword [ecx - 0x23c]
push edi
call esi
test eax, eax
jne 0x47c3c4
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47c3c4
push 5
jmp 0x47c3d2
push edi
call esi
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 5
push eax
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call esi
pop edi
pop esi
ret