Function at 0x455f50
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fb4c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4a8], ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.00455c10
cmp byte [ebx + 0x1c], 0
jne 0x4560f2
call fcn.00464730
test al, al
je 0x455fc3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push str.ReadConfig
push eax
call fcn.0046ef50
mov ecx, eax
call fcn.0046f0d0
mov ecx, eax
call fcn.0046f440
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c0], fcn.004e1b5b
mov dword [ebp - 0x4bc], fcn.004e1ae7
mov dword [ebp - 0x4b8], fcn.004e1b56
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 0x1fff8
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.t_heap.0
mov dword [ebp - 0x4ac], 0
push 0
push 0
push 0
push 0
push 0
push edi
lea ecx, [ebp - 0x13c]
mov dword [ebp - 4], 0
call fcn.00451610
push dword [ebp + 0x10]
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 1
push ecx
push eax
push esi
lea ecx, [ebp - 0x4d0]
call fcn.004693f0
mov byte [ebp - 4], 0
cmp byte [ebp - 0x20], 0
mov byte [ebp - 0x49d], al
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x456092
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x130]
cmp ecx, eax
je 0x456092
push ecx
call fcn.004e1b56
add esp, 4
push str.ReadConfig
call fcn.004645d0
add esp, 4
cmp byte [ebp - 0x49d], 0
jne 0x4560d4
mov ecx, esi
call fcn.00450c80
push 0x5a06d8
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
lea ecx, [ebp - 0x4d0]
call fcn.00469360
xor al, al
jmp 0x4562f1
lea eax, [ebp - 0x4d0]
mov ecx, ebx
push eax
call fcn.004569b0
lea ecx, [ebp - 0x4d0]
call fcn.00469360
jmp 0x4562ef
push ecx
lea ecx, [ebp - 0x49c]
call fcn.0045c820
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
push 0
push 0
push 0
push 0
push 0
push edi
lea ecx, [ebp - 0x13c]
mov dword [ebp - 4], 2
call fcn.00451610
push 0
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 3
push eax
push esi
lea ecx, [ebp - 0x49c]
call fcn.0045c980
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
test al, al
jne 0x45616a
xor bl, bl
jmp 0x4561a4
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x4a4], 0
push eax
push dword [ebp - 0x498]
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x456196
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x456196
xor edi, edi
mov dword [ebp - 0x144], edi
mov bl, 1
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov byte [ebp - 4], 2
cmp byte [ebp - 0x20], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4561d1
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x4561d1
push eax
call fcn.004e1b56
add esp, 4
test bl, bl
jne 0x4561f4
mov ecx, esi
call fcn.00450c80
push 0x5a06c4
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
jmp 0x4562c1
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x4a4], 0
push eax
push dword [ebp - 0x498]
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x456220
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x456220
xor edi, edi
lea eax, [edi + 1]
push eax
call fcn.004e1b5b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x4a4], ebx
test ebx, ebx
jne 0x456254
mov ecx, esi
call fcn.00450c80
push 0x5a06a0
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
jmp 0x4562c1
push edi
push ebx
push esi
lea ecx, [ebp - 0x148]
call fcn.00469aa0
test al, al
jne 0x456282
mov ecx, esi
call fcn.00450c80
push 0x5a068c
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
jmp 0x4562c1
lea ecx, [ebp - 0x49c]
mov byte [edi + ebx], 0
call fcn.0045ce70
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x4a8]
push edi
push ebx
call fcn.00456310
push dword [ebp - 0x4a4]
mov bl, al
call fcn.004e1b56
add esp, 4
test bl, bl
jne 0x4562e4
push 0x5a06d8
mov ecx, esi
call fcn.00412090
lea ecx, [ebp - 0x49c]
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0045c8c0
xor al, al
jmp 0x4562f1
lea ecx, [ebp - 0x49c]
call fcn.00469a20
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 0xc