joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418f2e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x429750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040cc28
mov dword [ebp - 0x14], eax
cmp dword [0x42bb5c], esi
jne 0x419021
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x418fae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x419101
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x419101
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x419101
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42bb5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42bb60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42bb64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42bb6c], eax
test eax, eax
je 0x41901e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42bb68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x419046
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x419039
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41905b
push 4
pop eax
jmp 0x419103
cmp dword [ebp - 0x14], esi
je 0x41905b
push dword [0x42bb5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x419040
mov eax, dword [0x42bb68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4190b9
cmp dword [0x42bb6c], edi
je 0x4190b9
push eax
call ebx
push dword [0x42bb6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4190b9
test eax, eax
je 0x4190b9
call ecx
test eax, eax
je 0x4190ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4190ae
test byte [ebp - 8], 1
jne 0x4190b9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4190e9
mov eax, dword [0x42bb60]
cmp eax, edi
je 0x4190e6
push eax
call ebx
test eax, eax
je 0x4190e6
call eax
mov esi, eax
test esi, esi
je 0x4190e6
mov eax, dword [0x42bb64]
cmp eax, edi
je 0x4190e6
push eax
call ebx
test eax, eax
je 0x4190e6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42bb5c]
call ebx
test eax, eax
je 0x419101
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x419103
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408492
mov esp, ebp
pop ebp
ret
Function at 0x435c30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb79f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.004b7190
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x435ce1
push eax
push esi
call fcn.004b7713
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.004b747e
int3
Function at 0x447730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c000b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [ebp + 0x10], ecx
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 1
mov eax, dword [esi]
mov edx, dword [esi + 8]
push eax
push dword [esi + 0xc]
push dword [esi + 4]
push eax
call fcn.0044d900
add esp, 0x10
test al, al
jne 0x4477fa
mov dword [esi + 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x447820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c004b
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
lea eax, [ecx + 0x10]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [ebp - 4], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov byte [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov byte [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov byte [eax + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44ba50
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0a5e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov eax, 0xaaaaaaab
mov ecx, dword [ebp + 8]
push 0
mov dword [ebp - 0x14], 1
lea ecx, [ecx + 2]
mul ecx
mov ecx, edi
shr edx, 1
shl edx, 2
push edx
call fcn.00449080
cmp dword [edi + 0x14], 0xf
mov eax, edi
mov dword [ebp - 0x10], edi
jbe 0x44baeb
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
mov ecx, eax
mov eax, 0xaaaaaaab
mul dword [ebp + 8]
shr edx, 1
mov dword [ebp - 0x20], edx
je 0x44bb64
mov edi, edx
nop
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movsx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
add edx, edx
movzx eax, byte [eax + edx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx edx, byte [esi + 2]
movsx eax, byte [esi + 1]
and eax, 0xf
shr edx, 6
movzx eax, byte [edx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
movsx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], al
add ecx, 4
sub edi, 1
jne 0x44bb00
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
lea eax, [edx + edx*2]
mov edx, dword [ebp + 8]
sub edx, eax
sub edx, 1
je 0x44bbb7
sub edx, 1
jne 0x44bbe2
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movsx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
add edx, edx
movzx eax, byte [eax + edx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movsx eax, byte [esi + 1]
and eax, 0xf
movzx eax, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
jmp 0x44bbdf
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movsx eax, byte [esi]
and eax, 3
shl eax, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
mov word [ecx + 2], 0x3d3d
add ecx, 4
sub ecx, dword [ebp - 0x10]
push 0
push ecx
mov ecx, edi
call fcn.00449080
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
Function at 0x44cc70
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0eee
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x10]
shr eax, 2
push 0
mov dword [ebp - 0x24], 1
lea eax, [eax + eax*2]
push eax
call fcn.00449080
cmp dword [esi + 0x14], 0xf
mov ecx, dword [esi + 0x10]
jbe 0x44cd0f
mov esi, dword [esi]
cmp dword [edi + 0x14], 0xf
mov edx, edi
mov dword [ebp - 0x20], edi
jbe 0x44cd1f
mov edx, dword [edi]
mov dword [ebp - 0x20], edx
mov edi, edx
xor edx, edx
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x44cdff
mov dl, byte [ebp - 0x1a]
mov dh, byte [ebp - 0x1b]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x12], dl
mov byte [ebp - 0x11], dh
mov edx, dword [ebp - 0x1c]
dec ecx
mov dword [ebp - 0x28], ecx
mov cl, byte [esi]
cmp cl, 0x3d
je 0x44cdb6
movzx ecx, cl
mov cl, byte [ecx + 0x4fcde8]
cmp cl, 0xff
je 0x44cdb6
mov byte [ebp + edx - 0x1c], cl
inc esi
mov ch, byte [ebp - 0x1a]
inc edx
mov cl, byte [ebp - 0x1b]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x12], ch
mov byte [ebp - 0x11], cl
cmp edx, 4
jne 0x44cdaf
mov dl, cl
mov cl, al
shr dl, 4
and dl, 3
shl cl, 2
add dl, cl
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x18], dl
mov dl, ch
shr dl, 2
and dl, 0xf
shl cl, 4
add dl, cl
mov byte [ebp - 0x17], dl
mov dl, ch
mov cx, word [ebp - 0x18]
shl dl, 6
add dl, byte [ebp - 0x19]
mov word [edi], cx
mov byte [edi + 2], dl
add edi, 3
xor edx, edx
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x44cd40
test edx, edx
je 0x44cdff
mov ch, byte [ebp - 0x11]
lea esi, [edx - 1]
mov cl, ch
shl al, 2
shr cl, 4
and cl, 3
shl ch, 4
add cl, al
mov byte [ebp - 0x18], cl
mov cl, byte [ebp - 0x12]
mov al, cl
shl cl, 6
add cl, byte [ebp - 0x19]
shr al, 2
and al, 0xf
mov byte [ebp - 0x16], cl
add al, ch
mov byte [ebp - 0x17], al
test esi, esi
jle 0x44cdff
push esi
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.004abcb0
add esp, 0xc
add edi, esi
sub edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
push 0
push edi
call fcn.00449080
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x44f6d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x44f701
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x44f6f0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x452f60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1e9b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x10]
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov dword [ebp + 8], esi
mov eax, dword [edi + 0x10]
mov dword [esi], eax
mov al, byte [edi + 0x14]
mov byte [esi + 4], al
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [ebp - 4], 0
movq xmm0, qword [edi + 0x24]
movq qword [esi + 0x14], xmm0
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
movq xmm0, qword [edi + 0x30]
movq qword [esi + 0x20], xmm0
mov eax, dword [edi + 0x38]
mov dword [esi + 0x28], eax
movq xmm0, qword [edi + 0x3c]
movq qword [esi + 0x2c], xmm0
mov eax, dword [edi + 0x44]
mov dword [esi + 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x458650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x458682
jl 0x458675
test ecx, ecx
jne 0x458682
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x45875f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4586b2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x4586b4
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x458708
jg 0x4586c5
test esi, esi
je 0x458708
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x4586d9
jl 0x4586d3
cmp ecx, esi
jae 0x4586d9
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.004abcb0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x45872c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x458748
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x458697
jl 0x458748
test ecx, ecx
jne 0x458697
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x45879d
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x45879d
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.004abcb0
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x458807
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4587c3
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x4587f2
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0048fcc9
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x458807
cmp edi, eax
ja 0x4587d0
test edi, edi
je 0x458807
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0048fcc9
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x459100
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2b70
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov esi, edx
cmp dword [edx + 0x14], 0xf
mov ebx, dword [edx + 0x10]
jbe 0x45913b
mov esi, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x459157
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x459146
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push edi
push edx
push eax
mov ecx, ebx
call fcn.004519d0
mov esi, dword [eax + 4]
test esi, esi
je 0x4591da
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x459196
cmp eax, esi
jne 0x45918e
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x45919e
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x45919e
cmp eax, esi
jne 0x45919e
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [ebx + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
call fcn.0044a2e0
push 0x20
push esi
call fcn.004aa253
add esp, 8
mov eax, 1
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
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 4
Function at 0x4594f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x512a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
lea ebx, [edx + 4]
cmp dword [ebp + 0xc], 1
lea esi, [edx + 8]
mov dword [ebp - 0x14], eax
lea edi, [edx + 0x14]
sete al
mov dword [edx + 0xc], ebx
mov byte [edx + 0x48], al
lea ecx, [edx + 0x18]
mov eax, dword [ebp - 0x20]
mov byte [edx + 0x3d], 0
mov dword [edx + 0x10], esi
mov dword [edx + 0x1c], edi
mov dword [edx + 0x20], ecx
add edx, 0x24
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp - 0x14]
mov dword [edi], 0
mov dword [edx], 0
test ebx, ebx
je 0x4595d9
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push ebx
call fcn.0048f358
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
jmp 0x4595dc
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4c], ebx
mov eax, dword [0x5181e0]
mov ecx, dword [0x5181e4]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9ea5
mov esp, ebp
pop ebp
ret 8
Function at 0x4597f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2c4d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call fcn.0044a860
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [0x5181e0]
mov edx, dword [0x5181e4]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c73ec
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0x10]
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 2
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 4
lea eax, [edi + 0x20]
mov dword [ebp - 0x28], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 5
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 7
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x469342
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov byte [ebp - 4], 9
lea ecx, [edi + 0x68]
mov al, byte [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov byte [edi + 0x60], al
mov byte [ecx], 9
add ecx, 8
push 9
call fcn.00449d20
mov byte [ebp - 4], 0xb
xor ebx, ebx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x469391
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x469391
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x46939b
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp - 0xd]
push ecx
push edx
push eax
push 1
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00451410
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4693d7
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov dword [ebp + 0x34], 0
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 0x30