Function at 0x44fc90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bc882
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
xor edi, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
cmp dword [esi + 0x10], edi
je 0x44fcfe
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0xc]
push eax
mov dword [esi + 0x10], ecx
call edx
add esp, 4
cmp dword [esi + 0x10], edi
jne 0x44fce7
cmp byte [esi + 0x1c], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
jne 0x44fe29
push str.ReadConfig
call fcn.00455de0
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], fcn.00499078
mov dword [esp + 0x38], fcn.0049b4da
mov dword [esp + 0x3c], fcn.00498f5b
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 0x1fff8
mov dword [esp + 0x30], vtable.t_heap.0
lea ecx, [esp + 0x48]
mov dword [esp + 0x4d8], edi
call fcn.00448930
mov eax, ebx
lea edx, [esp + 0x48]
call fcn.00448b50
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x4e4], 2
call fcn.004599a0
mov byte [esp + 0x4d8], 0
cmp byte [esp + 0x164], 0
mov bl, al
mov dword [esp + 0x48], vtable.t_str.0
jne 0x44fdbe
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
cmp eax, edx
je 0x44fdbe
push eax
call fcn.00498f5b
add esp, 4
push str.ReadConfig
call fcn.00455e50
add esp, 4
test bl, bl
jne 0x44fe05
mov ecx, edi
call fcn.00447720
push 0x4e49f8
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
lea esi, [esp + 0x24]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.00459950
xor al, al
jmp 0x450016
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00450670
lea esi, [esp + 0x24]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.00459950
jmp 0x450014
lea esi, [esp + 0x16c]
call fcn.00457460
lea ecx, [esp + 0x48]
mov dword [esp + 0x4d8], 3
call fcn.00448930
mov eax, ebx
lea edx, [esp + 0x48]
call fcn.00448b50
mov edx, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x4c]
push ecx
push edx
mov eax, esi
push eax
mov byte [esp + 0x4e8], 5
call fcn.004435c0
test al, al
jne 0x44fe77
xor bl, bl
jmp 0x44feaa
mov edx, dword [esp + 0x170]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44fea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x44fea1
xor esi, esi
mov dword [esp + 0x4bc], esi
mov bl, 1
mov byte [esp + 0x4d8], 3
cmp byte [esp + 0x164], 0
mov dword [esp + 0x48], vtable.t_str.0
jne 0x44fed9
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x44fed9
push eax
call fcn.00498f5b
add esp, 4
test bl, bl
jne 0x44ff2e
mov ecx, dword [esp + 0x18]
call fcn.00447720
push 0x4e4a0c
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
mov dword [esp + 0x4d8], 0xffffffff
lea ecx, [esp + 0x16c]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x4b8], 0x4e4f24
call fcn.004434f0
xor al, al
jmp 0x450016
mov eax, dword [esp + 0x170]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44ff58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x44ff58
xor esi, esi
lea ecx, [esi + 1]
push ecx
call fcn.00499078
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x44ff7d
mov ecx, dword [esp + 0x18]
call fcn.00447720
push 0x4e4a20
jmp 0x44feeb
mov edi, dword [esp + 0x18]
push esi
push ebx
push edi
lea ecx, [esp + 0x4c4]
call fcn.00457580
test al, al
jne 0x44ffa5
push 0x4e4a44
mov ecx, edi
call fcn.004032e0
jmp 0x44fefa
lea edi, [esp + 0x16c]
mov byte [esi + ebx], 0
call fcn.004437f0
mov edx, dword [ebp + 0x10]
push edx
mov eax, esi
mov esi, dword [esp + 0x24]
push ebx
call fcn.00450040
push ebx
mov byte [esp + 0x1b], al
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x44fffd
mov ecx, dword [esp + 0x18]
push 0x4e49f8
call fcn.004032e0
mov ecx, edi
mov dword [esp + 0x4d8], 0xffffffff
call fcn.00457510
xor al, al
jmp 0x450016
lea ecx, [esp + 0x16c]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.00457510
mov al, 1
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.00497c58
mov esp, ebp
pop ebp
ret 0xc