Function at 0x407ef0
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 0x2dc], eax
mov eax, dword [esp + 0x2e8]
push ebx
mov ebx, dword [esp + 0x2e8]
push ebp
push esi
push edi
push 0x2c
mov dword [esp + 0x1c], eax
mov esi, ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], ebx
push 0
push eax
mov dword [esp + 0x1c], 0x800b0100
mov dword [esp + 0x30], 0
call fcn.00416110
add esp, 0xc
mov dword [esp + 0x54], 0
xorps xmm0, xmm0
mov dword [esp + 0x78], 0xf750e6c3
movdqu xmmword [esp + 0x58], xmm0
mov dword [esp + 0x7c], 0x11d138ee
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
movdqu xmmword [esp + 0x84], xmm0
mov dword [esp + 0x9c], 0xc000e585
mov dword [esp + 0xa0], 0xee95c24f
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4082b0
test ebx, ebx
je 0x4082b0
lea eax, [esp + 0x88]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4082a9
cmp dword [esp + 0x8c], 0
jg 0x4082a9
jl 0x408008
cmp dword [esp + 0x88], 0x2000000
ja 0x4082a9
push 0x100
mov dword [esp + 0x20], 0x100
call fcn.0041b154
add esp, 4
mov edi, eax
lea eax, [esp + 0x1c]
push 0
push edi
push eax
mov eax, dword [esi + 0x10ac]
push ebx
call eax
test eax, eax
jne 0x408072
push edi
call fcn.0041b3f0
push dword [esp + 0x20]
call fcn.0041b154
add esp, 8
mov edi, eax
lea eax, [esp + 0x1c]
push 0
push edi
push eax
mov eax, dword [esi + 0x10ac]
push ebx
call eax
test eax, eax
jne 0x408072
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0041b3f0
add esp, 4
jmp 0x4082b0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x10b0]
call eax
test eax, eax
je 0x408064
mov eax, dword [0x422d38]
xor ecx, ecx
movdqu xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________]
mov dword [esp + 0x2e0], eax
mov edx, 2
mov ax, word [0x422d3c]
mov word [esp + 0x2e4], ax
mov eax, dword [esp + 0x1c]
movdqu xmmword [esp + 0x2a0], xmm0
movdqu xmm0, xmmword [0x422d08]
lea eax, [eax*2 + 1]
mul edx
movdqu xmmword [esp + 0x2b0], xmm0
movdqu xmm0, xmmword [0x422d18]
movdqu xmmword [esp + 0x2c0], xmm0
seto cl
movdqu xmm0, xmmword [0x422d28]
neg ecx
or ecx, eax
push ecx
movdqu xmmword [esp + 0x2d4], xmm0
call fcn.0041b154
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
je 0x408150
nop
movzx eax, byte [ecx + edi]
shr eax, 4
movsx eax, byte [esp + eax + 0x2a0]
mov word [ebx + ecx*4], ax
movzx eax, byte [ecx + edi]
and eax, 0xf
movsx eax, byte [esp + eax + 0x2a0]
mov word [ebx + ecx*4 + 2], ax
inc ecx
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jb 0x408120
xor ecx, ecx
push ecx
push ecx
mov word [ebx + eax*4], cx
push dword [esp + 0x24]
mov eax, dword [esi + 0x10b4]
push edi
push dword [esp + 0x30]
call eax
push edi
mov ebp, eax
call fcn.0041b3f0
add esp, 4
test ebp, ebp
je 0x408287
push 0x208
lea eax, [esp + 0x98]
mov dword [esp + 0x94], 0
push 0
push eax
call fcn.00416110
add esp, 0xc
lea eax, [esp + 0x90]
push 0
push eax
mov eax, dword [esi + 0x10b8]
push ebp
call eax
test eax, eax
je 0x408278
cmp byte [esi + 0x1032], 0
lea eax, [esp + 0x94]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x24
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], 0x30
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 2
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], eax
je 0x40821b
or dword [esp + 0x4c], 0x1200
jmp 0x408220
or dword [esp + 0x4c], 0x10
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esi + 0x10cc]
push 0xffffffffffffffff
call eax
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
test eax, eax
je 0x40825c
xor edx, edx
mov word [eax], dx
cmp ecx, 0x800b0100
je 0x40825c
push ecx
push eax
push dword [esp + 0x4c]
mov ecx, esi
call fcn.00407c40
lea eax, [esp + 0x24]
mov dword [esp + 0x40], 2
push eax
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esi + 0x10cc]
push 0xffffffffffffffff
call eax
mov eax, dword [esi + 0x10bc]
push 0
push ebp
push dword [esp + 0x28]
call eax
push ebx
call fcn.0041b3f0
mov eax, dword [esi + 0x10c0]
add esp, 4
push 0
push dword [esp + 0x24]
call eax
mov ecx, dword [esp + 0x10]
call fcn.00407380
jmp 0x4082b5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e73a
add esp, 0x2e0
ret 0xc