Function at 0x409a20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422631
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x42d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x409a93
cmp dword [esi + 0x24], 0
jne 0x409a89
cmp dword [esi + 0x1c], 0xffffffff
je 0x409a89
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x274], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x274], 0
ja 0x409a93
cmp eax, dword [esi + 0x1c]
ja 0x409a93
mov eax, 1
jmp 0x409c92
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x222]
push 0x5c
push eax
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
lea eax, [ebp - 0x114]
push str._04d__02d__02d
push eax
call fcn.00402a00
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
movups xmmword [ebp - 0x258], xmm0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00408c60
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
push ecx
push eax
call fcn.00409590
mov ecx, dword [ebp - 0x22c]
add esp, 0x2c
mov byte [ebp - 4], 0
mov edi, eax
cmp ecx, 0xf
jbe 0x409b62
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409b58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cad
push ecx
push edx
call fcn.0040a17a
add esp, 8
test edi, edi
jne 0x409b6d
xor esi, esi
jmp 0x409c5a
movzx eax, word [ebp - 0x21a]
push 0x5c
push eax
movzx eax, word [ebp - 0x21c]
push eax
movzx eax, word [ebp - 0x21e]
push eax
movzx eax, word [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push str._02d__02d__02d__03d
push eax
call fcn.00402a00
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00408c60
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 3
push ecx
push eax
call fcn.00409080
add esp, 0x30
lea ecx, [ebp - 0x270]
mov edi, eax
call fcn.00406ce0
cmp edi, 0xffffffff
jne 0x409c0d
xor esi, esi
jmp 0x409c24
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x409c1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], edi
mov esi, 1
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0xf
jbe 0x409c5a
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409c50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cb2
push ecx
push edx
call fcn.0040a17a
add esp, 8
mov ecx, dword [ebp - 0x244]
cmp ecx, 0xf
jbe 0x409c90
mov edx, dword [ebp - 0x258]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409c86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cb2
push ecx
push edx
call fcn.0040a17a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a16c
mov esp, ebp
pop ebp
ret
call fcn.00410cd4
call fcn.00410cd4
int3