Function at 0x45ebd0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1493
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4e0240]
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 edi, ecx
push str.CBLCfgReader
mov dword [ebp - 0x4c], edi
call fcn.004888e0
xor ebx, ebx
lea esi, [edi + 0xc]
mov dword [edi], vtable.CBLCfgReader.0
mov dword [ebp - 4], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.00459fe0
push str.bl.dat
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov byte [ebp - 4], 3
call fcn.0040336c
add esp, 0x10
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ec6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x3c]
push ebx
push 0x8000000
push 3
push ebx
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x45eeb8
call fcn.004048c7
cmp eax, ebx
jl 0x45ee49
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x50]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x54], eax
cmp eax, 0xffffffff
jne 0x45ecbe
call fcn.004048c7
cmp eax, ebx
jl 0x45ecc7
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp - 0x48]
inc ebx
push ebx
call fcn.0046cbb3
push ebx
mov edi, eax
push 0
push edi
call fcn.0046e590
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
add esp, 0x10
push 0
lea edx, [ebp - 0x5c]
push edx
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45ed05
call fcn.004048c7
test eax, eax
js 0x45ee2d
mov edx, dword [0x4e0004]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e0004
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00403233
push 2
lea ecx, [ebp - 0x74]
call fcn.00413ef0
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 7
call fcn.004144b0
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x40], vtable.CResponseDecoder.0
push str.135246
lea eax, [ebp - 0x2c]
push eax
sub esp, 0x10
lea edx, [ebp - 0x70]
mov ecx, esp
mov dword [ebp - 0x44], esp
push edx
mov byte [ebp - 4], 9
call fcn.00414c10
lea ecx, [ebp - 0x40]
call fcn.0049ce20
test eax, eax
je 0x45ed9c
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x45ed93
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401d77
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x4ba338
call fcn.00402008
mov edi, dword [ebp - 0x30]
push esi
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x50], esp
mov ebx, esp
push edi
mov byte [ebp - 4], 0xa
call fcn.004014d8
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 9
call fcn.0045c9d0
add esp, 0xc
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x40], vtable.CResponseDecoder.0
jb 0x45edf0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0046d5e2
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 6
call fcn.00413f30
mov byte [ebp - 4], 5
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x45ee2d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
cmp dword [ebp - 0x38], 0
je 0x45ee44
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0
mov edi, dword [ebp - 0x4c]
xor ebx, ebx
mov edx, dword [esi + 4]
sub edx, dword [esi]
test edx, 0xfffffffc
jne 0x45ee69
push esi
push str.list
push 0x4baa40
call fcn.0045cc20
add esp, 0xc
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ee8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x45ee9a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x38], eax
jmp 0x45ec9c