Function at 0x1003d43e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100790c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x348
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003d470
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x1003ec97
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
push 2
lea ecx, [ebp - 0x1c4]
call fcn.10008dd5
and dword [ebp - 4], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0xa8], 1
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
call fcn.10037c10
add esp, 0xc
mov dword [ebp - 0x24], 1
jmp 0x1003d4ca
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1003d62e
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0x20c], 0x1b6eab3c
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c4]
call fcn.10008e46
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c4]
call fcn.10008e46
mov ecx, dword [esi]
mov dword [eax], ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c4]
call fcn.10008e46
mov eax, dword [eax]
dec eax
jne 0x1003d529
mov dword [ebp - 0x1dc], 1
jmp 0x1003d530
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x1dc], eax
jg 0x1003d54a
mov dword [ebp - 0xdc], 1
jmp 0x1003d551
and dword [ebp - 0xdc], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c4]
call fcn.10008e46
cmp dword [eax], 6
ja 0x1003d570
mov dword [ebp - 0x1f8], 1
jmp 0x1003d577
and dword [ebp - 0x1f8], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c4]
call fcn.10008e46
mov ecx, dword [ebp - 0x1f8]
cmp ecx, dword [eax]
jl 0x1003d59b
mov dword [ebp - 0x1b4], 1
jmp 0x1003d5a2
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
dec eax
jne 0x1003d5bb
cmp dword [ebp - 0xa0], 0
jne 0x1003d5bb
cmp dword [ebp - 0xa0], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c4]
call fcn.10008e46
cmp dword [eax], 0x9a7b445a
jne 0x1003d5dd
mov dword [ebp - 0x1c8], 1
jmp 0x1003d5e4
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0xe4], eax
jle 0x1003d616
mov dword [ebp - 0x1d0], 1
jmp 0x1003d61d
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x20c], eax
jmp 0x1003d4c3
lea eax, [ebp - 0xa8]
push eax
push 1
call fcn.10037c81
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.10008e41
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
and dword [ebp - 0xb8], 0
jmp 0x1003d681
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xb8], eax
jge 0x1003ec97
mov dword [ebp - 0x64], 0x75b57fd5
mov dword [ebp - 0xec], 0x49dfcf09
mov dword [ebp - 0x80], 0xa5fef9d7
mov dword [ebp - 0x278], 0xc1b16eb2
mov dword [ebp - 0x64], 0
jmp 0x1003d6c8
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffec
jle 0x1003d858
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x28], 0
jmp 0x1003d6ec
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1003d702
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x2a8], 0xffffffff
jmp 0x1003d6e5
mov dword [ebp - 0x28], 0
jmp 0x1003d712
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x1003d728
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x33c], 0xca955a63
jmp 0x1003d70b
mov dword [ebp - 0xec], 0x950ba1bf
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2e8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x33c]
cmp dword [ebp - 0x80], eax
jne 0x1003d762
mov dword [ebp - 0x1d8], 1
jmp 0x1003d769
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x80]
imul eax, dword [ebp - 0x1d8]
test eax, eax
jne 0x1003d790
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x33c], 0
jne 0x1003d790
and dword [ebp - 0xf4], 0
jmp 0x1003d79a
mov dword [ebp - 0xf4], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x33c]
cmp dword [ebp - 0xf4], eax
jge 0x1003d7bb
mov dword [ebp - 0x1e0], 1
jmp 0x1003d7c2
and dword [ebp - 0x1e0], 0
cmp dword [ebp - 0x1e0], 0xfffffffc
jbe 0x1003d7d7
mov dword [ebp - 0xfc], 1
jmp 0x1003d7de
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
sub eax, dword [ebp - 0x24c]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x2a8]
jl 0x1003d805
mov dword [ebp - 0x254], 1
jmp 0x1003d80c
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x31c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2a8]
push 4
pop ecx
imul ecx, ecx, 0
imul ecx, dword [ebp + ecx - 0x2a8], 0xf996
imul eax, ecx
mov dword [ebp - 0x278], eax
mov byte [ebp - 0x47], 0
lea eax, [ebp - 0x47]
push eax
push 1
push 0x69e1
call fcn.10037cc5
add esp, 0xc
jmp 0x1003d6c1
mov dword [ebp - 0x1c], 0x102071b1
mov dword [ebp - 0x2c], 0
jmp 0x1003d86f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1003d882
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x68], 0
jmp 0x1003d868
mov dword [ebp - 0x2c], 0
jmp 0x1003d892
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1003d8a8
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1f0], 1
jmp 0x1003d88b
cmp dword [ebp - 0x1c], 0
je 0x1003d8c7
push 0x534
push 0x60e1
push 1
call fcn.10037d1f
add esp, 0xc
jmp 0x1003dad6
mov dword [ebp - 0x108], 0x3880e033
mov dword [ebp - 0x1c], 0
jmp 0x1003d8e1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x1003dad6
mov dword [ebp - 0x218], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x68], 0xffffffff
je 0x1003daad
cmp dword [ebp - 0x108], 0
je 0x1003da74
mov eax, dword [ebp - 0x1c]
mov ecx, 0x75da2ca3
sub ecx, dword [ebp + eax*4 - 0x68]
cmp ecx, dword [ebp - 0x1c]
jge 0x1003d92d
mov dword [ebp - 0x1e8], 1
jmp 0x1003d934
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0xfffffffc
jae 0x1003d949
mov dword [ebp - 0xb0], 1
jmp 0x1003d950
and dword [ebp - 0xb0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp + eax - 0x1f0], ecx
cmp dword [ebp - 0xb0], 0
jne 0x1003d985
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1f0], 0
jne 0x1003d985
and dword [ebp - 0x180], 0
jmp 0x1003d98f
mov dword [ebp - 0x180], 1
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0x180], eax
je 0x1003d9a9
mov dword [ebp - 0x110], 1
jmp 0x1003d9b0
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x110], eax
jl 0x1003d9c7
mov dword [ebp - 0x244], 1
jmp 0x1003d9ce
and dword [ebp - 0x244], 0
push 0xfffffffffffffffc
pop eax
neg eax
cmp eax, 0xfc353271
jb 0x1003d9e6
mov dword [ebp - 0x1b8], 1
jmp 0x1003d9ed
and dword [ebp - 0x1b8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
cmp dword [ebp - 0x1b8], eax
je 0x1003da0b
mov dword [ebp - 0x118], 1
jmp 0x1003da12
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x68]
cmp dword [ebp - 0x118], eax
jg 0x1003da2d
mov dword [ebp - 0x188], 1
jmp 0x1003da34
and dword [ebp - 0x188], 0
imul eax, dword [ebp - 0x188], 0x7a2e
cmp eax, 0xfffffff8
jne 0x1003da4f
mov dword [ebp - 0x120], 1
jmp 0x1003da56
and dword [ebp - 0x120], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
cmp dword [ebp - 0x120], eax
jge 0x1003da74
mov dword [ebp - 0x1ec], 1
jmp 0x1003da7b
and dword [ebp - 0x1ec], 0
cmp dword [ebp - 0x1ec], 0xdc2a82a1
jbe 0x1003da99
mov eax, 0x7a30b913
test eax, eax
jne 0x1003da99
and dword [ebp - 0x128], 0
jmp 0x1003daa3
mov dword [ebp - 0x128], 1
mov eax, dword [ebp - 0x128]
neg eax
je 0x1003dabe
or eax, 0xffffffff
je 0x1003dabe
mov dword [ebp - 0x190], 1
jmp 0x1003dac5
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x218], eax
jmp 0x1003d8da
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1003daef
mov dword [ebp - 0x130], 1
jmp 0x1003daf6
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x3c], 0x11738ab6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x78], 0
push 1
lea ecx, [ebp - 0x274]
call fcn.10008dd5
mov dword [ebp - 4], 1
mov dword [ebp - 0x230], 0x5ee192ef
mov dword [ebp - 0x168], 7
mov dword [ebp - 0x2bc], 0x8d75fb74
mov dword [ebp - 0x8c], 0
jmp 0x1003db62
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x1003db84
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x274]
call fcn.10008e46
mov dword [eax], 0x78d11e8e
jmp 0x1003db55
cmp dword [ebp - 0x30], 0xe8588d0d
jae 0x1003db99
mov dword [ebp - 0x1cc], 1
jmp 0x1003dba0
and dword [ebp - 0x1cc], 0
imul eax, dword [ebp - 0x3c], 3
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x1cc]
cmp eax, 0xeb606930
jne 0x1003dd08
mov dword [ebp - 0x2c4], 0xffffffff
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x5c], 0x8d7cbae8
mov dword [ebp - 0x138], 0xf3004570
mov dword [ebp - 0x30], 0
jmp 0x1003dbf1
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xfffffff0
jg 0x1003dd03
mov dword [ebp - 0x250], 0
mov dword [ebp - 0xc0], 1
push 1
lea ecx, [ebp - 0x290]
call fcn.10008dd5
mov byte [ebp - 4], 2
push 0x7275
push 1
lea eax, [ebp - 0x2cc]
push eax
push 0x1ba9
lea eax, [ebp - 0x290]
push eax
call fcn.10037d7b
add esp, 0x14
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0xc0]
sub eax, 9
sub eax, dword [ebp - 0x250]
mov dword [ebp - 0x220], eax
push 0
lea ecx, [ebp - 0x290]
call fcn.10008e46
mov ecx, dword [ebp - 0x220]
mov dword [eax], ecx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x5c], 0
jmp 0x1003dc95
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jg 0x1003dcef
mov dword [ebp - 0x228], 0x45d44756
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x252b
lea eax, [ebp - 0x284]
push eax
push 0x6248
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push 0x1cd8
lea eax, [ebp - 0x138]
push eax
call fcn.1003827b
add esp, 0x30
jmp 0x1003dc8e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call fcn.10008e41
jmp 0x1003dbea
jmp 0x1003e150
push 1
lea ecx, [ebp - 0x264]
call fcn.10008dd5
mov byte [ebp - 4], 3
mov dword [ebp - 0xac], 2
push 0x70a6
push 0x48fa
push 0x142e
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x59d4
push 1
push 0x17f4
call fcn.10037e25
add esp, 0x20
mov dword [ebp - 0x10], 0
jmp 0x1003dd61
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1003dd77
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x94], 0x2f9e84eb
jmp 0x1003dd5a
mov dword [ebp - 0x10], 0
jmp 0x1003dd87
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1003dd9d
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x9c], 0xa48b7552
jmp 0x1003dd80
mov dword [ebp - 0x10], 0
jmp 0x1003ddad
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1003ddc3
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2f4], 0
jmp 0x1003dda6
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x9c], eax
cmp dword [ebp - 0xac], 0
je 0x1003dfd4
push 0
lea ecx, [ebp - 0x264]
call fcn.10008e46
push 0
lea ecx, [ebp - 0x274]
call fcn.10008e46
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x2f4]
cmp dword [eax], ecx
je 0x1003de22
mov dword [ebp - 0x198], 1
jmp 0x1003de29
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x198], eax
jg 0x1003de49
mov eax, 0x40870e26
test eax, eax
je 0x1003de49
mov dword [ebp - 0x140], 1
jmp 0x1003de50
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 7
jle 0x1003de65
mov dword [ebp - 0x1e4], 1
jmp 0x1003de6c
and dword [ebp - 0x1e4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0x1e4], eax
jl 0x1003de8d
mov dword [ebp - 0x148], 1
jmp 0x1003de94
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 4
jg 0x1003dea9
mov dword [ebp - 0x258], 1
jmp 0x1003deb0
and dword [ebp - 0x258], 0
push 0
lea ecx, [ebp - 0x274]
call fcn.10008e46
cmp dword [ebp - 0x78], 0
jle 0x1003decf
mov dword [ebp - 0x1a0], 1
jmp 0x1003ded6
and dword [ebp - 0x1a0], 0
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x9c]
push 0
lea ecx, [ebp - 0x264]
call fcn.10008e46
mov ecx, dword [ebp - 0x1a0]
sub ecx, dword [eax]
cmp esi, ecx
jge 0x1003df08
mov dword [ebp - 0x150], 1
jmp 0x1003df0f
and dword [ebp - 0x150], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2f4]
cmp dword [ebp - 0x150], eax
jg 0x1003df30
mov dword [ebp - 0x1d4], 1
jmp 0x1003df37
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1d4]
add eax, 0x5bc6281b
je 0x1003df59
cmp dword [ebp - 0x230], 0
je 0x1003df59
mov dword [ebp - 0x158], 1
jmp 0x1003df60
and dword [ebp - 0x158], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
add eax, dword [ebp - 0x158]
imul eax, eax, 0xd9bf
cmp eax, dword [ebp - 0x168]
jne 0x1003df8d
mov dword [ebp - 0x1a8], 1
jmp 0x1003df94
and dword [ebp - 0x1a8], 0
push 0
lea ecx, [ebp - 0x264]
call fcn.10008e46
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1a8]
jg 0x1003dfb7
mov dword [ebp - 0x160], 1
jmp 0x1003dfbe
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
inc eax
inc eax
je 0x1003dfd4
mov dword [ebp - 0x1f4], 1
jmp 0x1003dfdb
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x1f4]
add eax, 0xfffffff9
mov dword [ebp - 0x1b0], eax
push 0
lea ecx, [ebp - 0x274]
call fcn.10008e46
mov ecx, dword [ebp - 0x1b0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x1b0], eax
jge 0x1003e019
mov dword [ebp - 0x170], 1
jmp 0x1003e020
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x170], eax
jl 0x1003e037
mov dword [ebp - 0xd0], 1
jmp 0x1003e03e
and dword [ebp - 0xd0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0xd0], eax
jne 0x1003e05f
mov dword [ebp - 0x178], 1
jmp 0x1003e066
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x178], eax
je 0x1003e07d
mov dword [ebp - 0x100], 1
jmp 0x1003e084
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x78]
jge 0x1003e09e
mov dword [ebp - 0xa4], 1
jmp 0x1003e0a5
and dword [ebp - 0xa4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp + eax - 0x94], ecx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
dec eax
cmp eax, dword [ebp - 0x3c]
jle 0x1003e0d6
mov dword [ebp - 0x280], 1
jmp 0x1003e0dd
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x2b8], eax
mov eax, 0x1a37c057
cmp eax, 0xf9a51c30
jb 0x1003e101
mov dword [ebp - 0x104], 1
jmp 0x1003e108
and dword [ebp - 0x104], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x104], eax
jl 0x1003e129
mov dword [ebp - 0x10c], 1
jmp 0x1003e130
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
add eax, 0x3abc
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.10008e41
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.10008e41
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1003e178
mov dword [ebp - 0x114], 1
jmp 0x1003e17f
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1003e1a4
mov dword [ebp - 0x11c], 1
jmp 0x1003e1ab
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x88], 9
mov dword [ebp - 0x2dc], 1
mov dword [ebp - 0x2e4], 0x12491e29
mov dword [ebp - 0x340], 0x9c9fb37b
mov dword [ebp - 0x2c0], 0x72c25fcc
push 2
lea ecx, [ebp - 0x304]
call fcn.10008dd5
mov dword [ebp - 4], 4
mov dword [ebp - 0x90], 0
jmp 0x1003e216
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 2
jge 0x1003e238
push dword [ebp - 0x90]
lea ecx, [ebp - 0x304]
call fcn.10008e46
mov dword [eax], 0xe1dfe009
jmp 0x1003e209
mov dword [ebp - 0x88], 0
jmp 0x1003e251
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 8
jl 0x1003e2f6
push 3
lea ecx, [ebp - 0x29c]
call fcn.10008dd5
mov byte [ebp - 4], 5
mov dword [ebp - 0x54], 0
jmp 0x1003e27f
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1003e295
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x348], 0x603fa75c
jmp 0x1003e278
lea eax, [ebp - 0x54]
push eax
push 0x6aef
push 0x6e95
push 0x11b2
push 0
push 0x5256
push 0x530c
push 0x50a1
lea eax, [ebp - 0x29c]
push eax
push 0x1695
push 0x3e65
call fcn.1003a714
add esp, 0x2c
push 0
lea eax, [ebp - 0x29c]
push eax
call fcn.1003c9e1
pop ecx
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
call fcn.10008e41
jmp 0x1003e244
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x304]
call fcn.10008e41
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1003e3c7
push 0x4000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x4986
push 0x40b6
call fcn.10014d7a
pop ecx
pop ecx
call eax
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x98], 0
jmp 0x1003e35a
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 3
jge 0x1003e376
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x314], 0xffffffff
jmp 0x1003e34d
mov dword [ebp - 0x20], 0
jmp 0x1003e386
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1003e39c
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x314], 6
jmp 0x1003e37f
mov dword [ebp - 0x20], 0
jmp 0x1003e3ac
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1003e3c2
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x314], 0xf94964a5
jmp 0x1003e3a5
jmp 0x1003d66b
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x84], 8
mov dword [ebp - 0x70], 0x7cc73ee4
push 1
lea ecx, [ebp - 0xcc]
call fcn.10008dd5
mov dword [ebp - 4], 6
mov dword [ebp - 0x40], 0x24c6e12c
push 0x17a6
lea eax, [ebp - 0xcc]
push eax
push 1
push 0x55d5
lea eax, [ebp - 0x58]
push eax
push 0x7287
push 0x19e1
push 0x1944
push 0x54ba
call fcn.10038115
add esp, 0x24
mov dword [ebp - 0x58], 0
jmp 0x1003e43d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x1003e453
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0xbc], 0
jmp 0x1003e436
mov dword [ebp - 0x44], 9
jmp 0x1003e463
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 7
jl 0x1003e75c
mov dword [ebp - 0x7c], 0x785b6478
mov dword [ebp - 0x6c], 0
jmp 0x1003e484
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x1003e49a
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x208], 0xffffffff
jmp 0x1003e47d
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x208], 0
jmp 0x1003e4c8
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x208]
inc eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x208], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x208], 8
jl 0x1003e71f
mov dword [ebp - 0x34], 0xfffffff6
cmp dword [ebp - 0x34], 0
je 0x1003e540
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2f8], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x34]
cmp dword [ebp + eax - 0x208], ecx
je 0x1003e518
mov dword [ebp - 0x124], 1
jmp 0x1003e51f
and dword [ebp - 0x124], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x208]
cmp dword [ebp - 0x124], eax
je 0x1003e540
mov dword [ebp - 0x238], 1
jmp 0x1003e547
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x320], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x208]
neg eax
cmp eax, dword [ebp - 0x34]
jle 0x1003e583
mov dword [ebp - 0x12c], 1
jmp 0x1003e58a
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x12c], eax
jle 0x1003e5a1
mov dword [ebp - 0x134], 1
jmp 0x1003e5a8
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0
jne 0x1003e5bd
mov dword [ebp - 0x13c], 1
jmp 0x1003e5c4
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
sub eax, 0x52076f46
cmp eax, dword [ebp - 0x7c]
jle 0x1003e5e0
mov dword [ebp - 0x144], 1
jmp 0x1003e5e7
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x279
jge 0x1003e605
mov dword [ebp - 0x14c], 1
jmp 0x1003e60c
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0xa866
jne 0x1003e624
mov dword [ebp - 0x154], 1
jmp 0x1003e62b
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x154], eax
jge 0x1003e642
mov dword [ebp - 0x15c], 1
jmp 0x1003e649
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 1
jl 0x1003e65e
mov dword [ebp - 0x164], 1
jmp 0x1003e665
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x164], eax
jne 0x1003e67c
mov dword [ebp - 0x16c], 1
jmp 0x1003e683
and dword [ebp - 0x16c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x208]
imul eax, dword [ebp - 0x16c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x34], eax
je 0x1003e6ae
mov dword [ebp - 0x174], 1
jmp 0x1003e6b5
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
sub eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x44]
jle 0x1003e6d3
mov dword [ebp - 0xb4], 1
jmp 0x1003e6da
and dword [ebp - 0xb4], 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.10008e46
mov ecx, dword [ebp - 0xb4]
mov dword [eax], ecx
imul eax, dword [ebp - 0xb4], 0xffff
cmp eax, 0xfffffff7
je 0x1003e70a
mov dword [ebp - 0x17c], 1
jmp 0x1003e711
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x40], eax
jmp 0x1003e4ad
mov dword [ebp - 0x40], 0
jmp 0x1003e72f
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1003e757
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1003e755
push 0x142b
push 0
push 0x7bb1
call fcn.10038442
add esp, 0xc
jmp 0x1003e728
jmp 0x1003e45c
push 8
pop eax
test eax, eax
je 0x1003e91d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xbc], 0
je 0x1003e91d
push 0
lea ecx, [ebp - 0xcc]
call fcn.10008e46
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x1003e7ab
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xbc], 0
je 0x1003e7ab
mov dword [ebp - 0x184], 1
jmp 0x1003e7b2
and dword [ebp - 0x184], 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.10008e46
mov ecx, dword [ebp - 0x184]
sub ecx, dword [eax]
je 0x1003e7d2
mov eax, 0xf348
test eax, eax
jne 0x1003e7e2
push 9
pop eax
test eax, eax
jne 0x1003e7e2
and dword [ebp - 0x18c], 0
jmp 0x1003e7ec
mov dword [ebp - 0x18c], 1
push 0
lea ecx, [ebp - 0xcc]
call fcn.10008e46
mov ecx, dword [ebp - 0x18c]
cmp ecx, dword [eax]
jl 0x1003e80f
mov dword [ebp - 0x194], 1
jmp 0x1003e816
and dword [ebp - 0x194], 0
mov esi, dword [ebp - 0x84]
push 0
lea ecx, [ebp - 0xcc]
call fcn.10008e46
mov ecx, dword [ebp - 0x194]
sub ecx, dword [eax]
inc ecx
cmp esi, ecx
je 0x1003e848
cmp dword [ebp - 0x84], 0
jne 0x1003e848
and dword [ebp - 0x19c], 0
jmp 0x1003e852
mov dword [ebp - 0x19c], 1
cmp dword [ebp - 0x19c], 0xa5b7
jg 0x1003e86a
mov dword [ebp - 0x1a4], 1
jmp 0x1003e871
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x1a4]
jg 0x1003e888
mov dword [ebp - 0x1ac], 1
jmp 0x1003e88f
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x1ac], eax
je 0x1003e8a6
mov dword [ebp - 0xd4], 1
jmp 0x1003e8ad
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xd4], eax
je 0x1003e8c4
mov dword [ebp - 0xd8], 1
jmp 0x1003e8cb
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xbc]
cmp dword [ebp - 0xd8], eax
jne 0x1003e8ec
mov dword [ebp - 0xe0], 1
jmp 0x1003e8f3
and dword [ebp - 0xe0], 0
mov esi, dword [ebp - 0x70]
imul esi, dword [ebp - 0xe0]
sub esi, dword [ebp - 0x70]
push 0
lea ecx, [ebp - 0xcc]
call fcn.10008e46
add esi, dword [eax]
je 0x1003e91d
mov dword [ebp - 0xe8], 1
jmp 0x1003e924
and dword [ebp - 0xe8], 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.10008e46
mov ecx, dword [ebp - 0xe8]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10008e41
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x460e
call fcn.100384a9
add esp, 0x1c
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x2d0], 0xf1d
mov dword [ebp - 0x50], 0xffffffef
jmp 0x1003e998
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffffd
je 0x1003e9e9
mov dword [ebp - 0x248], 0x88adae8c
mov byte [ebp - 0x49], 0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x1003e9c2
push 0x45b6
push 0
call fcn.1003f9a8
pop ecx
pop ecx
cmp dword [ebp - 0x50], 0
jne 0x1003e9d4
mov dword [ebp - 0xf0], 1
jmp 0x1003e9db
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x248], eax
jmp 0x1003e991
push 0x2246
push 0x3804
lea eax, [ebp - 0x74]
push eax
push 0x4570
lea eax, [ebp - 0xf8]
push eax
push 0x5ce9
push 0x2f1b
push 0x2d75
push 0x4195
push 1
lea eax, [ebp - 0x14]
push eax
push 0xc6d
call fcn.1003827b
add esp, 0x30
mov dword [ebp - 0x18], 0xa860
mov dword [ebp - 0x224], 0xffffffff
mov dword [ebp - 0x60], 0xac0f
push 2
lea ecx, [ebp - 0x32c]
call fcn.10008dd5
mov dword [ebp - 4], 7
mov dword [ebp - 0x308], 0xb1aa435c
lea eax, [ebp - 0x2d8]
push eax
push 1
lea eax, [ebp - 0x32c]
push eax
call fcn.10038442
add esp, 0xc
push 0x506c
push 0x4b29
push 1
push 0x658f
push 0x5f6
push 0x4fc8
lea eax, [ebp - 0x18]
push eax
call fcn.100384a9
add esp, 0x1c
cmp dword [ebp - 0x18], 0
je 0x1003ec02
push 2
lea ecx, [ebp - 0x2b4]
call fcn.10008dd5
mov byte [ebp - 4], 8
mov dword [ebp - 0x21c], 0x95031536
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x318], 1
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x38], 0
jmp 0x1003eaf2
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1003eb0b
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2b4]
call fcn.10008e46
and dword [eax], 0
jmp 0x1003eaeb
mov dword [ebp - 0x38], 0
jmp 0x1003eb1b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x1003eb31
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x354], 0x24f63abe
jmp 0x1003eb14
mov dword [ebp - 0x18], 0
jmp 0x1003eb41
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x36
jle 0x1003ebd1
mov dword [ebp - 0x210], 0xb21a35ca
lea eax, [ebp - 0x210]
push eax
push 0x7f3f
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x72c7
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x224]
push eax
push 1
call fcn.10038539
add esp, 0x28
mov dword [ebp - 0x60], 0x11
jmp 0x1003eba4
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xe
jne 0x1003ebcc
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x1003ebca
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
jmp 0x1003eb9d
jmp 0x1003eb3a
push 0
push 0x6a30
push 0x40b0
lea eax, [ebp - 0x22c]
push eax
push 0x2c6f
call fcn.10039115
add esp, 0x14
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2b4]
call fcn.10008e41
jmp 0x1003ec4e
mov dword [ebp - 0x18], 0
jmp 0x1003ec12
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x1003ec4e
mov dword [ebp - 0x234], 0xffffffff
mov byte [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x1003ec42
push 0
push 0x770
push 0x3d93
call fcn.1003ece7
add esp, 0xc
mov dword [ebp - 0x234], 1
jmp 0x1003ec0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x32c]
call fcn.10008e41
cmp dword [ebp - 0xf8], 0
jbe 0x1003ec92
lea eax, [ebp - 0x2e0]
push eax
push dword [ebp - 0x23c]
push dword [ebp - 0xf8]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x4986
push 0x4696
call fcn.10014d7a
pop ecx
pop ecx
call eax
jmp 0x1003d66b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret