Function at 0x1001cd1b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006728e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1f4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x30], 0xab3921de
mov dword [ebp - 0x1c], 0x9507
mov dword [ebp - 0x34], 0xffffffff
push 3
lea ecx, [ebp - 0x8c]
call fcn.10019f2a
and dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
jmp 0x1001cd84
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x1001cd9d
push dword [ebp - 0x48]
lea ecx, [ebp - 0x8c]
call fcn.10019fc8
and dword [eax], 0
jmp 0x1001cd7d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
je 0x1001cdc6
mov dword [ebp - 0x158], 1
jmp 0x1001cdcd
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jg 0x1001cde8
mov dword [ebp - 0x164], 1
jmp 0x1001cdef
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jl 0x1001ce1e
mov dword [ebp - 0xf8], 1
jmp 0x1001ce25
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xf8], eax
jle 0x1001ce3c
mov dword [ebp - 0x10c], 1
jmp 0x1001ce43
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x10c]
je 0x1001ce60
mov dword [ebp - 0x78], 1
jmp 0x1001ce64
and dword [ebp - 0x78], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.10019fc8
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x78]
jl 0x1001d47b
mov dword [ebp - 0x38], 0xae07ea4c
mov dword [ebp - 0x7c], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
jmp 0x1001cea6
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x18
jg 0x1001d479
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x80], 0x4b7c80bf
mov dword [ebp - 0x188], 0xd3f7cc82
mov dword [ebp - 0x18], 0
jmp 0x1001ced8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x30
jg 0x1001d474
mov dword [ebp - 0x50], 0x1d4c3f1
mov dword [ebp - 0x24], 0x5d7d231d
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x1001d177
mov dword [ebp - 0xac], 0xe526954e
mov dword [ebp - 0x58], 0xbb265d63
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x170], 0xd9cc1323
mov dword [ebp - 0x1c], 0
jmp 0x1001cf3c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x1001d172
mov dword [ebp - 0x144], 0xadaf8d98
mov dword [ebp - 0x34], 0
push 2
lea ecx, [ebp - 0x8c]
call fcn.10019fc8
cmp dword [eax], 0
je 0x1001d0ca
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x50], 0
jne 0x1001cf88
mov dword [ebp - 0x11c], 1
jmp 0x1001cf8f
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x40], 0x5e0e
jg 0x1001cfa4
mov dword [ebp - 0x9c], 1
jmp 0x1001cfab
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x9c]
jge 0x1001cfc2
mov dword [ebp - 0x114], 1
jmp 0x1001cfc9
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x40]
jg 0x1001cfe9
mov dword [ebp - 0xa4], 1
jmp 0x1001cff0
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xffff
je 0x1001d008
mov dword [ebp - 0x124], 1
jmp 0x1001d00f
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x50]
jl 0x1001d038
mov dword [ebp - 0xb4], 1
jmp 0x1001d03f
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xcc68
jle 0x1001d063
mov dword [ebp - 0x12c], 1
jmp 0x1001d06a
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x1001d088
cmp dword [ebp - 0x58], 0
jne 0x1001d088
and dword [ebp - 0xbc], 0
jmp 0x1001d092
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xbc], eax
jge 0x1001d0a9
mov dword [ebp - 0x134], 1
jmp 0x1001d0b0
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x144]
add eax, dword [ebp - 0x134]
je 0x1001d0ca
mov dword [ebp - 0xc4], 1
jmp 0x1001d0d1
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0xc4], eax
jne 0x1001d0eb
mov dword [ebp - 0x13c], 1
jmp 0x1001d0f2
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x170], 0
jbe 0x1001d110
mov dword [ebp - 0xcc], 1
jmp 0x1001d117
and dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.10019fc8
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xd4], eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x8c]
call fcn.10019fc8
mov ecx, dword [ebp - 0xd4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xd4], eax
je 0x1001d15d
mov dword [ebp - 0x14c], 1
jmp 0x1001d164
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x7c], eax
jmp 0x1001cf35
jmp 0x1001d2bc
mov dword [ebp - 0x140], 0x8dbec8b2
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x1e8], eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.10019fc8
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x24], 2
jb 0x1001d1b7
mov dword [ebp - 0x18c], 1
jmp 0x1001d1be
and dword [ebp - 0x18c], 0
push 2
lea ecx, [ebp - 0x8c]
call fcn.10019fc8
cmp dword [ebp - 0x80], 0
jne 0x1001d1e1
push 3
pop eax
test eax, eax
jne 0x1001d1e1
and dword [ebp - 0x174], 0
jmp 0x1001d1eb
mov dword [ebp - 0x174], 1
push 0
lea ecx, [ebp - 0x8c]
call fcn.10019fc8
cmp dword [eax], 7
jb 0x1001d212
mov eax, 0x894
test eax, eax
je 0x1001d212
mov dword [ebp - 0x154], 1
jmp 0x1001d219
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x24]
jl 0x1001d233
mov dword [ebp - 0xe0], 1
jmp 0x1001d23a
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xfffffff6
jne 0x1001d24f
mov dword [ebp - 0x120], 1
jmp 0x1001d256
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x120], eax
jl 0x1001d26d
mov dword [ebp - 0xe8], 1
jmp 0x1001d274
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xe8], eax
jge 0x1001d28b
mov dword [ebp - 0xf0], 1
jmp 0x1001d292
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0xf0]
jl 0x1001d2ac
mov dword [ebp - 0x128], 1
jmp 0x1001d2b3
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x110], 0x1f77
mov dword [ebp - 0x178], 0x100086e0
cmp dword [ebp - 0x110], 0x2027
jle 0x1001d352
and dword [ebp - 0x70], 0
jmp 0x1001d2e9
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x35bc
jge 0x1001d352
and dword [ebp - 0x60], 0
jmp 0x1001d2ff
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x8de
jge 0x1001d350
and dword [ebp - 0x6c], 0
jmp 0x1001d315
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x6f94
jge 0x1001d34e
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x60]
sar eax, cl
xor eax, dword [ebp - 0x6c]
cdq
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], edx
push dword [ebp - 0x19c]
push dword [ebp - 0x1a0]
mov ecx, 0x10610418
call fcn.10019cf9
jmp 0x1001d30e
jmp 0x1001d2f8
jmp 0x1001d2e2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x188], 6
je 0x1001d370
mov dword [ebp - 0x130], 1
jmp 0x1001d377
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x38], 0
je 0x1001d398
cmp dword [ebp - 0x38], 0x225765c9
jle 0x1001d38c
cmp dword [ebp - 0x80], 0
je 0x1001d398
mov dword [ebp - 0x90], 1
jmp 0x1001d39f
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x90], eax
jg 0x1001d3b6
mov dword [ebp - 0x150], 1
jmp 0x1001d3bd
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x150], eax
jge 0x1001d3d4
mov dword [ebp - 0x100], 1
jmp 0x1001d3db
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x100], eax
jne 0x1001d3f2
mov dword [ebp - 0x108], 1
jmp 0x1001d3f9
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x108]
jl 0x1001d413
mov dword [ebp - 0x148], 1
jmp 0x1001d41a
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x110], 0x1daf
jge 0x1001d449
mov edx, dword [ebp - 0x178]
mov ecx, 0x10610418
call fcn.1001c204
jmp 0x1001d465
and dword [ebp - 4], 0
jmp 0x1001d46f
jmp 0x1001ced1
jmp 0x1001ce9f
jmp 0x1001d491
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1001d491
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10019fac
mov eax, dword [ebp + 8]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x198], 0x50ba1bf2
mov dword [ebp - 0x68], 0
jmp 0x1001d4ca
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x1001d4e0
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x160], 0xfffffffd
jmp 0x1001d4c3
mov dword [ebp - 0x20], 1
jmp 0x1001d4f0
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1001d61e
push 3
lea ecx, [ebp - 0x1b8]
call fcn.10019f2a
mov dword [ebp - 4], 3
mov dword [ebp - 0x4c], 0
jmp 0x1001d51e
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1001d53a
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x1b8]
call fcn.10019fc8
mov dword [eax], 7
jmp 0x1001d517
mov dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x160], 0x12af048
jne 0x1001d560
mov dword [ebp - 0x138], 1
jmp 0x1001d567
and dword [ebp - 0x138], 0
mov eax, 0x70669599
sub eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp + ecx*4 - 0x160]
imul ecx, eax
imul eax, ecx, 3
cmp eax, dword [ebp - 0x20]
jg 0x1001d593
mov dword [ebp - 0x118], 1
jmp 0x1001d59a
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x160]
cmp dword [ebp - 0x118], eax
jne 0x1001d5b8
mov dword [ebp - 0xd8], 1
jmp 0x1001d5bf
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp + ecx*4 - 0x160]
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx + edx - 0x795ed7c6]
cmp ecx, dword [ebp + eax*4 - 0x160]
jg 0x1001d5ee
mov dword [ebp - 0xdc], 1
jmp 0x1001d5f5
and dword [ebp - 0xdc], 0
push 2
lea ecx, [ebp - 0x1b8]
call fcn.10019fc8
mov ecx, dword [ebp - 0xdc]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b8]
call fcn.10019fac
jmp 0x1001d4e9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x14], 0xffffffff
push 4
lea ecx, [ebp - 0x1ac]
call fcn.10019f2a
mov dword [ebp - 4], 4
mov dword [ebp - 0x54], 0
jmp 0x1001d652
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x1001d66e
push dword [ebp - 0x54]
lea ecx, [ebp - 0x1ac]
call fcn.10019fc8
mov dword [eax], 0x27eed050
jmp 0x1001d64b
mov dword [ebp - 0x14], 8
jmp 0x1001d67e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xa
jne 0x1001d9ba
mov dword [ebp - 0x2c], 0xfffb
mov dword [ebp - 0xfc], 0x9ca4f067
push 3
lea ecx, [ebp - 0x1c4]
call fcn.10019f2a
mov byte [ebp - 4], 5
mov dword [ebp - 0x5c], 0
jmp 0x1001d6ba
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1001d6d3
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x1c4]
call fcn.10019fc8
and dword [eax], 0
jmp 0x1001d6b3
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1001d6f6
push 0
push 0xaee
push 0x1fda
push 0x19e9
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [ebp - 0x14], 0
jne 0x1001d708
mov dword [ebp - 0xe4], 1
jmp 0x1001d70f
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xe4]
jg 0x1001d726
mov dword [ebp - 0xec], 1
jmp 0x1001d72d
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xec]
jg 0x1001d744
mov dword [ebp - 0x180], 1
jmp 0x1001d74b
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x14], 0
jne 0x1001d75d
mov dword [ebp - 0x190], 1
jmp 0x1001d764
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x14]
jle 0x1001d781
mov dword [ebp - 0x16c], 1
jmp 0x1001d788
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1d4], eax
push 7
pop eax
sub eax, dword [ebp - 0x14]
je 0x1001d98f
mov dword [ebp - 0x44], 0x35f19716
mov dword [ebp - 0x1f4], 0xffffffff
mov dword [ebp - 0xd0], 7
mov dword [ebp - 0x64], 0
jmp 0x1001d7c8
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 4
jge 0x1001d7de
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x204], 0x5fef4072
jmp 0x1001d7c1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jl 0x1001d7fb
mov dword [ebp - 0xf4], 1
jmp 0x1001d802
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x1001d82c
mov eax, 0xe633
test eax, eax
je 0x1001d82c
mov dword [ebp - 0x104], 1
jmp 0x1001d833
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x104], eax
jle 0x1001d84a
mov dword [ebp - 0x94], 1
jmp 0x1001d851
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xfafe44fa
jne 0x1001d869
mov dword [ebp - 0x98], 1
jmp 0x1001d870
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x2c]
jne 0x1001d88b
mov dword [ebp - 0x168], 1
jmp 0x1001d892
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jge 0x1001d8af
mov dword [ebp - 0xa0], 1
jmp 0x1001d8b6
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 6
ja 0x1001d8cb
mov dword [ebp - 0xa8], 1
jmp 0x1001d8d2
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xa8], eax
jge 0x1001d8e9
mov dword [ebp - 0xb0], 1
jmp 0x1001d8f0
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xb0], eax
jle 0x1001d90a
cmp dword [ebp - 0x44], 0
jne 0x1001d90a
and dword [ebp - 0xb8], 0
jmp 0x1001d914
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0xb8]
cmp eax, 0xffff
ja 0x1001d937
cmp dword [ebp - 0x44], 0
je 0x1001d937
mov dword [ebp - 0xc0], 1
jmp 0x1001d93e
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
sub eax, 0xd132
neg eax
sub eax, 0x7e12
je 0x1001d964
cmp dword [ebp - 0x14], 0
je 0x1001d964
mov dword [ebp - 0xc8], 1
jmp 0x1001d96b
and dword [ebp - 0xc8], 0
push 1
lea ecx, [ebp - 0x1ac]
call fcn.10019fc8
mov ecx, dword [ebp - 0xc8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd0]
dec eax
mov dword [ebp - 0xd0], eax
jmp 0x1001d9a6
cmp dword [ebp - 0x14], 0
je 0x1001d9a6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c4]
call fcn.10019fac
jmp 0x1001d9ba
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c4]
call fcn.10019fac
jmp 0x1001d677
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1001d9ce
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.10019fac
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x184]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret