Function at 0x10028c85
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084662
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100291ff
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x68], 0x256915a
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x6c], 0
jmp 0x10028cda
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x10028cf0
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x138], 0xffff
jmp 0x10028cd3
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10028d0a
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov dword [ebp - 0x68], 0
jmp 0x10028d1a
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x10028d65
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x50], 0
jmp 0x10028d37
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jg 0x10028d63
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10028d61
push 0xb4e
push 0
push 0
push 0
push 0x96f
push 0
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
jmp 0x10028d30
jmp 0x10028d13
mov eax, dword [ebp + 8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x44], 0xf9b3198a
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x88], 0xd1299d62
mov dword [ebp - 0x128], 0x6402d6fa
mov dword [ebp - 0x64], 0
jmp 0x10028db5
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x10028dc8
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x34], 4
jmp 0x10028dae
mov dword [ebp - 0x44], 0xffffffe9
jmp 0x10028dd8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x17
jg 0x100291b7
mov dword [ebp - 0x28], 0x8bb4
mov dword [ebp - 0xf4], 0xffffffff
mov dword [ebp - 0x40], 0xa42bbd4a
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x60], 0x23e6
mov dword [ebp - 0x58], 0
jmp 0x10028e1f
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x10028e35
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x114], 0x413e458c
jmp 0x10028e18
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x28], 0
jne 0x10028e56
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
jne 0x10028e56
and dword [ebp - 0x84], 0
jmp 0x10028e60
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x28]
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x114]
imul ecx, dword [ebp - 0xf4]
sub eax, ecx
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x34]
jl 0x10028e91
mov dword [ebp - 0xbc], 1
jmp 0x10028e98
and dword [ebp - 0xbc], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp dword [ebp - 0xbc], eax
jg 0x10028eb6
mov dword [ebp - 0x100], 1
jmp 0x10028ebd
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x34], 0xfffffffb
jg 0x10028edf
mov dword [ebp - 0xd8], 1
jmp 0x10028ee6
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0xd8]
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0x34]
cmp eax, 0x1cd4
je 0x10028f0c
mov dword [ebp - 0x80], 1
jmp 0x10028f10
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x80], eax
jne 0x10028f34
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x114], 0
je 0x10028f34
mov dword [ebp - 0xf0], 1
jmp 0x10028f3b
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0x48], 0x4485e09b
je 0x10028f50
mov dword [ebp - 0xc4], 1
jmp 0x10028f57
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc4], eax
jle 0x10028f6e
mov dword [ebp - 0x8c], 1
jmp 0x10028f75
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x28]
neg eax
imul eax, dword [ebp - 0x8c]
cmp eax, 0xb06f8616
je 0x10028f94
mov dword [ebp - 0xb4], 1
jmp 0x10028f9b
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp dword [ebp - 0xb4], eax
jne 0x10028fb9
mov dword [ebp - 0x104], 1
jmp 0x10028fc0
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x44], eax
jne 0x10028fe6
mov dword [ebp - 0x94], 1
jmp 0x10028fed
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x1c]
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x34]
test eax, eax
je 0x10029017
cmp dword [ebp - 0x10], 0
je 0x10029017
mov dword [ebp - 0xd4], 1
jmp 0x1002901e
and dword [ebp - 0xd4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [ebp + eax - 0x34]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x34], ecx
mov dword [ebp - 0x10], 1
jmp 0x10029048
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x100291b2
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x34], 0
je 0x10029084
mov dword [ebp - 0x40], 0
jmp 0x1002906c
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1002907f
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x34], 0xfffffffd
jmp 0x10029065
jmp 0x10029197
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x1c], 0
jmp 0x1002909b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x10029197
mov dword [ebp - 0x60], 1
jmp 0x100290b5
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x1002917e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x70]
cmp dword [ebp + eax*4 - 0x34], ecx
jle 0x100290d7
mov dword [ebp - 0x9c], 1
jmp 0x100290de
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xffffffff
jb 0x100290f0
mov dword [ebp - 0x78], 1
jmp 0x100290f4
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xffffffff
jg 0x10029106
mov dword [ebp - 0xa4], 1
jmp 0x1002910d
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xa4], eax
jge 0x10029124
mov dword [ebp - 0xcc], 1
jmp 0x1002912b
and dword [ebp - 0xcc], 0
imul eax, dword [ebp - 0xcc], 0
cmp eax, dword [ebp - 0x70]
je 0x10029143
mov dword [ebp - 0xac], 1
jmp 0x1002914a
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x70]
imul ecx, dword [ebp - 0xac]
cmp dword [ebp + eax*4 - 0x34], ecx
jg 0x10029166
mov dword [ebp - 0x7c], 1
jmp 0x1002916a
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
neg eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x114], eax
jmp 0x100290ae
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10029192
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
jmp 0x10029094
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x100291ad
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x10029041
jmp 0x10028dd1
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
jmp 0x100291da
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 4
jge 0x100291fa
mov eax, dword [ebp - 0x38]
push dword [eax]
mov ecx, dword [ebp - 0xfc]
call fcn.100265d2
mov dword [eax], 0x223dec99
jmp 0x100291cf
jmp 0x100295bd
mov dword [ebp - 0x90], 0xf251d69f
push 3
lea ecx, [ebp - 0x144]
call fcn.10026565
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x1002922a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10029240
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x164], 0
jmp 0x10029223
mov dword [ebp - 0x14], 0
jmp 0x10029250
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002926c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x144]
call fcn.100265d2
mov dword [eax], 1
jmp 0x10029249
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x164]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x90], 0x37b1891f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.100265cd
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xc8], 0x7ed6f186
mov dword [ebp - 0x74], 0x5a8b060d
mov dword [ebp - 0xb8], 0xdde9ab5c
mov dword [ebp - 0x3c], 0xc
jmp 0x100292dd
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xfffffffa
jne 0x100292f7
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x100292f5
call dword [sym.imp.USER32.dll_EndMenu]
jmp 0x100292d6
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x3c], eax
je 0x10029314
mov dword [ebp - 0x98], 1
jmp 0x1002931b
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x98]
lea eax, [ecx + eax + 0x176df7e4]
cmp dword [ebp - 0xc8], eax
jne 0x1002933f
mov dword [ebp - 0xa0], 1
jmp 0x10029346
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xa0]
jne 0x10029360
mov dword [ebp - 0xa8], 1
jmp 0x10029367
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x93c1
jne 0x10029381
or eax, 0xffffffff
jne 0x10029381
and dword [ebp - 0x10c], 0
jmp 0x1002938b
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xb8]
jl 0x100293ab
mov dword [ebp - 0xc0], 1
jmp 0x100293b2
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
movzx eax, byte [eax]
test eax, eax
je 0x100293e1
push 0
push 0
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [ebp - 0x4c], 0x24a8c6a5
mov dword [ebp - 0x4c], 7
jmp 0x100293f8
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x1a
jle 0x10029591
push 2
lea ecx, [ebp - 0xe4]
call fcn.10026565
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
jmp 0x10029426
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002943c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x154], 0xffffffff
jmp 0x1002941f
mov dword [ebp - 0x18], 0
jmp 0x1002944c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10029465
push dword [ebp - 0x18]
lea ecx, [ebp - 0xe4]
call fcn.100265d2
and dword [eax], 0
jmp 0x10029445
push 1
lea ecx, [ebp - 0xe4]
call fcn.100265d2
mov dword [eax], 2
jmp 0x1002949e
push 1
lea ecx, [ebp - 0xe4]
call fcn.100265d2
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xd0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0xe4]
call fcn.100265d2
cmp dword [eax], 0
jl 0x1002955d
mov dword [ebp - 0x5c], 0xfffffffd
push 1
lea ecx, [ebp - 0x120]
call fcn.10026565
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], 0
jmp 0x100294dc
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x100294f8
push dword [ebp - 0x54]
lea ecx, [ebp - 0x120]
call fcn.100265d2
mov dword [eax], 8
jmp 0x100294d5
mov dword [ebp - 0x5c], 2
jmp 0x10029508
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x10029549
push 1
lea ecx, [ebp - 0xe4]
call fcn.100265d2
mov eax, dword [eax]
mov esi, dword [ebp + eax*4 - 0x154]
push 0
lea ecx, [ebp - 0x120]
call fcn.100265d2
mov dword [eax], esi
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x10029547
push 0
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
jmp 0x10029501
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.100265cd
jmp 0x1002947a
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x154], 0
je 0x1002957d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.100265cd
jmp 0x10029591
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.100265cd
jmp 0x100293f1
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x100295bd
push 0
push 0x1b43
push 0x83b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret