Function at 0x1003b3ee
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067a1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x158
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003b4d0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xfc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
test eax, eax
je 0x1003b45d
push 0xd37
push 0
push 0
push 0x1039
call dword [sym.imp.GDI32.dll_PolyPolygon]
jmp 0x1003b4cb
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x120], eax
push 0xc54
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x104]
push 1
push 1
push 0x6173
lea eax, [ebp - 0x120]
push eax
push 0x2e51
call fcn.10032143
add esp, 0x20
jmp 0x1003bc4d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x24], 0xab3921de
mov dword [ebp - 0x18], 0x9507
mov dword [ebp - 0x28], 0xffffffff
push 3
lea ecx, [ebp - 0x68]
call fcn.10019f2a
and dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
jmp 0x1003b51a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x1003b530
push dword [ebp - 0x38]
lea ecx, [ebp - 0x68]
call fcn.10019fc8
and dword [eax], 0
jmp 0x1003b513
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x24], eax
je 0x1003b556
mov dword [ebp - 0x74], 1
jmp 0x1003b55a
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jg 0x1003b575
mov dword [ebp - 0x128], 1
jmp 0x1003b57c
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jl 0x1003b5ab
mov dword [ebp - 0x94], 1
jmp 0x1003b5b2
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x94], eax
jle 0x1003b5c9
mov dword [ebp - 0xd0], 1
jmp 0x1003b5d0
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xd0]
je 0x1003b5ea
mov dword [ebp - 0x54], 1
jmp 0x1003b5ee
and dword [ebp - 0x54], 0
push 0
lea ecx, [ebp - 0x68]
call fcn.10019fc8
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x54]
jl 0x1003bbfb
mov dword [ebp - 0x30], 0xae07ea4c
mov dword [ebp - 0x58], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 0
jmp 0x1003b62d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x18
jg 0x1003bbf9
mov dword [ebp - 0x7c], 0x35c5
mov dword [ebp - 0x114], 0x1000ad40
cmp dword [ebp - 0x7c], 0x3902
jle 0x1003b703
push 0x382
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
and dword [ebp - 0x50], 0
jmp 0x1003b66d
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x2840
jge 0x1003b703
and dword [ebp - 0x48], 0
jmp 0x1003b687
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x63df
jge 0x1003b6fe
and dword [ebp - 0x44], 0
jmp 0x1003b69d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x110e
jge 0x1003b6fc
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
shl eax, cl
or eax, dword [ebp - 0x50]
cdq
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], edx
push dword [ebp - 0x130]
push dword [ebp - 0x134]
lea ecx, [ebp - 0x168]
call fcn.1000d08a
pop ecx
pop ecx
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
call fcn.10019cd9
push eax
call fcn.10051966
pop ecx
lea ecx, [ebp - 0x168]
call fcn.10019ccf
jmp 0x1003b696
jmp 0x1003b680
jmp 0x1003b666
mov dword [ebp - 0x2c], 0xffffffff
mov byte [ebp - 4], 1
cmp dword [ebp - 0x7c], 0x3565
jge 0x1003b723
push dword [ebp - 0x114]
call fcn.10051966
pop ecx
jmp 0x1003b73f
and dword [ebp - 4], 0
jmp 0x1003b749
mov dword [ebp - 0x5c], 0x4b7c80bf
mov dword [ebp - 0xf8], 0xd3f7cc82
mov dword [ebp - 0x14], 0
jmp 0x1003b76a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x30
jg 0x1003bbf4
mov dword [ebp - 0x4c], 0x1d4c3f1
mov dword [ebp - 0x20], 0x5d7d231d
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1003b9f7
mov dword [ebp - 0xe8], 0xe526954e
mov dword [ebp - 0x40], 0xbb265d63
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x11c], 0xd9cc1323
mov dword [ebp - 0x18], 0
jmp 0x1003b7ce
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1003b9f2
mov dword [ebp - 0xb4], 0xadaf8d98
mov dword [ebp - 0x28], 0
push 2
lea ecx, [ebp - 0x68]
call fcn.10019fc8
cmp dword [eax], 0
je 0x1003b959
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x4c], 0
jne 0x1003b817
mov dword [ebp - 0x8c], 1
jmp 0x1003b81e
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x2c], 0x5e0e
jg 0x1003b833
mov dword [ebp - 0xd8], 1
jmp 0x1003b83a
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0xd8]
jge 0x1003b851
mov dword [ebp - 0x84], 1
jmp 0x1003b858
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
jg 0x1003b878
mov dword [ebp - 0xe0], 1
jmp 0x1003b87f
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xffff
je 0x1003b897
mov dword [ebp - 0xf0], 1
jmp 0x1003b89e
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
sub eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x4c]
jl 0x1003b8c7
mov dword [ebp - 0xc4], 1
jmp 0x1003b8ce
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xcc68
jle 0x1003b8f2
mov dword [ebp - 0x9c], 1
jmp 0x1003b8f9
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x1003b917
cmp dword [ebp - 0x40], 0
jne 0x1003b917
and dword [ebp - 0xdc], 0
jmp 0x1003b921
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xdc], eax
jge 0x1003b938
mov dword [ebp - 0xa4], 1
jmp 0x1003b93f
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xb4]
add eax, dword [ebp - 0xa4]
je 0x1003b959
mov dword [ebp - 0xcc], 1
jmp 0x1003b960
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0xcc], eax
jne 0x1003b97a
mov dword [ebp - 0xac], 1
jmp 0x1003b981
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x11c], 0
jbe 0x1003b99f
mov dword [ebp - 0xec], 1
jmp 0x1003b9a6
and dword [ebp - 0xec], 0
push 0
lea ecx, [ebp - 0x68]
call fcn.10019fc8
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.10019fc8
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x6c], eax
je 0x1003b9dd
mov dword [ebp - 0xbc], 1
jmp 0x1003b9e4
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x58], eax
jmp 0x1003b7c7
jmp 0x1003bb33
mov dword [ebp - 0xa8], 0x8dbec8b2
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x148], eax
push 0
lea ecx, [ebp - 0x68]
call fcn.10019fc8
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x20], 2
jb 0x1003ba34
mov dword [ebp - 0x108], 1
jmp 0x1003ba3b
and dword [ebp - 0x108], 0
push 2
lea ecx, [ebp - 0x68]
call fcn.10019fc8
cmp dword [ebp - 0x5c], 0
jne 0x1003ba5b
push 3
pop eax
test eax, eax
jne 0x1003ba5b
and dword [ebp - 0x110], 0
jmp 0x1003ba65
mov dword [ebp - 0x110], 1
push 0
lea ecx, [ebp - 0x68]
call fcn.10019fc8
cmp dword [eax], 7
jb 0x1003ba89
mov eax, 0x894
test eax, eax
je 0x1003ba89
mov dword [ebp - 0xe4], 1
jmp 0x1003ba90
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x20]
jl 0x1003baaa
mov dword [ebp - 0x90], 1
jmp 0x1003bab1
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0xfffffff6
jne 0x1003bac6
mov dword [ebp - 0x98], 1
jmp 0x1003bacd
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x98], eax
jl 0x1003bae4
mov dword [ebp - 0xa0], 1
jmp 0x1003baeb
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xa0], eax
jge 0x1003bb02
mov dword [ebp - 0xb0], 1
jmp 0x1003bb09
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb0]
jl 0x1003bb23
mov dword [ebp - 0xb8], 1
jmp 0x1003bb2a
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0xf8], 6
je 0x1003bb4e
mov dword [ebp - 0x78], 1
jmp 0x1003bb52
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x30], 0
je 0x1003bb73
cmp dword [ebp - 0x30], 0x225765c9
jle 0x1003bb67
cmp dword [ebp - 0x5c], 0
je 0x1003bb73
mov dword [ebp - 0xc0], 1
jmp 0x1003bb7a
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xc0], eax
jg 0x1003bb91
mov dword [ebp - 0xc8], 1
jmp 0x1003bb98
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc8], eax
jge 0x1003bbac
mov dword [ebp - 0x70], 1
jmp 0x1003bbb0
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x70], eax
jne 0x1003bbc1
mov dword [ebp - 0x80], 1
jmp 0x1003bbc5
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x80]
jl 0x1003bbd9
mov dword [ebp - 0x88], 1
jmp 0x1003bbe0
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
jmp 0x1003b763
jmp 0x1003b626
jmp 0x1003bc11
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1003bc11
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10019fac
push 0x4abe
push 0x6f94
push 0x2c0a
push 0x23
push 0
push 0x11c3
push 0x59f3
push dword [ebp - 0x100]
push 0x562d
call fcn.1002b64a
add esp, 0x24
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret