Function at 0x40cba0
Capabilities:
Get file size
Read file via mapping

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 0x489267
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], edx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ecx
mov dword [ebp - 0x9c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40cc29
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x9c], eax
cmp eax, 0xffffffff
jne 0x40cc49
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test eax, eax
jne 0x40cc58
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x40cc2b
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
test edi, edi
je 0x40cc29
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov dword [ebp - 0xa0], eax
call esi
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x40cc29
movaps xmm0, xmmword [0x4aac20]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x9c]
mov edx, eax
mov dword [ebp - 0x70], 0x67452301
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
call fcn.0040c7b0
push 0x26
mov edx, str.B024060C_738F_43AA_9F81_F500ED433213
lea ecx, [ebp - 0x70]
call fcn.0040c7b0
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
add esp, 8
add ecx, eax
sub edx, eax
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x40cd26
push edx
push 0
push ecx
call fcn.00455ce0
mov edx, 0x10
lea ecx, [ebp - 0x58]
call fcn.0040c100
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.0040c130
push 0x38
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00455ce0
add esp, 0x18
jmp 0x40cd35
lea eax, [edx - 8]
push eax
push 0
push ecx
call fcn.00455ce0
add esp, 0xc
mov esi, 0xe
lea edx, [ebp - 0x56]
nop dword [eax]
movzx ecx, byte [edx + 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 6]
shl ecx, 8
or ecx, eax
mov dword [edx - 6], ecx
sub esi, 1
jne 0x40cd40
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
call fcn.0040c130
mov esi, 4
lea edx, [ebp - 0x6e]
nop dword [eax]
movzx ecx, byte [edx + 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 6]
shl ecx, 8
or ecx, eax
mov dword [edx - 6], ecx
sub esi, 1
jne 0x40cd90
movups xmm0, xmmword [ebp - 0x70]
push 0x58
lea eax, [ebp - 0x70]
push esi
push eax
movups xmmword [ebp - 0x98], xmm0
call fcn.00455ce0
add esp, 0xc
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x88]
push esi
mov dword [ebp - 0x88], esi
push 0x20
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x9c], 1
call fcn.004170f0
xor edi, edi
xor eax, eax
mov dword [ebp - 0x9c], eax
mov al, byte [ebp + eax - 0x98]
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
lea edx, [ebp - 0x88]
movzx esi, al
lea edi, [edi + 2]
cmovae ecx, dword [ebp - 0x88]
mov eax, esi
shr eax, 4
movzx eax, byte [eax + str.0123456789abcdef]
mov byte [ecx + edi - 2], al
cmp dword [ebp - 0x74], 0x10
cmovae edx, dword [ebp - 0x88]
and esi, 0xf
movzx eax, byte [esi + str.0123456789abcdef]
mov byte [edx + edi - 1], al
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp eax, 0x10
jl 0x40ce10
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x88]
push eax
call fcn.00417260
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x40ceb4
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ceaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cec8
push edx
push ecx
call fcn.00453c42
add esp, 8
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov al, 1
jmp 0x40cc2b
call fcn.004584af
int3