Function at 0x42eb90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e73fc
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x519220]
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 esi, ecx
cmp dword [esi + 0x10], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
je 0x42ebe8
nop dword [eax]
mov ecx, dword [esi + 0x10]
push ecx
mov eax, dword [ecx + 4]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
call eax
add esp, 4
cmp dword [esi + 0x10], 0
jne 0x42ebd0
mov dword [esi + 0x10], 0
cmp byte [esi + 0x1c], 0
mov dword [esi + 0x18], 0
jne 0x42ed32
call fcn.00428580
test al, al
je 0x42ec28
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push str.ReadConfig
push eax
call fcn.004435d0
mov ecx, eax
call fcn.00443750
mov ecx, eax
call fcn.00444130
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b0], fcn.004af1b3
mov dword [ebp - 0x4ac], fcn.004e1c5f
mov dword [ebp - 0x4a8], fcn.0049c7b1
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0x1fff8
mov dword [ebp - method.t_heap.virtual_0], vtable.t_heap.0
mov dword [ebp - 0x49c], 0
sub esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
push 0
push ebx
call fcn.0040f6f0
sub esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x4c0]
push eax
push edi
call fcn.00446100
mov byte [ebp - 4], 0
mov bl, al
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x42eced
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
cmp ecx, eax
je 0x42eced
push ecx
call fcn.0049c7b1
add esp, 4
call fcn.00428400
test bl, bl
jne 0x42ed14
push 0x505ec8
mov ecx, edi
call fcn.004062d0
lea ecx, [ebp - 0x4c0]
call fcn.00446070
xor al, al
jmp 0x42ef00
lea eax, [ebp - 0x4c0]
mov ecx, esi
push eax
call fcn.0042f9c0
lea ecx, [ebp - 0x4c0]
call fcn.00446070
jmp 0x42eefe
push ecx
lea ecx, [ebp - 0x494]
call fcn.00432d90
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 - 0x13c], 0
mov dword [ebp - 0x138], 0
sub esp, 0x10
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x134]
push 0
push ebx
call fcn.0040f6f0
push 0
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 3
push eax
push edi
lea ecx, [ebp - 0x494]
call fcn.00432f30
test al, al
jne 0x42ed9f
xor bl, bl
jmp 0x42edd7
lea eax, [ebp - 0x498]
mov dword [ebp - 0x498], 0
push eax
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42edcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42edcf
xor ebx, ebx
mov dword [ebp - 0x13c], ebx
mov bl, 1
mov byte [ebp - 4], 2
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x42ee04
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x42ee04
push eax
call fcn.0049c7b1
add esp, 4
test bl, bl
jne 0x42ee12
push 0x505edc
jmp 0x42eeb5
lea eax, [ebp - 0x498]
mov dword [ebp - 0x498], 0
push eax
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42ee42
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42ee42
xor ebx, ebx
lea eax, [ebx + 1]
push eax
call fcn.004af1b3
add esp, 4
mov dword [ebp - 0x498], eax
test eax, eax
jne 0x42ee5f
push 0x505ef0
jmp 0x42eeb5
push ebx
push eax
push edi
lea ecx, [ebp - 0x140]
call fcn.00446df0
test al, al
jne 0x42ee78
push 0x505f14
jmp 0x42eeb5
mov eax, dword [ebp - 0x498]
lea ecx, [ebp - 0x494]
mov byte [ebx + eax], 0
call fcn.00433310
push ecx
push ebx
push dword [ebp - 0x498]
mov ecx, esi
call fcn.0042ef20
push dword [ebp - 0x498]
mov bl, al
call fcn.0049c7b1
add esp, 4
test bl, bl
jne 0x42eedf
push 0x505ec8
mov ecx, edi
call fcn.004062d0
lea ecx, [ebp - 0x494]
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.00432e70
xor al, al
jmp 0x42ef00
lea ecx, [ebp - 0x494]
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.00432e70
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 - 0x10]
xor ecx, ebp
call fcn.0048f1b0
mov esp, ebp
pop ebp
ret 0xc