Function at 0x10038f57
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061f1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x494
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x10038f9e
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10038f9e
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1003299c
pop ecx
pop ecx
jmp 0x1003b1e7
push 1
lea ecx, [ebp - 0x380]
call fcn.100013b5
and dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
jmp 0x10038fbf
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x10038fdb
push dword [ebp - 0x38]
lea ecx, [ebp - 0x380]
call fcn.100013f6
mov dword [eax], 0x1713b910
jmp 0x10038fb8
mov dword [ebp - 0x38], 0
jmp 0x10038feb
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x10038ffe
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x80], 1
jmp 0x10038fe4
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x80], 0
jmp 0x10039023
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x80], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 1
jge 0x1003904d
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x80]
lea ecx, [ebp - 0x380]
call fcn.100013f6
mov dword [eax], 0x9000d4e7
jmp 0x1003900e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x380]
call fcn.100013f1
cmp dword [ebp + 0x10], 0
jne 0x1003a70c
push 2
lea ecx, [ebp - 0x134]
call fcn.100013b5
mov dword [ebp - 4], 1
mov dword [ebp - 0x138], 0xffffffff
mov dword [ebp - 0x144], 0x7a10dd66
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x30], 0
jmp 0x100390a8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x100390c4
push dword [ebp - 0x30]
lea ecx, [ebp - 0x134]
call fcn.100013f6
mov dword [eax], 0x832937a3
jmp 0x100390a1
mov dword [ebp - 0x30], 0
jmp 0x100390d4
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x100390ea
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x3bc], 0xffffffff
jmp 0x100390cd
or eax, 0xffffffff
je 0x10039135
push 0
lea ecx, [ebp - 0x134]
call fcn.100013f6
cmp dword [eax], 1
ja 0x1003910d
mov dword [ebp - 0x1e4], 1
jmp 0x10039114
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x10039135
mov dword [ebp - 0x258], 1
jmp 0x1003913c
and dword [ebp - 0x258], 0
push 1
lea ecx, [ebp - 0x134]
call fcn.100013f6
mov ecx, dword [ebp - 0x258]
cmp ecx, dword [eax]
jge 0x1003915f
mov dword [ebp - 0x260], 1
jmp 0x10039166
and dword [ebp - 0x260], 0
push 0
lea ecx, [ebp - 0x134]
call fcn.100013f6
mov eax, dword [eax]
imul eax, dword [ebp - 0x260]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x284]
jne 0x1003919c
mov dword [ebp - 0x268], 1
jmp 0x100391a3
and dword [ebp - 0x268], 0
push 0
lea ecx, [ebp - 0x134]
call fcn.100013f6
mov esi, dword [ebp - 0x268]
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0x134]
call fcn.100013f6
mov eax, dword [eax]
sub eax, esi
je 0x100391de
push 1
lea ecx, [ebp - 0x134]
call fcn.100013f6
cmp dword [eax], 0
jne 0x10039202
push 1
lea ecx, [ebp - 0x134]
call fcn.100013f6
cmp dword [eax], 0
jne 0x10039202
mov eax, 0x939e63a5
test eax, eax
jne 0x10039202
and dword [ebp - 0x280], 0
jmp 0x1003920c
mov dword [ebp - 0x280], 1
mov eax, dword [ebp - 0x280]
add eax, 0xfff7
je 0x1003922e
cmp dword [ebp - 0x138], 0
je 0x1003922e
mov dword [ebp - 0x2fc], 1
jmp 0x10039235
and dword [ebp - 0x2fc], 0
push 1
lea ecx, [ebp - 0x134]
call fcn.100013f6
mov eax, dword [ebp - 0x284]
sub eax, 0xffff
cmp eax, 1
jne 0x1003925e
mov dword [ebp - 0x238], 1
jmp 0x10039265
and dword [ebp - 0x238], 0
push 1
lea ecx, [ebp - 0x134]
call fcn.100013f6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x238]
jg 0x1003928e
cmp dword [ebp - 0x144], 0
jne 0x1003928e
and dword [ebp - 0x174], 0
jmp 0x10039298
mov dword [ebp - 0x174], 1
push 1
lea ecx, [ebp - 0x134]
call fcn.100013f6
mov ecx, dword [ebp - 0x174]
cmp ecx, dword [eax]
jg 0x100392c1
mov eax, 0xffff
test eax, eax
jne 0x100392c1
and dword [ebp - 0x14c], 0
jmp 0x100392cb
mov dword [ebp - 0x14c], 1
push 0
lea ecx, [ebp - 0x134]
call fcn.100013f6
mov ecx, dword [ebp - 0x14c]
mov dword [eax], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x14c]
mov dword [ebp + eax - 0x3bc], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.100013f1
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1002bafd
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x154], 0xf57a7c20
push 2
lea ecx, [ebp - 0x290]
call fcn.100013b5
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x330], 0xb101eb64
mov dword [ebp - 0x2cc], 9
mov dword [ebp - 0x1c], 0
jmp 0x1003935f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10039375
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x244], 3
jmp 0x10039358
mov dword [ebp - 0x1c], 0
jmp 0x10039385
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1003939b
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x278], 0x7f5ed9a9
jmp 0x1003937e
mov dword [ebp - 0x1c], 0
jmp 0x100393ab
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100393c7
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x290]
call fcn.100013f6
mov dword [eax], 0xffff
jmp 0x100393a4
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x244]
mov dword [ebp - 0x154], eax
push 0
lea ecx, [ebp - 0x290]
call fcn.100013f6
cmp dword [eax], 1
jne 0x100393f8
mov dword [ebp - 0x204], 1
jmp 0x100393ff
and dword [ebp - 0x204], 0
cmp dword [ebp - 0x204], 0xfffffffa
je 0x10039414
mov dword [ebp - 0x17c], 1
jmp 0x1003941b
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 0xc27f355c
jb 0x10039433
mov dword [ebp - 0x254], 1
jmp 0x1003943a
and dword [ebp - 0x254], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x244]
cmp eax, dword [ebp - 0x254]
je 0x10039471
cmp dword [ebp - 0x330], 0
jne 0x10039471
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x244], 0
jne 0x10039471
and dword [ebp - 0x184], 0
jmp 0x1003947b
mov dword [ebp - 0x184], 1
push 1
lea ecx, [ebp - 0x290]
call fcn.100013f6
mov ecx, dword [ebp - 0x184]
cmp ecx, dword [eax]
jg 0x1003949e
mov dword [ebp - 0x20c], 1
jmp 0x100394a5
and dword [ebp - 0x20c], 0
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x278]
push 0
lea ecx, [ebp - 0x290]
call fcn.100013f6
mov ecx, dword [ebp - 0x20c]
sub ecx, dword [eax]
imul ecx, esi
cmp ecx, 5
je 0x100394db
mov dword [ebp - 0x18c], 1
jmp 0x100394e2
and dword [ebp - 0x18c], 0
push 0
lea ecx, [ebp - 0x290]
call fcn.100013f6
mov ecx, dword [ebp - 0x18c]
cmp ecx, dword [eax]
je 0x10039505
mov dword [ebp - 0x194], 1
jmp 0x1003950c
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x278]
mov dword [ebp - 0x154], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x154]
sub ecx, dword [ebp - 0x194]
cmp ecx, dword [ebp + eax - 0x244]
jne 0x10039546
mov dword [ebp - 0x214], 1
jmp 0x1003954d
and dword [ebp - 0x214], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x244]
add eax, dword [ebp - 0x214]
mov dword [ebp - 0x2cc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x290]
call fcn.100013f1
mov dword [ebp - 0x34], 0x9351f200
mov dword [ebp - 0x19c], 0x2f88d967
mov dword [ebp - 0x15c], 0x1ae9a07b
mov dword [ebp - 0xcc], 0xd177cce4
push 2
lea ecx, [ebp - 0x308]
call fcn.100013b5
mov dword [ebp - 4], 3
push 3
lea ecx, [ebp - 0x354]
call fcn.100013b5
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0
jmp 0x100395cf
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x100395eb
push dword [ebp - 0x20]
lea ecx, [ebp - 0x308]
call fcn.100013f6
mov dword [eax], 0xbebf0a0c
jmp 0x100395c8
mov dword [ebp - 0x20], 0
jmp 0x100395fb
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x10039611
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x398], 0xffffffff
jmp 0x100395f4
mov dword [ebp - 0x20], 0
jmp 0x10039621
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1003963d
push dword [ebp - 0x20]
lea ecx, [ebp - 0x354]
call fcn.100013f6
mov dword [eax], 0x467468e5
jmp 0x1003961a
mov dword [ebp - 0x19c], 1
cmp dword [ebp - 0x19c], 0xffffffff
je 0x1003965c
mov dword [ebp - 0x25c], 1
jmp 0x10039663
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x25c], eax
je 0x1003967a
mov dword [ebp - 0x1a4], 1
jmp 0x10039681
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x3e4], eax
mov eax, 0xb50f
cmp eax, 0x34c2
jg 0x100396b1
mov dword [ebp - 0x21c], 1
jmp 0x100396b8
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x21c]
je 0x100396cf
mov dword [ebp - 0x1ac], 1
jmp 0x100396d6
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 0
jne 0x100396f1
cmp dword [ebp - 0x15c], 0
jne 0x100396f1
and dword [ebp - 0x270], 0
jmp 0x100396fb
mov dword [ebp - 0x270], 1
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x270], eax
jne 0x10039712
mov dword [ebp - 0x1b4], 1
jmp 0x10039719
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x1b4]
imul ecx, dword [ebp - 0x34], 0xecc2
cmp ecx, eax
je 0x10039739
mov dword [ebp - 0x224], 1
jmp 0x10039740
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x34]
jne 0x10039763
mov dword [ebp - 0x11c], 1
jmp 0x1003976a
and dword [ebp - 0x11c], 0
push 1
lea ecx, [ebp - 0x308]
call fcn.100013f6
mov ecx, dword [ebp - 0x11c]
mov dword [eax], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x11c]
mov dword [ebp + eax - 0x398], ecx
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x11c], eax
jge 0x100397bc
xor eax, eax
jne 0x100397bc
push 1
lea ecx, [ebp - 0x308]
call fcn.100013f6
cmp dword [eax], 0
jne 0x100397bc
and dword [ebp - 0x1bc], 0
jmp 0x100397c6
mov dword [ebp - 0x1bc], 1
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x1bc]
jne 0x100397dd
mov dword [ebp - 0x264], 1
jmp 0x100397e4
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x264]
add eax, 0x344db524
jne 0x100397f9
xor eax, eax
je 0x100399b6
push 3
lea ecx, [ebp - 0x29c]
call fcn.100013b5
mov byte [ebp - 4], 5
mov dword [ebp - 0x2d8], 0xdd7d552b
mov dword [ebp - 0x100], 0
jmp 0x1003982d
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 3
jge 0x1003984f
push dword [ebp - 0x100]
lea ecx, [ebp - 0x29c]
call fcn.100013f6
mov dword [eax], 9
jmp 0x10039820
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x398], 1
jg 0x1003986b
mov dword [ebp - 0x1cc], 1
jmp 0x10039872
and dword [ebp - 0x1cc], 0
push 1
lea ecx, [ebp - 0x29c]
call fcn.100013f6
cmp dword [eax], 0
je 0x100398a2
push 2
lea ecx, [ebp - 0x29c]
call fcn.100013f6
cmp dword [eax], 0
je 0x100398a2
mov dword [ebp - 0x1c4], 1
jmp 0x100398a9
and dword [ebp - 0x1c4], 0
push 2
lea ecx, [ebp - 0x29c]
call fcn.100013f6
mov ecx, dword [ebp - 0x1c4]
imul ecx, dword [eax]
cmp ecx, 0x1aaf1919
je 0x100398d3
mov dword [ebp - 0x2d0], 1
jmp 0x100398da
and dword [ebp - 0x2d0], 0
push 2
lea ecx, [ebp - 0x29c]
call fcn.100013f6
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3d0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x398]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0xcc], 0xeb
jg 0x1003991b
mov dword [ebp - 0x22c], 1
jmp 0x10039922
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x22c]
neg eax
je 0x10039939
push 0
lea ecx, [ebp - 0x354]
call fcn.100013f6
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x1cc], eax
jle 0x10039953
mov dword [ebp - 0x274], 1
jmp 0x1003995a
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x2d8]
cmp dword [ebp - 0x274], eax
je 0x10039974
mov dword [ebp - 0x140], 1
jmp 0x1003997b
and dword [ebp - 0x140], 0
push 0
lea ecx, [ebp - 0x354]
call fcn.100013f6
mov ecx, dword [ebp - 0x140]
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x308]
call fcn.100013f6
mov ecx, dword [ebp - 0x140]
mov dword [eax], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
call fcn.100013f1
jmp 0x100399cd
mov byte [ebp - 0x60], 0
movzx eax, byte [ebp - 0x60]
test eax, eax
je 0x100399cd
push 0x2534
call dword [sym.imp.USER32.dll_IsWindow]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x354]
call fcn.100013f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x308]
call fcn.100013f1
mov dword [ebp - 0xd8], 0xb26bdde0
mov dword [ebp - 0x104], 0
jmp 0x10039a0e
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 4
jge 0x10039a2a
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x424], 3
jmp 0x10039a01
mov dword [ebp - 0xd8], 0xffffffea
jmp 0x10039a43
mov eax, dword [ebp - 0xd8]
dec eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0xffffffe3
jge 0x10039b93
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x3c], 0
jmp 0x10039a67
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x19
jle 0x10039a98
mov dword [ebp - 0x1d4], 0xe5a60d00
mov dword [ebp - 0x2e0], 0x3e8e1b88
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x2e0], eax
jmp 0x10039a60
mov dword [ebp - 0x3c], 3
jmp 0x10039aa8
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10039b8e
mov dword [ebp - 0x368], 0xfffffff7
mov dword [ebp - 0x364], 0xfffffff7
mov dword [ebp - 0x360], 0xfffffff7
mov dword [ebp - 0x35c], 0xfffffff7
lea ecx, [ebp - 0x161]
call fcn.100015bf
push eax
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x45c]
call fcn.10010eae
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x31c]
call fcn.10010e88
mov dword [ebp - 4], 6
push 3
lea ecx, [ebp - 0x31c]
call fcn.100013f6
and dword [eax], 0
jmp 0x10039b4c
push 3
lea ecx, [ebp - 0x31c]
call fcn.100013f6
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x31c]
call fcn.100013f6
cmp dword [eax], 4
jge 0x10039b7a
push 3
lea ecx, [ebp - 0x31c]
call fcn.100013f6
mov eax, dword [eax]
mov dword [ebp + eax*4 - 0x424], 0
jmp 0x10039b28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31c]
call fcn.100013f1
jmp 0x10039aa1
jmp 0x10039a36
cmp dword [0x1007e778], 0
jne 0x1003a692
mov dword [ebp - 0x2e8], 0x714a0256
push 2
lea ecx, [ebp - 0x374]
call fcn.100013b5
mov dword [ebp - 4], 7
mov dword [ebp - 0x10c], 0
jmp 0x10039bd7
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 2
jge 0x10039bf6
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x374]
call fcn.100013f6
and dword [eax], 0
jmp 0x10039bca
mov esi, dword [ebp - 0x2e8]
push 1
lea ecx, [ebp - 0x374]
call fcn.100013f6
mov dword [eax], esi
mov byte [ebp - 0x5f], 0
movzx eax, byte [ebp - 0x5f]
test eax, eax
je 0x10039c1f
push 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x374]
call fcn.100013f1
mov dword [ebp - 0x2f0], 0xe52b
lea eax, [ebp - 0x2f0]
push eax
call fcn.10032961
pop ecx
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x64], 0x7f6af112
mov dword [ebp - 0x108], 0xd5467356
mov dword [ebp - 0x78], 0xdedfc3e8
mov dword [ebp - 0x3dc], 0x2046130
mov dword [ebp - 0x64], 0xfffffff5
jmp 0x10039c7d
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffffe
jg 0x1003a062
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x33c], 8
mov dword [ebp - 0x1fc], 0xffffffff
mov dword [ebp - 0x114], 0
jmp 0x10039cc8
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 4
jge 0x10039ce4
mov eax, dword [ebp - 0x114]
mov dword [ebp + eax*4 - 0x3ac], 7
jmp 0x10039cbb
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
je 0x10039d0e
cmp dword [ebp - 0x8c], 0
je 0x10039d0e
mov dword [ebp - 0x26c], 1
jmp 0x10039d15
and dword [ebp - 0x26c], 0
cmp dword [ebp - 0x26c], 0xec326874
jbe 0x10039d2d
mov dword [ebp - 0x168], 1
jmp 0x10039d34
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
sub eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x64]
je 0x10039d4e
mov dword [ebp - 0x23c], 1
jmp 0x10039d55
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x23c]
add eax, 0x36c33dac
imul eax, eax, 0x78d8
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x10039d87
mov eax, 0xb349
test eax, eax
jne 0x10039d87
and dword [ebp - 0x1ec], 0
jmp 0x10039d91
mov dword [ebp - 0x1ec], 1
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x78]
jne 0x10039e1e
mov dword [ebp - 0x2f8], 0x8376
mov dword [ebp - 0x3e0], 0xfffffff8
mov dword [ebp - 0x39c], 0x8880d0e
cmp dword [ebp - 0x2f8], 0
je 0x10039dde
cmp dword [ebp - 0x78], 0
je 0x10039dde
mov dword [ebp - 0x27c], 1
jmp 0x10039de5
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x33c]
cmp eax, dword [ebp - 0x27c]
jle 0x10039dff
mov dword [ebp - 0x1f4], 1
jmp 0x10039e06
and dword [ebp - 0x1f4], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp + eax - 0x3ac], ecx
jmp 0x10039fb4
mov dword [ebp - 0x248], 0x79bd
mov dword [ebp - 0x328], str.wpt_fwpxcegr_jzatfst_ciptcms_ygyeenne_efiit
cmp dword [ebp - 0x248], 0x7b03
jle 0x10039f5b
and dword [ebp - 0x110], 0
jmp 0x10039e58
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x7a62
jge 0x10039f4b
and dword [ebp - 0xf0], 0
jmp 0x10039e7e
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x3f56
jge 0x10039f46
and dword [ebp - 0xe4], 0
jmp 0x10039ea4
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x37d4
jge 0x10039f41
and dword [ebp - 0xe8], 0
jmp 0x10039eca
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x727f
jge 0x10039f3c
mov eax, dword [ebp - 0xe4]
cdq
idiv dword [ebp - 0xe8]
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0xf0]
xor eax, edx
cdq
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x340], edx
push dword [ebp - 0x340]
push dword [ebp - 0x344]
lea ecx, [ebp - 0x48c]
call fcn.10001311
pop ecx
pop ecx
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
call fcn.100013aa
push eax
call fcn.10048d40
pop ecx
lea ecx, [ebp - 0x48c]
call fcn.100013a0
jmp 0x10039ebd
jmp 0x10039e97
jmp 0x10039e71
jmp 0x10039e4b
push 0x1e0
push 0xb34
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov byte [ebp - 0x5e], 0
mov dword [ebp - 4], 8
cmp dword [ebp - 0x248], 0x795e
jge 0x10039f7e
push dword [ebp - 0x328]
call fcn.10048d40
pop ecx
jmp 0x10039f9a
or dword [ebp - 4], 0xffffffff
jmp 0x10039fa4
movzx eax, byte [ebp - 0x5e]
test eax, eax
je 0x10039fb4
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 0x1fc], 0xfffffff7
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0xdb07
jg 0x10039ff5
mov dword [ebp - 0x16c], 1
jmp 0x10039ffc
and dword [ebp - 0x16c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x3ac]
add eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x78]
sub ecx, eax
cmp ecx, 0xfffffff6
jne 0x1003a025
mov dword [ebp - 0x170], 1
jmp 0x1003a02c
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x170], eax
jge 0x1003a043
mov dword [ebp - 0x178], 1
jmp 0x1003a04a
and dword [ebp - 0x178], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x178]
mov dword [ebp + eax - 0x3ac], ecx
jmp 0x10039c76
mov byte [ebp - 0xa8], 0
mov byte [ebp - 0xa7], 0x8b
mov byte [ebp - 0xa6], 1
mov byte [ebp - 0xa5], 0x1e
mov byte [ebp - 0xa4], 4
mov byte [ebp - 0xa3], 0x22
mov byte [ebp - 0xa2], 0xb
mov byte [ebp - 0xa1], 0x1d
mov byte [ebp - 0xa0], 9
mov byte [ebp - 0x9f], 0x16
mov byte [ebp - 0x9e], 8
mov byte [ebp - 0x9d], 1
mov byte [ebp - 0x9c], 5
mov byte [ebp - 0x9b], 0x1d
mov byte [ebp - 0x9a], 1
mov byte [ebp - 0x99], 0x17
mov byte [ebp - 0x98], 7
mov byte [ebp - 0x97], 0xc
mov byte [ebp - 0x96], 2
mov byte [ebp - 0x95], 0x1d
mov byte [ebp - 0x94], 6
mov byte [ebp - 0x93], 7
mov byte [ebp - 0x92], 0xa
mov byte [ebp - 0x91], 0x36
mov byte [ebp - 0x90], 0xc
mov byte [ebp - 0x8f], 0x12
mov byte [ebp - 0x8e], 3
mov byte [ebp - 0x8d], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xa8]
and eax, 0xcc
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xa8]
or ecx, 0xcc
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa8]
mov byte [ebp + eax - 0x2b8], cl
mov dword [ebp - 0x18], 2
and dword [ebp - 0x84], 0
jmp 0x1003a17c
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1c
jae 0x1003a372
mov dword [ebp - 0x180], 0x789b
mov dword [ebp - 0x2d4], str.kmq_wnmeg_tlpnn
cmp dword [ebp - 0x180], 0x7946
jle 0x1003a252
and dword [ebp - 0xe0], 0
jmp 0x1003a1c0
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x460c
jge 0x1003a252
and dword [ebp - 0xf8], 0
jmp 0x1003a1e6
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x3bc0
jge 0x1003a24d
and dword [ebp - 0x118], 0
jmp 0x1003a208
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x6b8b
jge 0x1003a24b
mov eax, dword [ebp - 0xf8]
add eax, dword [ebp - 0x118]
and eax, dword [ebp - 0xe0]
cdq
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], edx
push dword [ebp - 0x30c]
push dword [ebp - 0x310]
mov ecx, 0x1007cb18
call fcn.10010bb7
jmp 0x1003a1fb
jmp 0x1003a1d9
jmp 0x1003a1b3
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1003a295
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xa8]
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xa8]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1003a174
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x180], 0x7666
jge 0x1003a2b8
mov edx, dword [ebp - 0x2d4]
mov ecx, 0x1007cb18
call fcn.100134d2
jmp 0x1003a2d4
or dword [ebp - 4], 0xffffffff
jmp 0x1003a2de
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x84]
movzx eax, byte [ebp + eax - 0xaa]
movsx eax, byte [ebp + eax - 0x2b8]
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xa7]
and ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x84]
movzx eax, byte [ebp + eax - 0xaa]
movsx eax, byte [ebp + eax - 0x2b8]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0xa7]
and edx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x84]
movzx eax, byte [ebp + eax - 0xaa]
movsx eax, byte [ebp + eax - 0x2b8]
mov esi, dword [ebp - 0x18]
movzx ebx, byte [ebp + esi - 0xa7]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xa8]
mov byte [ebp + eax - 0x2b8], bl
and dword [ebp - 0x84], 0
jmp 0x1003a174
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x2b8], 0
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x474]
call fcn.1003ed11
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x320], eax
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x320]
call fcn.1002bafd
mov dword [0x1007e778], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x474]
call fcn.10010df5
and dword [ebp - 0xdc], 0
jmp 0x1003a3e6
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0xe
jae 0x1003a3ff
mov eax, dword [ebp - 0xdc]
mov byte [ebp + eax - 0x2b8], 0
jmp 0x1003a3d9
mov byte [ebp - 0xc8], 4
mov byte [ebp - 0xc7], 0xf5
mov byte [ebp - 0xc6], 0
mov byte [ebp - 0xc5], 0x37
mov byte [ebp - 0xc4], 7
mov byte [ebp - 0xc3], 0x31
mov byte [ebp - 0xc2], 0xa
mov byte [ebp - 0xc1], 0x17
mov byte [ebp - 0xc0], 0xd
mov byte [ebp - 0xbf], 0x32
mov byte [ebp - 0xbe], 1
mov byte [ebp - 0xbd], 0xc5
mov byte [ebp - 0xbc], 8
mov byte [ebp - 0xbb], 0x38
mov byte [ebp - 0xba], 5
mov byte [ebp - 0xb9], 0xa
mov byte [ebp - 0xb8], 2
mov byte [ebp - 0xb7], 0
mov byte [ebp - 0xb6], 6
mov byte [ebp - 0xb5], 0x35
mov byte [ebp - 0xb4], 0xc
mov byte [ebp - 0xb3], 0x23
mov byte [ebp - 0xb2], 3
mov byte [ebp - 0xb1], 0x12
mov byte [ebp - 0xb0], 0xb
mov byte [ebp - 0xaf], 0x12
mov byte [ebp - 0xae], 9
mov byte [ebp - 0xad], 0x10
mov byte [ebp - 0xac], 1
mov byte [ebp - 0xab], 0x11
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xc8]
and eax, 0x81
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xc8]
or ecx, 0x81
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xc8]
mov byte [ebp + eax - 0x2c8], cl
mov dword [ebp - 0x14], 2
and dword [ebp - 0x88], 0
jmp 0x1003a527
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1e
jae 0x1003a605
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xc8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1003a571
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc8]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc8]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1003a51f
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0xca]
movsx eax, byte [ebp + eax - 0x2c8]
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc7]
and ecx, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0xca]
movsx eax, byte [ebp + eax - 0x2c8]
mov edx, dword [ebp - 0x14]
movzx edx, byte [ebp + edx - 0xc7]
and edx, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0xca]
movsx eax, byte [ebp + eax - 0x2c8]
mov esi, dword [ebp - 0x14]
movzx ebx, byte [ebp + esi - 0xc7]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc8]
mov byte [ebp + eax - 0x2c8], bl
and dword [ebp - 0x88], 0
jmp 0x1003a51f
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x2c8], 0
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.1003ed11
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x32c], eax
mov dword [ebp - 4], 0xd
mov edx, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x32c]
call fcn.1002bafd
mov dword [0x1007e89c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a4]
call fcn.10010df5
and dword [ebp - 0xec], 0
jmp 0x1003a679
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0xf
jae 0x1003a692
mov eax, dword [ebp - 0xec]
mov byte [ebp + eax - 0x2c8], 0
jmp 0x1003a66c
mov dword [ebp - 0x3b0], 0
mov byte [ebp - 0x55], 0
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x1003a6bf
push 0
push 0x1ec0
push 0x1cb8
push 0x911
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
mov byte [ebp - 0x5d], 0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x1003a6da
push 0x1f37
push 0x2a
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [0x1007e778]
cmp eax, dword [ebp - 0xfc]
je 0x1003a6f4
mov eax, dword [0x1007e89c]
cmp eax, dword [ebp - 0xfc]
jne 0x1003a70c
mov ecx, dword [ebp + 0xc]
call fcn.100013aa
push eax
push dword [ebp + 8]
call fcn.1003299c
pop ecx
pop ecx
jmp 0x1003b1e7
push 2
lea ecx, [ebp - 0x128]
call fcn.100013b5
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x160], 0xffffffff
mov dword [ebp - 0x148], 0x7a10dd66
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x2c], 0
jmp 0x1003a74e
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1003a76a
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x128]
call fcn.100013f6
mov dword [eax], 0x832937a3
jmp 0x1003a747
mov dword [ebp - 0x2c], 0
jmp 0x1003a77a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1003a790
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x388], 0xffffffff
jmp 0x1003a773
or eax, 0xffffffff
je 0x1003a7db
push 0
lea ecx, [ebp - 0x128]
call fcn.100013f6
cmp dword [eax], 1
ja 0x1003a7b3
mov dword [ebp - 0x190], 1
jmp 0x1003a7ba
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
je 0x1003a7db
mov dword [ebp - 0x198], 1
jmp 0x1003a7e2
and dword [ebp - 0x198], 0
push 1
lea ecx, [ebp - 0x128]
call fcn.100013f6
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [eax]
jge 0x1003a805
mov dword [ebp - 0x1a0], 1
jmp 0x1003a80c
and dword [ebp - 0x1a0], 0
push 0
lea ecx, [ebp - 0x128]
call fcn.100013f6
mov eax, dword [eax]
imul eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
cmp eax, dword [ebp - 0x1b8]
jne 0x1003a842
mov dword [ebp - 0x1a8], 1
jmp 0x1003a849
and dword [ebp - 0x1a8], 0
push 0
lea ecx, [ebp - 0x128]
call fcn.100013f6
mov esi, dword [ebp - 0x1a8]
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0x128]
call fcn.100013f6
mov eax, dword [eax]
sub eax, esi
je 0x1003a884
push 1
lea ecx, [ebp - 0x128]
call fcn.100013f6
cmp dword [eax], 0
jne 0x1003a8a8
push 1
lea ecx, [ebp - 0x128]
call fcn.100013f6
cmp dword [eax], 0
jne 0x1003a8a8
mov eax, 0x939e63a5
test eax, eax
jne 0x1003a8a8
and dword [ebp - 0x1b0], 0
jmp 0x1003a8b2
mov dword [ebp - 0x1b0], 1
mov eax, dword [ebp - 0x1b0]
add eax, 0xfff7
je 0x1003a8d4
cmp dword [ebp - 0x160], 0
je 0x1003a8d4
mov dword [ebp - 0x2e4], 1
jmp 0x1003a8db
and dword [ebp - 0x2e4], 0
push 1
lea ecx, [ebp - 0x128]
call fcn.100013f6
mov eax, dword [ebp - 0x1b8]
sub eax, 0xffff
cmp eax, 1
jne 0x1003a904
mov dword [ebp - 0x1c0], 1
jmp 0x1003a90b
and dword [ebp - 0x1c0], 0
push 1
lea ecx, [ebp - 0x128]
call fcn.100013f6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c0]
jg 0x1003a934
cmp dword [ebp - 0x148], 0
jne 0x1003a934
and dword [ebp - 0x1c8], 0
jmp 0x1003a93e
mov dword [ebp - 0x1c8], 1
push 1
lea ecx, [ebp - 0x128]
call fcn.100013f6
mov ecx, dword [ebp - 0x1c8]
cmp ecx, dword [eax]
jg 0x1003a967
mov eax, 0xffff
test eax, eax
jne 0x1003a967
and dword [ebp - 0x158], 0
jmp 0x1003a971
mov dword [ebp - 0x158], 1
push 0
lea ecx, [ebp - 0x128]
call fcn.100013f6
mov ecx, dword [ebp - 0x158]
mov dword [eax], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x158]
mov dword [ebp + eax - 0x388], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.100013f1
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x150], 0xf57a7c20
push 2
lea ecx, [ebp - 0x2a8]
call fcn.100013b5
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x334], 0xb101eb64
mov dword [ebp - 0x2ec], 9
mov dword [ebp - 0x24], 0
jmp 0x1003a9fd
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1003aa13
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x250], 3
jmp 0x1003a9f6
mov dword [ebp - 0x24], 0
jmp 0x1003aa23
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1003aa39
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x200], 0x7f5ed9a9
jmp 0x1003aa1c
mov dword [ebp - 0x24], 0
jmp 0x1003aa49
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1003aa65
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2a8]
call fcn.100013f6
mov dword [eax], 0xffff
jmp 0x1003aa42
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x250]
mov dword [ebp - 0x150], eax
push 0
lea ecx, [ebp - 0x2a8]
call fcn.100013f6
cmp dword [eax], 1
jne 0x1003aa96
mov dword [ebp - 0x1d0], 1
jmp 0x1003aa9d
and dword [ebp - 0x1d0], 0
cmp dword [ebp - 0x1d0], 0xfffffffa
je 0x1003aab2
mov dword [ebp - 0x1d8], 1
jmp 0x1003aab9
and dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x1d8], 0xc27f355c
jb 0x1003aad1
mov dword [ebp - 0x1e0], 1
jmp 0x1003aad8
and dword [ebp - 0x1e0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x250]
cmp eax, dword [ebp - 0x1e0]
je 0x1003ab0f
cmp dword [ebp - 0x334], 0
jne 0x1003ab0f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x250], 0
jne 0x1003ab0f
and dword [ebp - 0x1e8], 0
jmp 0x1003ab19
mov dword [ebp - 0x1e8], 1
push 1
lea ecx, [ebp - 0x2a8]
call fcn.100013f6
mov ecx, dword [ebp - 0x1e8]
cmp ecx, dword [eax]
jg 0x1003ab3c
mov dword [ebp - 0x1f0], 1
jmp 0x1003ab43
and dword [ebp - 0x1f0], 0
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x200]
push 0
lea ecx, [ebp - 0x2a8]
call fcn.100013f6
mov ecx, dword [ebp - 0x1f0]
sub ecx, dword [eax]
imul ecx, esi
cmp ecx, 5
je 0x1003ab79
mov dword [ebp - 0x1f8], 1
jmp 0x1003ab80
and dword [ebp - 0x1f8], 0
push 0
lea ecx, [ebp - 0x2a8]
call fcn.100013f6
mov ecx, dword [ebp - 0x1f8]
cmp ecx, dword [eax]
je 0x1003aba3
mov dword [ebp - 0x208], 1
jmp 0x1003abaa
and dword [ebp - 0x208], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x200]
mov dword [ebp - 0x150], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x150]
sub ecx, dword [ebp - 0x208]
cmp ecx, dword [ebp + eax - 0x250]
jne 0x1003abe4
mov dword [ebp - 0x210], 1
jmp 0x1003abeb
and dword [ebp - 0x210], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x250]
add eax, dword [ebp - 0x210]
mov dword [ebp - 0x2ec], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.100013f1
cmp dword [ebp - 0xf4], 0
je 0x1003b1e5
mov eax, dword [ebp - 0xf4]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1003b1e5
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 0x4550
jne 0x1003b1e5
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x74], 0
jbe 0x1003b1e5
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + eax + 0x78], 0
je 0x1003b1e5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x68]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x48], edx
mov eax, 0xffff
mov word [ebp - 0x40], ax
or dword [ebp - 0x74], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x1003acba
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1003acb5
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x40], ax
jmp 0x1003ae56
mov eax, dword [0x1007e924]
and eax, 1
jne 0x1003acf1
mov eax, dword [0x1007e924]
or eax, 1
mov dword [0x1007e924], eax
mov dword [ebp - 4], 0x10
mov ecx, 0x1007e874
call fcn.10011140
push 0x100624f5
call fcn.10048d16
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1007e76c]
test eax, eax
je 0x1003ad5a
mov ecx, 0x1007e874
call fcn.1003edf6
movzx eax, al
test eax, eax
jne 0x1003ad5a
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1007e874
call fcn.10010f87
lea eax, [ebp - 0x3d4]
push eax
mov ecx, 0x1007e874
call fcn.10010f79
push eax
lea ecx, [ebp - 0x218]
call fcn.10010f9c
movzx eax, al
test eax, eax
je 0x1003ad5a
lea ecx, [ebp - 0x218]
call fcn.1003edff
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
jne 0x1003ae56
mov ecx, 0x1007e874
call fcn.1003ee43
mov ecx, dword [ebp - 0x48]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1007e874
call fcn.1003ee47
and dword [ebp - 0x70], 0
jmp 0x1003ad8c
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [eax + 0x18]
jae 0x1003ae56
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x68]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x70]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x1003ae51
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x68]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x454]
call fcn.1003ed11
mov dword [ebp - 4], 0x11
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x454]
call fcn.1002bafd
mov dword [ebp - 0x228], eax
movzx eax, byte [0x1007e76c]
test eax, eax
je 0x1003ae0b
mov ecx, 0x1007e874
call fcn.1003edf6
movzx eax, al
test eax, eax
jne 0x1003ae28
lea eax, [ebp - 0x228]
push eax
mov ecx, 0x1007e874
call fcn.1003ee05
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
mov byte [0x1007e76c], 1
cmp dword [ebp - 0x74], 0xffffffff
jne 0x1003ae42
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0xfc]
jne 0x1003ae42
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.10010df5
jmp 0x1003ad85
cmp dword [ebp + 0x10], 0
jne 0x1003ae76
cmp dword [ebp - 0x74], 0xffffffff
je 0x1003ae76
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x68]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x74]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x40], ax
movzx eax, word [ebp - 0x40]
cmp eax, 0xffff
je 0x1003b1e5
movzx eax, word [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x68]
add edx, dword [ecx + 0x1c]
lea eax, [edx + eax*4]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x68]
add ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jbe 0x1003b1e0
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x48]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x44], edx
jae 0x1003b1e0
mov eax, dword [0x1007e924]
and eax, 2
jne 0x1003af00
mov eax, dword [0x1007e924]
or eax, 2
mov dword [0x1007e924], eax
mov dword [ebp - 4], 0x12
push 0x6833
call fcn.100074eb
pop ecx
mov byte [0x1007e904], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0xab
mov byte [ebp - 0x52], 3
mov byte [ebp - 0x51], 3
mov byte [ebp - 0x50], 0x15
mov byte [ebp - 0x4f], 0x89
mov byte [ebp - 0x4e], 2
mov byte [ebp - 0x4d], 8
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x54]
and eax, 0xcf
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x54]
or ecx, 0xcf
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x54]
mov byte [ebp + eax - 0x6c], cl
mov dword [ebp - 0x28], 2
and dword [ebp - 0xd0], 0
jmp 0x1003af72
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xa
jae 0x1003b007
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x54]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1003afb3
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x54]
inc eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x54]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1003af6a
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0xd0]
movzx eax, byte [ebp + eax - 0x56]
movsx eax, byte [ebp + eax - 0x6c]
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x53]
and ecx, eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0xd0]
movzx eax, byte [ebp + eax - 0x56]
movsx eax, byte [ebp + eax - 0x6c]
mov edx, dword [ebp - 0x28]
movzx edx, byte [ebp + edx - 0x53]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x54]
mov byte [ebp + eax - 0x6c], dl
and dword [ebp - 0xd0], 0
jmp 0x1003af6a
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x6c], 0
mov eax, dword [0x1007e924]
and eax, 4
jne 0x1003b04d
mov eax, dword [0x1007e924]
or eax, 4
mov dword [0x1007e924], eax
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x1007e90c
call fcn.1003ed11
push 0x100624e6
call fcn.10048d16
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0xd4], 0
jmp 0x1003b063
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 4
jae 0x1003b079
mov eax, dword [ebp - 0xd4]
mov byte [ebp + eax - 0x6c], 0
jmp 0x1003b056
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
movsx eax, byte [0x1007e904]
mov ecx, dword [ebp - 0x5c]
movsx ecx, byte [ecx]
cmp ecx, eax
je 0x1003b099
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
jmp 0x1003b07f
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x3fc]
call fcn.1003f338
mov dword [ebp - 4], 0x14
push 0x1007e90c
lea ecx, [ebp - 0x3fc]
call fcn.1003ed40
lea eax, [ebp - 0x3c0]
push eax
lea ecx, [ebp - 0x3fc]
call fcn.10011771
push dword [eax]
lea eax, [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x3fc]
call fcn.1001175d
push dword [eax]
lea ecx, [ebp - 0x43c]
call fcn.1003f361
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x43c]
push eax
call fcn.1002cedf
pop ecx
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x1003b18f
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x414]
call fcn.1003ed11
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x2f4]
lea ecx, [ebp - 0x414]
call fcn.1002bbef
movzx eax, al
test eax, eax
je 0x1003b162
push 0
push dword [ebp - 0x2f4]
push 0
push dword [ebp - 0x13c]
call fcn.10038f57
add esp, 0x10
mov dword [ebp - 0x44], eax
jmp 0x1003b17e
push 1
push 0
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x13c]
call fcn.10038f57
add esp, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x414]
call fcn.10010df5
jmp 0x1003b1c2
cmp dword [ebp + 0x10], 0
jne 0x1003b1a5
mov ecx, dword [ebp + 0xc]
call fcn.100013aa
mov dword [ebp - 0x230], eax
jmp 0x1003b1af
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x230], eax
push dword [ebp - 0x230]
push dword [ebp + 8]
call fcn.1003299c
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x43c]
call fcn.10010d2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3fc]
call fcn.10010df5
mov eax, dword [ebp - 0x44]
jmp 0x1003b1e7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret