Function at 0x441840
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478391
mov eax, dword fs:[0]
push eax
sub esp, 0x5f0
mov eax, dword [0x4bb050]
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 esi, ecx
mov ecx, dword [esi + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5d0], ebx
test ecx, ecx
je 0x441899
mov eax, dword [ecx + 4]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
push ecx
call eax
mov ecx, dword [esi + 0x10]
add esp, 4
test ecx, ecx
jne 0x441883
mov dword [esi + 0x10], 0
cmp byte [esi + 0x1c], 0
mov dword [esi + 0x18], 0
jne 0x441a44
push str.ReadConfig
call fcn.0043f7a0
add esp, 4
mov dword [ebp - 0x5f8], 0
mov dword [ebp - 0x5f4], 0
mov dword [ebp - 0x5f0], 0
mov dword [ebp - 0x5e8], fcn.0045dc48
mov dword [ebp - 0x5e4], fcn.00462345
mov dword [ebp - 0x5e0], fcn.0045dc2d
mov dword [ebp - 0x5dc], 0
mov dword [ebp - 0x5d8], 0x1fff8
mov dword [ebp - method.common::allocator_unsigned_char__class_common::TAllocDefault_.virtual_0], vtable.common::t_heap.0
mov dword [ebp - 0x5d4], 0
push 0
push 0
push 0
push 0
push 0
push edi
lea ecx, [ebp - 0x13c]
mov dword [ebp - 4], 0
call fcn.0042cbb0
sub esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x5f8]
push eax
push ebx
call fcn.00448d50
mov byte [ebp - 4], 0
cmp byte [ebp - 0x20], 0
mov byte [ebp - 0x5c5], al
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x44198c
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x130]
cmp ecx, eax
je 0x44198c
push ecx
call fcn.0045dc2d
add esp, 4
push str.ReadConfig
call fcn.0043f830
add esp, 4
cmp byte [ebp - 0x5c5], 0
jne 0x4419ee
push 0x49e148
mov ecx, ebx
call fcn.0042c400
mov eax, dword [ebp - 0x5f8]
test eax, eax
je 0x4419c1
push eax
call fcn.0045dc2d
add esp, 4
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x5dc]
test eax, eax
je 0x4419e7
mov edi, dword [ebp - 0x5e0]
mov esi, dword [eax + 4]
push eax
call edi
add esp, 4
mov eax, esi
test esi, esi
jne 0x4419d8
xor al, al
jmp 0x441c34
lea eax, [ebp - 0x5f8]
mov ecx, esi
push eax
call fcn.004423e0
mov eax, dword [ebp - 0x5f8]
test eax, eax
je 0x441a0f
push eax
call fcn.0045dc2d
add esp, 4
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x5dc]
test eax, eax
je 0x441c32
mov edi, dword [ebp - 0x5e0]
nop word [eax + eax]
mov esi, dword [eax + 4]
push eax
call edi
add esp, 4
mov eax, esi
test esi, esi
jne 0x441a30
jmp 0x441c32
push ecx
lea ecx, [ebp - 0x5c4]
call fcn.00437820
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - 0x270], 0x49e720
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
push 0
push 0
push 0
push 0
push 0
push edi
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 4
call fcn.0042cbb0
push 0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 5
push eax
push ebx
lea ecx, [ebp - 0x5c4]
call fcn.004379c0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
test al, al
jne 0x441ac1
mov byte [ebp - 0x5c5], 0
jmp 0x441b00
lea eax, [ebp - 0x5cc]
mov dword [ebp - 0x5cc], 0
push eax
push dword [ebp - 0x5c0]
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x441aed
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x441aed
xor edi, edi
mov dword [ebp - 0x26c], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov byte [ebp - 0x5c5], 1
mov byte [ebp - 4], 4
cmp byte [ebp - 0x148], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x441b30
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x441b30
push eax
call fcn.0045dc2d
add esp, 4
cmp byte [ebp - 0x5c5], 0
jne 0x441b46
mov eax, 0x49e15c
mov ecx, ebx
push eax
jmp 0x441beb
lea eax, [ebp - 0x5cc]
mov dword [ebp - 0x5cc], 0
push eax
push dword [ebp - 0x5c0]
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x441b72
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x441b72
xor edi, edi
lea eax, [edi + 1]
push eax
call fcn.0045dc48
add esp, 4
mov dword [ebp - 0x5cc], eax
test eax, eax
jne 0x441b92
mov eax, 0x49e170
mov ecx, ebx
push eax
jmp 0x441beb
push edi
push eax
push ebx
lea ecx, [ebp - 0x270]
call fcn.00449360
test al, al
jne 0x441bad
push 0x49e194
mov ecx, ebx
jmp 0x441beb
mov ebx, dword [ebp - 0x5cc]
lea ecx, [ebp - 0x5c4]
mov byte [edi + ebx], 0
call fcn.00437bf0
push ecx
push edi
push ebx
mov ecx, esi
call fcn.00441c60
push dword [ebp - 0x5cc]
mov bl, al
call fcn.0045dc2d
add esp, 4
test bl, bl
jne 0x441c13
mov ecx, dword [ebp - 0x5d0]
push 0x49e148
call fcn.0042c400
lea ecx, [ebp - 0x5c4]
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00437900
xor al, al
jmp 0x441c34
lea ecx, [ebp - 0x5c4]
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00437900
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.0045a329
mov esp, ebp
pop ebp
ret 0xc