Function at 0x411ce0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x437592
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x449250]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449250]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4e0]
mov eax, dword [esp + 0x4e4]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
cmp dword [ebp + 0x10], ebx
je 0x411d4f
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], edx
call eax
add esp, 4
cmp dword [ebp + 0x10], ebx
jne 0x411d38
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], ebx
cmp byte [ebp + 0x1c], bl
jne 0x411eaf
call fcn.00410f40
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
test al, al
je 0x411d8a
call esi
mov edi, eax
call fcn.0041a6c0
push edi
mov edi, eax
call fcn.0041a190
mov ecx, eax
mov eax, str.ReadConfig
call fcn.0041a4a0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], fcn.00424233
mov dword [esp + 0x34], fcn.004245d8
mov dword [esp + 0x38], fcn.004229f3
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x1fff8
mov dword [esp + 0x2c], vtable.t_heap.0
mov dword [esp + 0x44], ebx
lea edi, [esp + 0x48]
mov dword [esp + 0x4d8], ebx
call fcn.0040bd50
mov eax, dword [esp + 0x1c]
mov edx, edi
call fcn.0040bf70
mov ecx, edi
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x4e0], 2
call fcn.0041bfd0
mov byte [esp + 0x4d8], 0
cmp byte [esp + 0x164], 0
mov bl, al
mov dword [esp + 0x48], vtable.t_str.0
jne 0x411e2b
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x411e2b
push eax
call fcn.004229f3
add esp, 4
call fcn.00410f40
test al, al
je 0x411e4f
call esi
mov edi, eax
call fcn.0041a6c0
push edi
mov edi, eax
call fcn.0041a190
cmp byte [eax], 0
je 0x411e4f
call fcn.0041a560
test bl, bl
jne 0x411e8b
mov eax, dword [esp + 0x18]
call fcn.0040ba40
push 0x4434bc
push 0x441f54
mov edx, eax
call fcn.0040c340
add esp, 8
lea esi, [esp + 0x20]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.0041bf80
xor al, al
jmp 0x41207b
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.004126f0
lea esi, [esp + 0x20]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.0041bf80
jmp 0x412079
lea esi, [esp + 0x16c]
call fcn.0040ea50
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x4c0], 0x443f04
mov dword [esp + 0x4c4], ebx
mov dword [esp + 0x4c8], ebx
lea edi, [esp + 0x48]
mov dword [esp + 0x4d8], 3
call fcn.0040bd50
mov eax, dword [esp + 0x1c]
mov edx, edi
call fcn.0040bf70
mov esi, dword [esp + 0x18]
mov eax, edi
push eax
mov eax, esi
lea edi, [esp + 0x170]
mov byte [esp + 0x4dc], 5
call fcn.0041c8e0
mov byte [esp + 0x4d8], 3
cmp byte [esp + 0x164], 0
mov byte [esp + 0x17], al
mov dword [esp + 0x48], vtable.t_str.0
jne 0x411f4e
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x411f4e
push eax
call fcn.004229f3
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x411fa4
mov eax, esi
call fcn.0040ba40
push 0x4434d0
push 0x441f54
mov edx, eax
call fcn.0040c340
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 + 0x4c0], 0x44418c
call fcn.0040ead0
xor al, al
jmp 0x41207b
mov eax, dword [esp + 0x170]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411fcc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, ebx
jne 0x411fce
mov ebx, esi
lea ecx, [ebx + 1]
push ecx
call fcn.00424233
mov esi, eax
add esp, 4
test esi, esi
jne 0x411ff0
mov eax, dword [esp + 0x18]
push 0x4434e4
call fcn.00405520
jmp 0x411f70
mov edi, dword [esp + 0x18]
push ebx
push esi
push edi
lea ecx, [esp + 0x4cc]
call fcn.0041c930
test al, al
jne 0x41202e
push 0x443508
mov eax, edi
call fcn.00405520
lea ecx, [esp + 0x16c]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.0041c8c0
xor al, al
jmp 0x41207b
lea edi, [esp + 0x16c]
mov byte [ebx + esi], 0
call fcn.0040edd0
push ebx
mov ecx, esi
mov edi, ebp
call fcn.004120b0
push esi
mov bl, al
call fcn.004229f3
add esp, 4
test bl, bl
jne 0x412062
mov eax, dword [esp + 0x18]
push 0x4434bc
jmp 0x41200e
lea ecx, [esp + 0x16c]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.0041c8c0
mov al, 1
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.004223b0
add esp, 0x4c8
ret 8