Function at 0x40ade0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
push esi
push edi
lea edi, [ebp - 0x3dc]
mov ecx, 0xf7
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4c3500]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea eax, [ebp - 0x207]
push eax
call fcn.00446ea0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x40ae4c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x4a69ac
lea ecx, [ebp - 0x208]
push ecx
call fcn.0044ae60
add esp, 0x14
jmp 0x40ae68
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x4a69c4
lea ecx, [ebp - 0x208]
push ecx
call fcn.0044ae60
add esp, 0x10
mov byte [ebp - 0x328], 0
push 0xff
push 0
lea edx, [ebp - 0x327]
push edx
call fcn.00446ea0
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp esi, esp
call fcn.00449100
movzx ecx, word [ebp - 0x21a]
push ecx
movzx edx, word [ebp - 0x21e]
push edx
movzx eax, word [ebp - 0x220]
push eax
push str.._Log_Debug__4d_02d_02d.txt
lea ecx, [ebp - 0x328]
push ecx
call fcn.0044ae60
add esp, 0x14
cmp dword [0x4c73f8], 0
jne 0x40b06e
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x344], 0
mov byte [ebp - 0x3d0], 0
push 0x87
push 0
lea edx, [ebp - 0x3cf]
push edx
call fcn.00446ea0
add esp, 0xc
mov esi, esp
push 0
lea eax, [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp esi, esp
call fcn.00449100
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x344], 0xffffffff
jne 0x40afb5
mov esi, esp
mov edx, dword [ebp - 0x344]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00449100
push 0x4a69f0
lea eax, [ebp - 0x328]
push eax
call fcn.0044abc0
add esp, 8
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3d8], 0
je 0x40afb0
call fcn.00409af0
push eax
lea ecx, [ebp - 0x208]
push ecx
push 0x4a69f4
mov edx, dword [ebp - 0x3d8]
push edx
call fcn.00447980
add esp, 0x10
mov eax, dword [ebp - 0x3d8]
push eax
call fcn.0044a850
add esp, 4
jmp 0x40b06e
mov esi, esp
lea ecx, [ebp - 0x33c]
push ecx
mov edx, dword [ebp - 0x344]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.00449100
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x33c]
shl eax, 0x10
or eax, dword [ebp - 0x334]
mov dword [ebp - 0x330], eax
mov esi, esp
mov ecx, dword [ebp - 0x344]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00449100
cmp dword [ebp - 0x330], 0xf4240
ja 0x40b064
push 0x4a6a00
lea edx, [ebp - 0x328]
push edx
call fcn.0044abc0
add esp, 8
mov dword [ebp - 0x3dc], eax
cmp dword [ebp - 0x3dc], 0
je 0x40b062
call fcn.00409af0
push eax
lea eax, [ebp - 0x208]
push eax
push 0x4a6a04
mov ecx, dword [ebp - 0x3dc]
push ecx
call fcn.00447980
add esp, 0x10
mov edx, dword [ebp - 0x3dc]
push edx
call fcn.0044a850
add esp, 4
jmp 0x40b06e
mov dword [0x4c73f8], 1
push edx
mov ecx, ebp
push eax
lea edx, [0x40b09c]
call fcn.004490a0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449130
add esp, 0x3dc
cmp ebp, esp
call fcn.00449100
mov esp, ebp
pop ebp
ret