Function at 0x408cd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44045b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x14a4
call fcn.0042bdd0
mov eax, dword [0x44d6b0]
xor eax, esp
mov dword [esp + 0x14a0], eax
push ebx
push esi
push edi
mov eax, dword [0x44d6b0]
xor eax, esp
push eax
lea eax, [esp + 0x14b8]
mov dword fs:[0], eax
push 0x1894
mov esi, ecx
call fcn.00429f50
add esp, 4
mov dword [esp + 0x1c], eax
xor edi, edi
mov dword [esp + 0x14c0], edi
cmp eax, edi
je 0x408d3e
mov ecx, eax
call fcn.00416d40
jmp 0x408d40
xor eax, eax
or ebx, 0xffffffff
mov ecx, eax
mov dword [esp + 0x14c0], ebx
mov dword [0x44ed58], eax
call fcn.00417990
push 0x7c0
call fcn.00429f50
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14c0], 1
cmp eax, edi
je 0x408d7f
mov ecx, eax
call fcn.004199c0
jmp 0x408d81
xor eax, eax
mov ecx, eax
mov dword [esp + 0x14c0], ebx
mov dword [0x44ed5c], eax
call fcn.0041c5f0
push 0xc3f98
call fcn.00429f50
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14c0], 2
cmp eax, edi
je 0x408dbd
mov ecx, eax
call fcn.0041d0a0
jmp 0x408dbf
xor eax, eax
mov ecx, eax
mov dword [esp + 0x14c0], ebx
mov dword [0x44ed44], eax
call fcn.0041f4a0
push 0x4ec
call fcn.00429f50
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14c0], 3
cmp eax, edi
je 0x408dfb
mov ecx, eax
call fcn.004256c0
jmp 0x408dfd
xor eax, eax
mov ecx, eax
mov dword [esp + 0x14c0], ebx
mov dword [0x44ed60], eax
call fcn.00426600
push 0x9fc
call fcn.00429f50
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14c0], 4
cmp eax, edi
je 0x408e39
mov ecx, eax
call fcn.0040ef70
jmp 0x408e3b
xor eax, eax
mov ecx, eax
mov dword [esp + 0x14c0], ebx
mov dword [0x44ed48], eax
call fcn.0040f240
push 0x62150
call fcn.00429f50
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14c0], 5
cmp eax, edi
je 0x408e77
mov ecx, eax
call fcn.00421d80
jmp 0x408e79
xor eax, eax
mov ecx, eax
mov dword [esp + 0x14c0], ebx
mov dword [0x44ed54], eax
call fcn.00424680
push 0x2b0
call fcn.00429f50
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14c0], 6
cmp eax, edi
je 0x408eb5
mov ecx, eax
call fcn.0040aeb0
jmp 0x408eb7
xor eax, eax
mov ecx, eax
mov dword [esp + 0x14c0], ebx
mov dword [0x44ed50], eax
call fcn.0040b130
push 0xd6c
call fcn.00429f50
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14c0], 7
cmp eax, edi
je 0x408ef3
mov ecx, eax
call fcn.00416950
jmp 0x408ef5
xor eax, eax
mov ecx, eax
mov dword [esp + 0x14c0], ebx
mov dword [0x44ed4c], eax
call fcn.00416b90
push 0x441898
push edi
push edi
push edi
push edi
push 0x81
push edi
push edi
push edi
push 0x320
push edi
push edi
push edi
push 0x19
call dword [sym.imp.GDI32.dll_CreateFontA]
fldz
push 0x3f
fstp qword [esp + 0x28]
mov dword [esi + 0x14], eax
lea eax, [esp + 0x1471]
push edi
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1478], 0
call fcn.00429eb0
add esp, 0xc
push edi
lea ecx, [esp + 0x1470]
push str.code_sav_02d.t1
push ecx
call fcn.0042baf3
add esp, 0xc
push 0
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x1474]
push eax
mov byte [esp + 0x68], 0x88
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov esi, eax
cmp esi, 0xffffffff
je 0x409076
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x61
jb 0x409076
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
movzx eax, word [esp + 0x2c]
cdq
mov ecx, 0x64
idiv ecx
push 2
push 0x540be400
mov eax, edx
cdq
push edx
push eax
call fcn.0042be00
mov ecx, eax
movzx eax, word [esp + 0x2e]
imul eax, eax, 0x5f5e100
mov ebx, edx
cdq
add ecx, eax
movzx eax, word [esp + 0x32]
adc ebx, edx
imul eax, eax, 0xf4240
cdq
add ecx, eax
movzx eax, word [esp + 0x34]
adc ebx, edx
imul eax, eax, 0x2710
cdq
add ecx, eax
movzx eax, word [esp + 0x36]
adc ebx, edx
imul eax, eax, 0x64
cdq
add ecx, eax
movzx eax, word [esp + 0x38]
adc ebx, edx
cdq
add ecx, eax
adc ebx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
push esi
fild qword [esp + 0x20]
fstp qword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll__lclose]
fld qword [esp + 0x24]
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x4090ba
mov ebx, dword [esp + 0x14]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x409074
test ebx, ebx
jne 0x4090bc
fstp st(0)
inc edi
cmp edi, 0x64
jl 0x408f51
xor edi, edi
xor esi, esi
cmp ebx, edi
jl 0x4090c8
mov ecx, dword [0x44ed58]
push ebx
call fcn.00417070
test al, al
jne 0x4090d7
sub ebx, 1
jns 0x4090a2
mov ebx, 0x63
inc esi
cmp esi, 0x64
jge 0x4090c8
mov ecx, dword [0x44ed58]
push ebx
call fcn.00417070
test al, al
je 0x409098
jmp 0x4090d7
fstp st(1)
mov ebx, edi
fstp qword [esp + 0x24]
mov dword [esp + 0x14], ebx
jmp 0x409076
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [0x451ed4], 1
mov edx, dword [0x44ed40]
mov eax, dword [edx + 0x378]
mov ecx, dword [0x44ed58]
push eax
call fcn.00417f10
cmp dword [0x44d054], edi
je 0x4092e2
mov eax, dword [0x451f2c]
push eax
call fcn.0042bd43
mov eax, dword [0x451f2c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
imul ecx, ecx, 0x64
mov ebx, dword [0x44d054]
lea edi, [ecx + edx + 0x2e631]
imul edi, edi, 0x64
add edi, dword [eax + 0xc]
mov eax, 0xd1b71759
mul ebx
mov esi, edx
shr esi, 0xd
mov edx, esi
imul edx, edx, 0x2710
mov eax, ebx
sub eax, edx
mov ebx, 0x64
xor edx, edx
add esp, 4
div ebx
mov ecx, 0x14
lea ebx, [eax - 1]
mov dword [esp + 0x14], edx
inc dword [esp + 0x14]
mov eax, dword [ebx*4 + 0x44c0f8]
dec ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
cmp ebx, 1
jne 0x409181
push esi
call fcn.00420350
mov ecx, dword [esp + 0x20]
add esp, 4
add dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x14], edx
jle 0x40919c
inc ebx
cmp ebx, 0xc
mov dword [esp + 0x14], 1
jl 0x40919c
inc esi
xor ebx, ebx
test ecx, ecx
jne 0x409157
imul esi, esi, 0x64
lea ebx, [esi + ebx + 1]
imul ebx, ebx, 0x64
add ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xe4]
call fcn.00429890
mov ecx, dword [0x44ed58]
mov eax, 0xd1b71759
mul edi
mov esi, edx
lea eax, [esp + 0x24]
push eax
shr esi, 0xd
push esi
push 1
mov dword [esp + 0x14cc], 8
call fcn.00417000
push eax
lea ecx, [esp + 0xf0]
call fcn.004295f0
imul esi, esi, 0x2710
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x44ed58]
mov edx, edi
sub edx, esi
push edx
push 2
mov dword [0x44d04c], eax
call fcn.00417000
push eax
lea ecx, [esp + 0xf0]
call fcn.004295f0
mov esi, dword [0x44d054]
mov dword [0x44d050], eax
mov byte [esp + 0x1b], 0
cmp esi, edi
ja 0x409273
mov eax, 0xd1b71759
mul esi
shr edx, 0xd
cmp edx, 0x7f3
ja 0x409273
cmp edx, 0x7e7
jb 0x409273
imul edx, edx, 0x2710
sub esi, edx
xor edx, edx
mov eax, esi
mov ecx, 0x64
div ecx
cmp edx, 0x1f
ja 0x409273
cmp eax, 0xc
ja 0x409273
test esi, esi
jg 0x409277
mov al, 1
jmp 0x40927b
mov al, byte [esp + 0x1b]
cmp ebx, edi
jbe 0x4092ac
test al, al
jne 0x4092ac
lea ecx, [esp + 0xe4]
mov dword [esp + 0x14c0], 0xffffffff
call fcn.004299f0
push 0
call fcn.0042bcf2
push eax
call fcn.0042bcbe
add esp, 8
jmp 0x4092fe
mov edx, dword [0x45069c]
xor eax, eax
push eax
push eax
push 0x10
push edx
mov dword [0x44d04c], eax
mov dword [0x44d050], eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x14c0], 0xffffffff
call fcn.004299f0
jmp 0x4092fe
mov eax, dword [0x45069c]
push edi
push edi
push 0x10
push eax
mov dword [0x44d04c], edi
mov dword [0x44d050], edi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x14b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14a0]
xor ecx, esp
call fcn.00429e93
mov esp, ebp
pop ebp
ret