Function at 0x410d3f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47fb6d
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4a0ee0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4a0ee0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x38]
lea edi, [esp + 0x34]
mov dword [esp + 0x30], esi
call fcn.00418b3a
and dword [esp + 0xb0], 0
lea edi, [esp + 0x5c]
call fcn.0040fe81
add esi, 0x7c
lea eax, [esp + 0x3c]
push eax
mov ebx, esi
mov byte [esp + 0xb4], 1
mov dword [esp + 0x24], esi
call fcn.00424d2e
lea eax, [esp + 0x3c]
lea esi, [esp + 0x60]
mov byte [esp + 0xb0], 3
call fcn.00424f31
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 1
call fcn.0042523a
push 1
mov ebx, edi
call fcn.0041266b
test eax, eax
je 0x410e34
push 0xfffffffffffffffd
pop esi
lea eax, [esp + 0x5c]
call fcn.0040fea5
lea ecx, [esp + 0x34]
call fcn.00418b53
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0045fbf1
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x98]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x410e53
or esi, 0xffffffff
mov dword [esp + 0x28], esi
jmp 0x410e88
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
test esi, esi
jne 0x410e88
push esi
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0x24], 0xff
mov byte [esp + 0x25], 0xfe
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0
call fcn.004100a3
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 8]
cmp esi, eax
mov byte [esp + 0x17], 0
jl 0x410e9d
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebx + 0xc]
add eax, eax
cmp eax, ecx
push 4
mov edi, 0x48bc0c
pop esi
jle 0x410ed3
mov eax, dword [ebx + 0xc]
mov ecx, str...._cut_by_log_sys__r_n
mov edi, ecx
lea edx, [ecx + 2]
mov si, word [ecx]
inc ecx
inc ecx
test si, si
jne 0x410ec2
sub ecx, edx
sar ecx, 1
lea esi, [ecx + ecx]
cdq
push edx
push eax
mov eax, dword [esp + 0x24]
call fcn.00425210
push eax
lea eax, [esp + 0x68]
call fcn.004100a3
mov eax, esi
cdq
push edx
push eax
push edi
lea eax, [esp + 0x68]
call fcn.004100a3
lea esi, [esp + 0x5c]
call fcn.0040ff06
cmp byte [esp + 0x17], 0
je 0x410fb3
cmp byte [ebx], 0
je 0x410f2e
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], 0x10
jb 0x410f20
mov eax, dword [eax + 4]
jmp 0x410f23
add eax, 4
push eax
call fcn.00460f7a
jmp 0x410fb2
push 0x10
pop esi
cmp dword [ebx + 0xcc], esi
jb 0x410f41
mov eax, dword [ebx + 0xb8]
jmp 0x410f47
lea eax, [ebx + 0xb8]
push eax
call fcn.00460f7a
pop ecx
cmp dword [ebx + 0xcc], esi
jb 0x410f5e
mov ecx, dword [ebx + 0xb8]
jmp 0x410f64
lea ecx, [ebx + 0xb8]
cmp dword [ebx + 0xb0], esi
jb 0x410f74
mov eax, dword [ebx + 0x9c]
jmp 0x410f7a
lea eax, [ebx + 0x9c]
push ecx
push eax
call fcn.00460f47
pop ecx
pop ecx
cmp dword [ebx + 0xb0], esi
jb 0x410f93
mov ebx, dword [ebx + 0x9c]
jmp 0x410f99
add ebx, 0x9c
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], esi
jb 0x410fa7
mov eax, dword [eax + 4]
jmp 0x410faa
add eax, 4
push ebx
push eax
call fcn.00460f47
pop ecx
pop ecx
xor esi, esi
jmp 0x410dfa