Function at 0x10038e71
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072db4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003a6ed
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x230], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2b8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x290], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x280], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x214]
movzx eax, byte [eax]
test eax, eax
je 0x10039031
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x130], eax
mov eax, dword [0x106df5a4]
and eax, 1
jne 0x10038f3b
mov eax, dword [0x106df5a4]
or eax, 1
mov dword [0x106df5a4], eax
and dword [ebp - 4], 0
mov ecx, 0x106df584
call fcn.1003abfd
push 0x100736f2
call fcn.1005b293
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x334]
push eax
mov ecx, 0x106df584
call fcn.1002b790
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x360]
push eax
mov ecx, 0x106df584
call fcn.1003ab1e
mov ecx, eax
call fcn.1003abea
movzx eax, al
test eax, eax
je 0x10038fab
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push eax
mov ecx, 0x106df584
call fcn.1003acb4
mov ecx, dword [ebp - 0x130]
mov ax, word [eax]
mov word [ecx], ax
jmp 0x1003a71f
mov eax, dword [ebp - 0x64]
push dword [eax]
lea eax, [ebp - 0x398]
push eax
call fcn.1003512d
pop ecx
pop ecx
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x27c]
call fcn.1003a827
mov ax, word [eax]
mov word [ebp - 0x48], ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x398]
call fcn.1003a7c8
push dword [ebp - 0x64]
push 0x1e8d
push 0x106df584
push 1
push 0x36ef
push 1
lea eax, [ebp - 0x48]
push eax
call fcn.10038d5e
add esp, 0x1c
mov eax, dword [ebp - 0x130]
mov cx, word [ebp - 0x48]
mov word [eax], cx
jmp 0x1003a71f
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0xb4], 0xd3c891c5
mov dword [ebp - 0xb0], 0xd3c891c5
mov dword [ebp - 0xac], 0xd3c891c5
mov dword [ebp - 0xa8], 0xd3c891c5
mov dword [ebp - 0xa0], 0xb844a754
mov dword [ebp - 0x34], 0x15d7249a
mov dword [ebp - 0x74], 0xad5befa1
mov dword [ebp - 0x28], 0xffffffff
push 1
lea ecx, [ebp - 0x308]
call fcn.1000fc7a
mov dword [ebp - 4], 2
mov dword [ebp - 0x318], 0x8281b7ff
push 0x6585
push 0x410b
push 0x5a6d
push 0
push 0x5a87
push 0x40e7
push 0x1585
push 0x927
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x308]
push eax
push 0x1a9e
push 0x2b0c
push 1
call fcn.10030a93
add esp, 0x34
mov dword [ebp - 0x1e8], 0x6824
mov dword [ebp - 0x238], 0x10008bb4
cmp dword [ebp - 0x1e8], 0x6908
jle 0x100391ce
call dword [sym.imp.USER32.dll_GetCapture]
and dword [ebp - 0x84], 0
jmp 0x1003914d
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x1738
jge 0x100391bc
and dword [ebp - 0x6c], 0
jmp 0x10039166
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xc38
jge 0x100391ba
and dword [ebp - 0x80], 0
jmp 0x1003917c
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x6cab
jge 0x100391b8
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
shl eax, cl
cdq
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], edx
push dword [ebp - 0x26c]
push dword [ebp - 0x270]
mov ecx, 0x1061ae38
call fcn.1002b61d
jmp 0x10039175
jmp 0x1003915f
jmp 0x10039140
push 0x1f0
push 0
push 0x1868
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb4]
cmp eax, dword [ebp - 0xa0]
jne 0x100391ef
mov dword [ebp - 0x210], 1
jmp 0x100391f6
and dword [ebp - 0x210], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb4]
cmp eax, dword [ebp - 0x210]
jg 0x1003921d
cmp dword [ebp - 0x34], 0
je 0x1003921d
mov dword [ebp - 0xec], 1
jmp 0x10039224
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x368], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb4]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0xa0], 0
jg 0x10039265
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xb4], 0
jne 0x10039265
and dword [ebp - 0xd4], 0
jmp 0x1003926f
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0xd4]
jg 0x10039289
mov dword [ebp - 0x1e0], 1
jmp 0x10039290
and dword [ebp - 0x1e0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xb4]
cmp dword [ebp - 0x1e0], eax
jl 0x100392b0
mov dword [ebp - 0xdc], 1
jmp 0x100392b7
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1e8], 0x64a5
jge 0x100392e3
mov edx, dword [ebp - 0x238]
mov ecx, 0x1061ae38
call fcn.1002cd18
jmp 0x100392ff
mov dword [ebp - 4], 2
jmp 0x1003930f
mov dword [ebp - 0x28], 0xb
jmp 0x1003931f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xf
jne 0x100397e5
mov dword [ebp - 0x14], 0xfa72
mov dword [ebp - 0x34], 0
jmp 0x10039340
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xe
jle 0x100397e0
mov dword [ebp - 0x1c], 0x2b46fac5
mov dword [ebp - 0x4c], 0xfdb9ce08
mov dword [ebp - 0x31c], 0
cmp dword [ebp - 0x28], 0
je 0x1003942b
imul eax, dword [ebp - 0x34], 0x9964
mov ecx, dword [ebp - 0x14]
imul ecx, eax
test ecx, ecx
je 0x1003938f
cmp dword [ebp - 0x14], 0
je 0x1003938f
mov dword [ebp - 0xe4], 1
jmp 0x10039396
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0x454
jg 0x100393ae
mov dword [ebp - 0x2b4], 1
jmp 0x100393b5
and dword [ebp - 0x2b4], 0
cmp dword [ebp - 0x14], 3
jl 0x100393c7
mov dword [ebp - 0x1f0], 1
jmp 0x100393ce
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x1f0], eax
jge 0x100393e5
mov dword [ebp - 0x1f8], 1
jmp 0x100393ec
and dword [ebp - 0x1f8], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb4]
cmp dword [ebp - 0x1f8], eax
jg 0x1003940d
mov dword [ebp - 0x17c], 1
jmp 0x10039414
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
sub eax, dword [ebp - 0x74]
je 0x1003942b
mov dword [ebp - 0xf4], 1
jmp 0x10039432
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xf4], eax
jge 0x10039449
mov dword [ebp - 0x1c4], 1
jmp 0x10039450
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 1
jae 0x1003945f
cmp dword [ebp - 0x14], 0
jne 0x1003946d
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xb4], 0
cmp dword [ebp - 0x74], 0
je 0x100394cd
mov dword [ebp - 0x240], 0x10f40bf6
mov dword [ebp - 0x28c], 0xfff9
push 0x20c2
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x16ea
push 0x36c6
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0x7635
call fcn.100384e0
add esp, 0x30
jmp 0x100397db
push 2
lea ecx, [ebp - 0x2d0]
call fcn.1000fc7a
mov byte [ebp - 4], 5
push 0x6424
push 0x4dde
push 0
push 0
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.1002f9f0
add esp, 0x18
mov dword [ebp - 0x1c], 0
jmp 0x10039512
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jg 0x100397cc
mov dword [ebp - 0x2fc], 0x51aa8c97
mov dword [ebp - 0x2f8], 0x51aa8c97
mov dword [ebp - 0x2f4], 0x51aa8c97
mov dword [ebp - 0x2f0], 0x51aa8c97
lea ecx, [ebp - 0xc5]
call fcn.1000fd27
push eax
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x370]
call fcn.1000fd2a
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x348]
call fcn.1000fcd6
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp + ecx*4 - 0xb4]
cmp ecx, dword [ebp + eax*4 - 0xb4]
jle 0x1003959f
mov dword [ebp - 0xfc], 1
jmp 0x100395a6
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x328], eax
push 0
lea ecx, [ebp - 0x2d0]
call fcn.1000fd18
cmp dword [ebp - 0x1c], 0x5f075f97
je 0x100395d1
mov dword [ebp - 0x184], 1
jmp 0x100395d8
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0xfc]
sub eax, dword [ebp - 0x184]
mov dword [ebp - 0x104], eax
push 2
lea ecx, [ebp - 0x348]
call fcn.1000fd18
mov ecx, dword [ebp - 0x104]
mov dword [eax], ecx
cmp dword [ebp - 0x104], 0
jne 0x10039614
mov dword [ebp - 0x20c], 1
jmp 0x1003961b
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
inc eax
inc eax
cmp eax, dword [ebp - 0x14]
je 0x10039634
mov dword [ebp - 0x248], 1
jmp 0x1003963b
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0xb4]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0xb4], 0xfffffffb
jge 0x1003966d
mov dword [ebp - 0x10c], 1
jmp 0x10039674
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x10c], eax
jle 0x1003968b
mov dword [ebp - 0x18c], 1
jmp 0x10039692
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 0x22c1
jge 0x100396aa
mov dword [ebp - 0x114], 1
jmp 0x100396b1
and dword [ebp - 0x114], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
cmp dword [ebp - 0x114], eax
jg 0x100396d2
mov dword [ebp - 0x1cc], 1
jmp 0x100396d9
and dword [ebp - 0x1cc], 0
push 1
lea ecx, [ebp - 0x2d0]
call fcn.1000fd18
mov ecx, dword [ebp - 0x1cc]
cmp ecx, dword [eax]
jle 0x100396fc
mov dword [ebp - 0x11c], 1
jmp 0x10039703
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
jmp 0x1003971c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x100397b8
mov dword [ebp - 0x2bc], 1
mov dword [ebp - 0x4c], 3
jmp 0x10039740
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x100397b3
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1003976a
push 1
push 0x1b0b
push 0x1cb7
push 0
push 1
call fcn.1002f41e
add esp, 0x14
push 0
push 0x48dc
push 0x823
push 0x293d
push 0x308c
push 0x7654
push 1
push 0x51c3
push 1
push 0x44b0
push 0x78ea
lea eax, [ebp - 0x2bc]
push eax
push 0x5f4f
push 0x6ad2
call fcn.100327dd
add esp, 0x38
jmp 0x10039739
jmp 0x10039715
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x348]
call fcn.1000fcfc
jmp 0x1003950b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2d0]
call fcn.1000fcfc
jmp 0x10039339
jmp 0x10039318
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x308]
call fcn.1000fcfc
xor eax, eax
mov word [ebp - 0xbe], ax
lea eax, [ebp - 0xbe]
push eax
mov eax, dword [ebp - 0x250]
mov eax, dword [eax]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0x2b0]
call fcn.1003a8e3
mov dword [ebp - 4], 7
push 2
lea ecx, [ebp - 0x2a0]
call fcn.1000fc7a
mov byte [ebp - 4], 8
mov dword [ebp - 0x350], 3
push 1
push 0
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10030fb0
add esp, 0x10
mov dword [ebp - 0x54], 0
jmp 0x10039864
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10039877
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x2c], 0xfffffff8
jmp 0x1003985d
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x100398a5
push 0
push 0x4fb8
push 0x64ba
push 0x49d5
push 1
push 1
push 0x7648
call fcn.1002fcbb
add esp, 0x1c
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2c], 0
jmp 0x100398ca
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 1
jg 0x1003995b
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x2c]
lea ecx, [ebp - 0x2a0]
call fcn.1000fd18
mov esi, eax
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x2c]
lea ecx, [ebp - 0x2a0]
call fcn.1000fd18
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x10039919
mov dword [ebp - 0x194], 1
jmp 0x10039920
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x2c]
lea ecx, [ebp - 0x2a0]
call fcn.1000fd18
mov ecx, dword [ebp - 0x194]
mov dword [eax], ecx
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x2d]
push eax
push 0x2aa9
push 1
push 0
call fcn.1002f08a
add esp, 0x10
jmp 0x100398b5
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a0]
call fcn.1000fcfc
and dword [ebp - 0x70], 0
and dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x2b0]
call fcn.1003aa50
dec eax
mov dword [ebp - 0x294], eax
jmp 0x1003998d
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x294]
jae 0x1003a5e6
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x90], 1
mov dword [ebp - 0xc4], 2
mov dword [ebp - 0x268], 0xbb1b2b15
mov dword [ebp - 0x18], 0
jmp 0x100399ef
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff2
jge 0x10039d5f
mov dword [ebp - 0x3c], 0xb87d0fa5
mov dword [ebp - 0x124], 0x6b1c
mov dword [ebp - 0x2c4], 0x10008bf8
cmp dword [ebp - 0x124], 0x6ecf
jle 0x10039ada
and dword [ebp - 0x58], 0
jmp 0x10039a31
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x73dc
jge 0x10039ada
and dword [ebp - 0x8c], 0
jmp 0x10039a54
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x36d0
jge 0x10039ad5
and dword [ebp - 0x7c], 0
jmp 0x10039a6d
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x407a
jge 0x10039ad0
mov eax, dword [ebp - 0x8c]
cdq
idiv dword [ebp - 0x7c]
xor edx, dword [ebp - 0x58]
mov eax, edx
cdq
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], edx
push dword [ebp - 0x284]
push dword [ebp - 0x288]
lea ecx, [ebp - 0x3b0]
call fcn.1000ac1f
pop ecx
pop ecx
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
call fcn.1000faa9
push eax
call fcn.1005b2bd
pop ecx
lea ecx, [ebp - 0x3b0]
call fcn.1000fa7a
jmp 0x10039a66
jmp 0x10039a47
jmp 0x10039a2a
mov dword [ebp - 0x2a4], 0x1521fafb
mov byte [ebp - 4], 9
cmp dword [ebp - 0x124], 0x691d
jge 0x10039b00
push dword [ebp - 0x2c4]
call fcn.1005b2bd
pop ecx
jmp 0x10039b1c
mov dword [ebp - 4], 7
jmp 0x10039b2c
push 1
lea ecx, [ebp - 0x2e8]
call fcn.1000fc7a
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x88], 0
jmp 0x10039b56
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 1
jge 0x10039b75
push dword [ebp - 0x88]
lea ecx, [ebp - 0x2e8]
call fcn.1000fd18
or dword [eax], 0xffffffff
jmp 0x10039b49
cmp dword [ebp - 0x18], 0x54165132
jle 0x10039b8a
mov dword [ebp - 0x144], 1
jmp 0x10039b91
and dword [ebp - 0x144], 0
xor eax, eax
sub eax, dword [ebp - 0x18]
jne 0x10039ba7
cmp dword [ebp - 0x3c], 0
jne 0x10039ba7
and dword [ebp - 0x260], 0
jmp 0x10039bb1
mov dword [ebp - 0x260], 1
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x3c]
jle 0x10039bc9
mov dword [ebp - 0x1ec], 1
jmp 0x10039bd0
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1ec]
neg eax
sub eax, 7
jne 0x10039bef
cmp dword [ebp - 0x2a4], 0
jne 0x10039bef
and dword [ebp - 0x12c], 0
jmp 0x10039bf9
mov dword [ebp - 0x12c], 1
cmp dword [ebp - 0x12c], 0
jle 0x10039c0e
mov dword [ebp - 0x19c], 1
jmp 0x10039c15
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x19c], eax
jne 0x10039c2c
mov dword [ebp - 0x134], 1
jmp 0x10039c33
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x134]
imul eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10039c5f
push 0
lea ecx, [ebp - 0x2e8]
call fcn.1000fd18
cmp dword [eax], 0
jne 0x10039c5f
and dword [ebp - 0x1d4], 0
jmp 0x10039c69
mov dword [ebp - 0x1d4], 1
push 0
lea ecx, [ebp - 0x2e8]
call fcn.1000fd18
mov ecx, dword [ebp - 0x1d4]
cmp ecx, dword [eax]
jne 0x10039c8c
mov dword [ebp - 0x13c], 1
jmp 0x10039c93
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x13c], eax
jle 0x10039cc4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 0
je 0x10039cc4
mov dword [ebp - 0x1a4], 1
jmp 0x10039ccb
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1a4]
je 0x10039ce2
mov dword [ebp - 0x1fc], 1
jmp 0x10039ce9
and dword [ebp - 0x1fc], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x144]
add ecx, dword [ebp - 0x1fc]
cmp ecx, dword [ebp + eax - 0x9c]
jle 0x10039d10
mov dword [ebp - 0x14c], 1
jmp 0x10039d17
and dword [ebp - 0x14c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x14c], eax
jle 0x10039d38
mov dword [ebp - 0x1ac], 1
jmp 0x10039d3f
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2e8]
call fcn.1000fcfc
jmp 0x100399e8
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x358], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x364], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x18], 0x4f5fdfda
jle 0x10039db0
mov dword [ebp - 0x154], 1
jmp 0x10039db7
and dword [ebp - 0x154], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x154], eax
jl 0x10039dd8
mov dword [ebp - 0x1dc], 1
jmp 0x10039ddf
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x18], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 3
mov edx, dword [ebp - 0x18]
add edx, dword [ebp + ecx - 0x9c]
sub edx, dword [ebp + eax - 0x9c]
jne 0x10039e26
cmp dword [ebp - 0x18], 0
jne 0x10039e26
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 0
jne 0x10039e26
and dword [ebp - 0x15c], 0
jmp 0x10039e30
mov dword [ebp - 0x15c], 1
cmp dword [ebp - 0x15c], 0
jl 0x10039e45
mov dword [ebp - 0x1b4], 1
jmp 0x10039e4c
and dword [ebp - 0x1b4], 0
push 4
pop eax
shl eax, 1
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x9c]
add ecx, dword [ebp - 0x1b4]
cmp ecx, dword [ebp + eax - 0x9c]
jl 0x10039e79
mov dword [ebp - 0x164], 1
jmp 0x10039e80
and dword [ebp - 0x164], 0
push 4
pop eax
shl eax, 1
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x9c]
imul ecx, dword [ebp - 0x164]
imul ecx, ecx, 0
cmp ecx, dword [ebp + eax - 0x9c]
jg 0x10039eb1
mov dword [ebp - 0x1f4], 1
jmp 0x10039eb8
and dword [ebp - 0x1f4], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x1f4], eax
jle 0x10039ed9
mov dword [ebp - 0x16c], 1
jmp 0x10039ee0
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x268], eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x2b0]
call fcn.1003aa58
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x24], 0xfffffffd
mov dword [ebp - 0x274], 0xffffffff
mov dword [ebp - 0xa4], 0xaa165420
mov dword [ebp - 0x38], 0x1a969ac5
mov dword [ebp - 0x50], 0x158018d9
mov dword [ebp - 0xbc], 0xffff
mov dword [ebp - 0x1bc], 4
mov dword [ebp - 0x21c], 0x8ef5
mov dword [ebp - 0x20], 0
jmp 0x10039f57
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x10039f6d
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x2dc], 0xffff
jmp 0x10039f50
mov dword [ebp - 0x20], 0
jmp 0x10039f7d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10039f93
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xb8], 0xb7518db0
jmp 0x10039f76
mov dword [ebp - 0x24], 0
jmp 0x10039fa3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x10039fbf
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x2dc]
mov ecx, dword [ebp - 0x24]
mov dword [ebp + ecx*4 - 0x2dc], eax
jmp 0x10039f9c
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2dc]
mov dword [ebp - 0x324], eax
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x1003a05f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
jne 0x1003a000
mov eax, 0xe1b8
test eax, eax
jne 0x1003a000
and dword [ebp - 0x174], 0
jmp 0x1003a00a
mov dword [ebp - 0x174], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2dc]
cmp dword [ebp - 0x174], eax
jge 0x1003a031
cmp dword [ebp - 0x38], 0
je 0x1003a031
mov dword [ebp - 0x1e4], 1
jmp 0x1003a038
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x1e4]
test eax, eax
jne 0x1003a04d
cmp dword [ebp - 0xa4], 0
cmp dword [ebp - 0x50], 0
je 0x1003a05f
mov dword [ebp - 0xe8], 1
jmp 0x1003a066
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0xe8]
imul eax, eax, 0xc19
test eax, eax
jne 0x1003a088
cmp dword [ebp - 0x50], 0
jne 0x1003a088
and dword [ebp - 0xf0], 0
jmp 0x1003a092
mov dword [ebp - 0xf0], 1
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x24]
jg 0x1003a0b8
cmp dword [ebp - 0x38], 0
je 0x1003a0b8
mov dword [ebp - 0x218], 1
jmp 0x1003a0bf
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x354], eax
push 9
pop eax
sub eax, dword [ebp - 0x21c]
imul eax, eax, 0xf322
cmp eax, 0x5063f373
jge 0x1003a0ea
mov dword [ebp - 0xf8], 1
jmp 0x1003a0f1
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0xf8]
je 0x1003a10e
cmp dword [ebp - 0x50], 0
je 0x1003a10e
mov dword [ebp - 0x100], 1
jmp 0x1003a115
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x100], eax
jl 0x1003a138
mov eax, 0x36fe5438
test eax, eax
je 0x1003a138
mov dword [ebp - 0x108], 1
jmp 0x1003a13f
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x108]
jge 0x1003a166
mov dword [ebp - 0x110], 1
jmp 0x1003a16d
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb8]
cmp dword [ebp - 0x110], eax
jge 0x1003a194
cmp dword [ebp - 0xa4], 0
jne 0x1003a194
and dword [ebp - 0x118], 0
jmp 0x1003a19e
mov dword [ebp - 0x118], 1
mov eax, 0x55cc
sub eax, dword [ebp - 0x118]
cmp eax, 0x3aabdc9a
jne 0x1003a1cc
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb8], 0
je 0x1003a1cc
mov dword [ebp - 0x120], 1
jmp 0x1003a1d3
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x120]
cmp eax, 0xfffffffe
jae 0x1003a1ed
mov dword [ebp - 0x128], 1
jmp 0x1003a1f4
and dword [ebp - 0x128], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp + eax - 0xb8], ecx
and dword [ebp - 0x78], 0
jmp 0x1003a21b
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x78], 2
jae 0x1003a5e1
mov dword [ebp - 0x40], 0
push 2
lea ecx, [ebp - 0x208]
call fcn.1000fc7a
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x170], 0x4ec7e318
mov dword [ebp - 0x44], 0
jmp 0x1003a261
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x1003a277
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x380], 0xf5f996f3
jmp 0x1003a25a
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push 1
call fcn.1002f41e
add esp, 0x14
mov dword [ebp - 0x40], 0
jmp 0x1003a2a0
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffe5
jg 0x1003a586
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x1d0], 3
mov dword [ebp - 0x60], 0
jmp 0x1003a2cb
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x1003a2e1
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x224], 0x14b4322e
jmp 0x1003a2c4
cmp dword [ebp - 0x68], 0
jne 0x1003a2f6
cmp dword [ebp - 0x68], 0
jne 0x1003a2f6
and dword [ebp - 0xcc], 0
jmp 0x1003a300
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xcc], eax
jl 0x1003a317
mov dword [ebp - 0x138], 1
jmp 0x1003a31e
and dword [ebp - 0x138], 0
push 1
lea ecx, [ebp - 0x208]
call fcn.1000fd18
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [eax]
jg 0x1003a341
mov dword [ebp - 0x140], 1
jmp 0x1003a348
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0xffffffff
jne 0x1003a35d
mov dword [ebp - 0x148], 1
jmp 0x1003a364
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0x6eb2
jge 0x1003a37c
mov dword [ebp - 0x150], 1
jmp 0x1003a383
and dword [ebp - 0x150], 0
push 0
lea ecx, [ebp - 0x208]
call fcn.1000fd18
mov ecx, dword [ebp - 0x150]
cmp ecx, dword [eax]
jg 0x1003a3a6
mov dword [ebp - 0x158], 1
jmp 0x1003a3ad
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x160], eax
mov esi, dword [ebp - 0x160]
push 1
lea ecx, [ebp - 0x208]
call fcn.1000fd18
cmp esi, dword [eax]
jg 0x1003a3dc
mov dword [ebp - 0x168], 1
jmp 0x1003a3e3
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 1
push 1
lea ecx, [ebp - 0x208]
call fcn.1000fd18
cmp dword [eax], 1
je 0x1003a414
mov dword [ebp - 0x178], 1
jmp 0x1003a41b
and dword [ebp - 0x178], 0
push 1
lea ecx, [ebp - 0x208]
call fcn.1000fd18
mov ecx, dword [ebp - 0x178]
cmp ecx, dword [eax]
jl 0x1003a43e
mov dword [ebp - 0x180], 1
jmp 0x1003a445
and dword [ebp - 0x180], 0
push 1
lea ecx, [ebp - 0x208]
call fcn.1000fd18
mov ecx, dword [ebp - 0x180]
cmp ecx, dword [eax]
jl 0x1003a468
mov dword [ebp - 0x188], 1
jmp 0x1003a46f
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x188], eax
je 0x1003a486
mov dword [ebp - 0x198], 1
jmp 0x1003a48d
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x190], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x190]
mov dword [ebp + eax - 0x380], ecx
mov eax, dword [ebp - 0x190]
add eax, dword [ebp - 0x198]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x1a0], 1
jmp 0x1003a4cb
cmp dword [ebp - 0x1a0], 0
jl 0x1003a4e0
mov dword [ebp - 0x1a8], 1
jmp 0x1003a4e7
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
dec eax
cmp eax, 0x25fa
jge 0x1003a501
mov dword [ebp - 0x1b0], 1
jmp 0x1003a508
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0x2b29
je 0x1003a520
mov dword [ebp - 0x1b8], 1
jmp 0x1003a527
and dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1b8], 0x9dba5c12
jae 0x1003a53f
mov dword [ebp - 0x1c0], 1
jmp 0x1003a546
and dword [ebp - 0x1c0], 0
cmp dword [ebp - 0x1c0], 0xfffffffb
jg 0x1003a55b
mov dword [ebp - 0x1c8], 1
jmp 0x1003a562
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x224], eax
jmp 0x1003a299
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.1000fcfc
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax]
add eax, dword [ebp - 0x70]
xor edx, edx
div dword [0x1061a7d8]
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax]
add eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.1002d7ca
mov ecx, dword [ebp - 0x22c]
add ecx, dword [ebp - 0x78]
mov byte [ecx], al
jmp 0x1003a20d
jmp 0x10039986
mov dword [ebp - 0x234], 0xe77d
mov dword [ebp - 0xe0], 0xffffffff
mov dword [ebp - 0x244], 0x9f196e6c
push 2
lea ecx, [ebp - 0x314]
call fcn.1000fc7a
mov byte [ebp - 4], 0xd
mov dword [ebp - 0xd8], 0x186e
mov dword [ebp - 0x23c], 0xc63b8821
push 0x7aa2
push 1
push 0x7e3
push 0x6278
lea eax, [ebp - 0x314]
push eax
push 1
push 0xbac
push 0
lea eax, [ebp - 0x32c]
push eax
call fcn.10032b6f
add esp, 0x24
push 0xf94
push 0x5f47
push 0
lea eax, [ebp - 0x234]
push eax
push 0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x3199
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.10032cba
add esp, 0x2c
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x314]
call fcn.1000fcfc
lea eax, [ebp - 0x2b0]
push eax
mov ecx, dword [ebp - 0x24c]
call fcn.1003a987
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b0]
call fcn.1003a982
jmp 0x1003a71f
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x25c], eax
push 0x3de2
push dword [ebp - 0x254]
push dword [ebp - 0x25c]
push 0x57db
push 0
call fcn.1002e25c
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret