Function at 0x10020553
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x458
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10022084
lea eax, [ebp + 0x24]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x27c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x254]
movzx eax, byte [eax]
test eax, eax
je 0x10020a65
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x224]
add ecx, dword [eax]
mov dword [ebp - 0x244], ecx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0xe8], eax
and dword [ebp - 0xf0], 0
jmp 0x10020628
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xe8]
inc eax
inc eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0xf0], eax
jae 0x10020a4e
mov dword [ebp - 0x284], 0x8cff0ea7
push 1
push 0x58b1
push 0x6ac4
push 1
lea eax, [ebp - 0x284]
push eax
call fcn.1001fcf7
add esp, 0x14
push 0x3c2d
push 0x28f6
push 0x6fbd
push 0x59a3
push 0x20ed
push 0
push 0x7f9c
push 0x488a
lea eax, [ebp - 0xe8]
push eax
push 0x3473
push 0x7fe0
push 0x132d
lea eax, [ebp - 0x23c]
push eax
push 0x201c
push 0x17bb
push 1
push 0x3737
push 0x1352
call fcn.1002fefb
add esp, 0x48
push 0x3922
push 0x3bc4
lea eax, [ebp - 0xe8]
push eax
push 0x7fbe
push 0x5dc5
push 0x4e64
push 1
push 1
push 0xb7e
push 0x30d3
push 0
push 0x7da
lea eax, [ebp - 0x2a4]
push eax
push 0x1207
call fcn.100314fd
add esp, 0x38
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x44], 0xe043eef7
mov dword [ebp - 0x6c], 0
jmp 0x1002072f
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x10020745
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x3a0], 0xfe0c2378
jmp 0x10020728
mov dword [ebp - 0x18], 0
jmp 0x10020755
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffea
jle 0x10020791
mov dword [ebp - 0x22c], 0
push 0x2e37
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x32d3
push 1
push 1
lea eax, [ebp - 0x18]
push eax
push 0x6aa9
call fcn.1002002e
add esp, 0x20
jmp 0x1002074e
mov eax, 0x88d5
test eax, eax
je 0x100207ac
cmp dword [ebp - 0x18], 0
je 0x100207ac
mov dword [ebp - 0x28c], 1
jmp 0x100207b3
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x44]
jg 0x100207c7
mov dword [ebp - 0x170], 1
jmp 0x100207ce
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x170]
add eax, dword [ebp - 0x44]
je 0x100207ef
cmp dword [ebp - 0x18], 0
je 0x100207ef
mov dword [ebp - 0x1d0], 1
jmp 0x100207f6
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x18]
mov dword [ebp - 0x204], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x204]
mov dword [ebp + eax - 0x3a0], ecx
cmp dword [ebp - 0x204], 0
je 0x1002099c
mov dword [ebp - 0x18], 0
jmp 0x1002083b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x11
jge 0x1002099a
mov byte [ebp - 0x3f], 0
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x1002096e
push 0x2912
push 0x3588
push 1
push 0x14c2
push 0
push 0x5b0d
call fcn.10036c5d
add esp, 0x18
mov dword [ebp - 0x11c], 0x297c
mov dword [ebp - 0x294], 0x100088b4
cmp dword [ebp - 0x11c], 0x2bc7
jle 0x1002092c
and dword [ebp - 0xdc], 0
jmp 0x100208af
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x3582
jge 0x1002092c
and dword [ebp - 0x74], 0
jmp 0x100208c8
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x5446
jge 0x10020927
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x74]
sar eax, cl
cdq
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], edx
push dword [ebp - 0x2cc]
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x3c8]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x3c8]
call fcn.10011542
jmp 0x100208c1
jmp 0x100208a2
and dword [ebp - 4], 0
cmp dword [ebp - 0x11c], 0x26c5
jge 0x10020948
push dword [ebp - 0x294]
call fcn.1004676f
pop ecx
jmp 0x10020964
or dword [ebp - 4], 0xffffffff
jmp 0x1002096e
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x10020995
push 0
push 1
push 0x7ee6
push 0x6596
push 0x5461
call fcn.10030b51
add esp, 0x14
jmp 0x10020834
jmp 0x100209ef
mov dword [ebp - 0x194], 0xffffffff
mov eax, dword [ebp - 0x194]
cmp eax, dword [ebp - 0x194]
jg 0x100209c0
mov dword [ebp - 0x124], 1
jmp 0x100209c7
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
dec eax
mov dword [ebp - 0x1cc], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp + eax - 0x3a0], ecx
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 3
je 0x10020a08
jmp 0x10020a49
mov eax, dword [ebp - 0x244]
add eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x24c]
push eax
push 1
push 0x73b9
push 0x44c1
push dword [ebp - 0x2ac]
push 1
push 0x47b9
push 0x274b
push 1
call fcn.10020329
add esp, 0x24
jmp 0x1002060d
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
add ecx, dword [eax + 4]
mov eax, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x1002207f
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x70], eax
push 2
lea ecx, [ebp - 0x358]
call fcn.10011794
mov dword [ebp - 4], 2
mov dword [ebp - 0x2bc], 0xffffffff
mov dword [ebp - 0xfc], 0x434678dc
mov dword [ebp - 0x34c], 0x10aa43b2
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x3b0], 3
mov dword [ebp - 0x368], 0
push 4
lea ecx, [ebp - 0x348]
call fcn.10011794
mov byte [ebp - 4], 3
mov dword [ebp - 0x2b4], 0xffffffff
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x370], 0x4b74
mov dword [ebp - 0x2c4], 1
mov dword [ebp - 0x3a4], 0xbf35
mov dword [ebp - 0x25c], 0x21aa
mov dword [ebp - 0x5c], 0
jmp 0x10020b1b
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x10020b34
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x358]
call fcn.10011832
or dword [eax], 0xffffffff
jmp 0x10020b14
push 0x424e
push 1
lea eax, [ebp - 0x348]
push eax
push 0x66f8
push 0x3825
push 1
push 0x6b97
lea eax, [ebp - 0x5c]
push eax
push 0
call fcn.10020329
add esp, 0x24
cmp dword [ebp - 0x2b4], 0xfc35327
je 0x10020b79
mov dword [ebp - 0x12c], 1
jmp 0x10020b80
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x25c]
cmp eax, dword [ebp - 0x12c]
jle 0x10020b9a
mov dword [ebp - 0x19c], 1
jmp 0x10020ba1
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0xfc]
imul eax, dword [ebp - 0x19c]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 1
jle 0x10020bc9
mov dword [ebp - 0xf4], 1
jmp 0x10020bd0
and dword [ebp - 0xf4], 0
push 2
lea ecx, [ebp - 0x348]
call fcn.10011832
mov ecx, dword [ebp - 0xf4]
mov dword [eax], ecx
cmp dword [ebp - 0xf4], 0
jne 0x10020c03
cmp dword [ebp - 0x2bc], 0
jne 0x10020c03
mov dword [ebp - 0x134], 1
jmp 0x10020c0a
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x348]
call fcn.10011816
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x358]
call fcn.10011816
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x388], 0x799a
mov dword [ebp - 0x384], 0x799a
mov dword [ebp - 0x380], 0x799a
mov dword [ebp - 0x37c], 0x799a
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x1f8], 0x66a3
mov dword [ebp - 0x270], 0x10008918
cmp dword [ebp - 0x1f8], 0x6980
jle 0x10020d5c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
and dword [ebp - 0xbc], 0
jmp 0x10020cbb
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x5db
jge 0x10020d5c
and dword [ebp - 0x7c], 0
jmp 0x10020cd8
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x3779
jge 0x10020d57
and dword [ebp - 0x64], 0
jmp 0x10020cee
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x7130
jge 0x10020d52
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x7c]
sar eax, cl
mov ecx, dword [ebp - 0x64]
shl eax, cl
cdq
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d8], edx
push dword [ebp - 0x2d8]
push dword [ebp - 0x2dc]
lea ecx, [ebp - 0x410]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x410]
call fcn.10011542
jmp 0x10020ce7
jmp 0x10020cd1
jmp 0x10020cae
movzx eax, byte [ebp - 0x40]
test eax, eax
je 0x10020d6c
push 0
call fcn.1002490e
pop ecx
mov dword [ebp - 4], 4
cmp dword [ebp - 0x1f8], 0x636d
jge 0x10020d8b
push dword [ebp - 0x270]
call fcn.1004676f
pop ecx
jmp 0x10020da7
or dword [ebp - 4], 0xffffffff
jmp 0x10020db1
mov byte [ebp - 0x3b], 0
movzx eax, byte [ebp - 0x3b]
test eax, eax
je 0x10020ddf
push 0x553a
push 1
push 0x323
push 0x63bd
push 0x5b7f
push 0
push 1
call fcn.100245b8
add esp, 0x1c
and dword [ebp - 0xf8], 0
jmp 0x10020dfe
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xf8], eax
jge 0x1002207f
mov dword [ebp - 0x184], 0x25fd
mov dword [ebp - 0x310], 0x100089c0
cmp dword [ebp - 0x184], 0x2666
jle 0x10020eac
and dword [ebp - 0x84], 0
jmp 0x10020e49
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x3092
jge 0x10020eac
and dword [ebp - 0xc4], 0
jmp 0x10020e6b
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x4fe4
jge 0x10020eaa
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc4]
sar eax, cl
cdq
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], edx
push dword [ebp - 0x2e4]
push dword [ebp - 0x2e8]
mov ecx, 0x106040f8
call fcn.1001156c
jmp 0x10020e5e
jmp 0x10020e3c
mov dword [ebp - 0x20], 0xfffffff8
mov dword [ebp - 0x214], 3
mov dword [ebp - 0x210], 3
mov dword [ebp - 0x20c], 3
mov dword [ebp - 0x208], 3
mov dword [ebp - 0x2c], 0xfffffffb
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x10020ef9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xf
jne 0x100214cf
mov dword [ebp - 0x8c], 0
jmp 0x10020f1c
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 4
jge 0x10020f38
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x10c], 0x38dd44ad
jmp 0x10020f0f
mov eax, 0xfff9
sub eax, dword [ebp - 0x20]
jne 0x10020f4e
mov dword [ebp - 0x2c8], 1
jmp 0x10020f55
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x378], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x10c]
mov dword [ebp - 0x3a8], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x711d
cmp ecx, dword [ebp + eax - 0x10c]
jge 0x10020f93
mov dword [ebp - 0x13c], 1
jmp 0x10020f9a
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0x13c], eax
jle 0x10020fbb
mov dword [ebp - 0x1a4], 1
jmp 0x10020fc2
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1a4], eax
je 0x10020fd9
mov dword [ebp - 0x144], 1
jmp 0x10020fe0
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0xfba2
jge 0x10020ff8
mov dword [ebp - 0x1d8], 1
jmp 0x10020fff
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1d8], eax
jne 0x10021016
mov dword [ebp - 0x14c], 1
jmp 0x1002101d
and dword [ebp - 0x14c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0x14c], eax
jl 0x1002103e
mov dword [ebp - 0x1ac], 1
jmp 0x10021045
and dword [ebp - 0x1ac], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x10c]
imul eax, dword [ebp - 0x1ac]
imul eax, eax, 0x81c1
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x10c]
sub ecx, eax
je 0x10021086
push 2
pop eax
test eax, eax
je 0x10021086
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x214], 0
jne 0x1002108f
mov eax, 0x3050
test eax, eax
je 0x100210a8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10c], 0
jne 0x100210a8
and dword [ebp - 0x154], 0
jmp 0x100210b2
mov dword [ebp - 0x154], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0x154], eax
jle 0x1002120d
mov dword [ebp - 0x54], 0xf62939c0
mov dword [ebp - 0x1f0], 0x2d14
mov dword [ebp - 0x328], 0x10008a20
cmp dword [ebp - 0x1f0], 0x2ed5
jle 0x1002119d
and dword [ebp - 0xec], 0
jmp 0x1002110c
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x7e10
jge 0x1002119d
and dword [ebp - 0x94], 0
jmp 0x10021132
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x531b
jge 0x10021198
mov eax, dword [ebp - 0xec]
cdq
idiv dword [ebp - 0x94]
mov eax, edx
cdq
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f0], edx
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
lea ecx, [ebp - 0x3e0]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x3e0]
call fcn.10011542
jmp 0x10021125
jmp 0x100210ff
mov dword [ebp - 0x54], 0
jmp 0x100211ad
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x100211c3
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x214], 0x5807
jmp 0x100211a6
mov dword [ebp - 4], 6
cmp dword [ebp - 0x1f0], 0x2b5c
jge 0x100211e2
push dword [ebp - 0x328]
call fcn.1004676f
pop ecx
jmp 0x100211fe
or dword [ebp - 4], 0xffffffff
jmp 0x10021208
jmp 0x100214ca
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x14], 0
jmp 0x1002122e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x100214ca
mov dword [ebp - 0x4c], 0x6bbb3073
mov dword [ebp - 0x288], 0
mov eax, 0xd905
test eax, eax
je 0x100212e6
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x214], 0
je 0x1002127c
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x214], 0
jge 0x1002127c
mov dword [ebp - 0x15c], 1
jmp 0x10021283
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x10c]
cmp dword [ebp - 0x15c], eax
jle 0x100212a1
mov dword [ebp - 0x1b4], 1
jmp 0x100212a8
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x14]
jg 0x100212c6
mov dword [ebp - 0x164], 1
jmp 0x100212cd
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
add eax, 0x2c102d1f
je 0x100212e6
mov dword [ebp - 0x1e0], 1
jmp 0x100212ed
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x10c]
add eax, dword [ebp - 0x1e0]
je 0x1002130b
mov dword [ebp - 0x16c], 1
jmp 0x10021312
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
sub eax, 0x9f33d48
cmp eax, dword [ebp - 0x4c]
jne 0x10021334
cmp dword [ebp - 0x14], 0
je 0x10021334
mov dword [ebp - 0x1bc], 1
jmp 0x1002133b
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
sub eax, 0x80b0
cmp eax, dword [ebp - 0x14]
je 0x10021357
mov dword [ebp - 0x174], 1
jmp 0x1002135e
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x174], eax
jne 0x10021375
mov dword [ebp - 0x200], 1
jmp 0x1002137c
and dword [ebp - 0x200], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x214]
cmp dword [ebp - 0x200], eax
jg 0x1002139d
mov dword [ebp - 0x280], 1
jmp 0x100213a4
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x214]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x214]
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jle 0x100213d8
mov dword [ebp - 0x17c], 1
jmp 0x100213df
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], 0
jmp 0x100213f8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jg 0x100214c5
mov dword [ebp - 0x2c], 3
jmp 0x10021412
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10021493
mov byte [ebp - 0x3a], 0
push 1
lea eax, [ebp - 0x3a]
push eax
push 0x7385
push 0x53c
push 1
push 0x3a4e
call fcn.1001f5e7
add esp, 0x18
mov dword [ebp - 0x4c], 3
jmp 0x1002144b
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x1002148e
mov eax, dword [ebp - 0x30]
cmp dword [ebp + eax*4 - 0x10c], 0
je 0x10021460
jmp 0x1002148e
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0x10c]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp + eax*4 - 0x10c], ecx
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x2d4], eax
jmp 0x10021444
jmp 0x1002140b
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1379
push 0xd25
push 1
push 1
push 0x7bb6
push 1
push 0x3e24
call fcn.1001f6d0
add esp, 0x24
jmp 0x100213f1
jmp 0x10021227
jmp 0x10020ef2
mov dword [ebp - 4], 8
cmp dword [ebp - 0x184], 0x22ea
jge 0x100214f2
mov edx, dword [ebp - 0x310]
mov ecx, 0x106040f8
call fcn.10013e7d
jmp 0x1002150e
or dword [ebp - 4], 0xffffffff
jmp 0x10021518
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x10021531
mov dword [ebp - 0x1e8], 1
jmp 0x10021538
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x290], 0x75123020
lea eax, [ebp - 0x50]
push eax
push 0x63da
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0x35d
push 0x49f7
push 0
call fcn.10031825
add esp, 0x1c
mov eax, 0xef3b
test eax, eax
je 0x10021657
cmp dword [ebp - 0xcc], 0
je 0x10021657
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x9c], 0
je 0x100215d5
mov eax, 0x94df
test eax, eax
je 0x100215d5
mov dword [ebp - 0x18c], 1
jmp 0x100215dc
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 0x643747c9
jg 0x100215f4
mov dword [ebp - 0x114], 1
jmp 0x100215fb
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0xca8c
jne 0x10021613
mov dword [ebp - 0x118], 1
jmp 0x1002161a
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x118], eax
jg 0x10021634
mov dword [ebp - 0x120], 1
jmp 0x1002163b
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
neg eax
cmp eax, dword [ebp - 0x9c]
jl 0x10021657
mov dword [ebp - 0x128], 1
jmp 0x1002165e
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0xcc]
imul eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x50]
jge 0x1002167c
mov dword [ebp - 0x130], 1
jmp 0x10021683
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x290]
cmp dword [ebp - 0x130], eax
jge 0x1002169d
mov dword [ebp - 0x138], 1
jmp 0x100216a4
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x138]
cmp eax, 0xb653
jl 0x100216c0
mov dword [ebp - 0x2e0], 1
jmp 0x100216c7
and dword [ebp - 0x2e0], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x9c], 0
je 0x10021702
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x10021700
push 1
push 0x661c
push 0x634
push 0x19df
push 1
call fcn.1001f7e8
add esp, 0x14
jmp 0x1002172c
mov byte [ebp - 0x3c], 0
movzx eax, byte [ebp - 0x3c]
test eax, eax
je 0x1002172c
push 0
push 0x3f51
push 0x5382
push 0x3307
push 0x5446
call fcn.100226a3
add esp, 0x14
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x10021745
mov dword [ebp - 0x140], 1
jmp 0x1002174c
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x38], 0xfffffffc
mov dword [ebp - 0x148], 0
mov dword [ebp - 0xe0], 0
jmp 0x10021782
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 3
jge 0x1002179e
mov eax, dword [ebp - 0xe0]
mov dword [ebp + eax*4 - 0x364], 0xfffffffa
jmp 0x10021775
mov dword [ebp - 0x38], 2
jmp 0x100217ae
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x100217c5
mov eax, dword [ebp - 0x38]
cmp dword [ebp + eax*4 - 0x364], 0
je 0x100217c3
jmp 0x100217c5
jmp 0x100217a7
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x364]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x148]
jle 0x100217ef
mov dword [ebp - 0x150], 1
jmp 0x100217f6
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x160], 0x7228
mov dword [ebp - 0x33c], 0x10008a9c
cmp dword [ebp - 0x160], 0x72ac
jle 0x1002192d
and dword [ebp - 0xa4], 0
jmp 0x10021839
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x18bc
jge 0x1002192d
and dword [ebp - 0xd4], 0
jmp 0x1002185f
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x379a
jge 0x10021928
and dword [ebp - 0xac], 0
jmp 0x10021885
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x1d2c
jge 0x10021923
and dword [ebp - 0xe4], 0
jmp 0x100218ab
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x7fa4
jge 0x1002191e
mov eax, dword [ebp - 0xa4]
imul eax, dword [ebp - 0xd4]
imul eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xe4]
shl eax, cl
cdq
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], edx
push dword [ebp - 0x2fc]
push dword [ebp - 0x300]
lea ecx, [ebp - 0x3f8]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x3f8]
call fcn.10011542
jmp 0x1002189e
jmp 0x10021878
jmp 0x10021852
jmp 0x1002182c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x10021946
mov dword [ebp - 0x158], 1
jmp 0x1002194d
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x160], 0x6efe
jge 0x10021978
push dword [ebp - 0x33c]
call fcn.1004676f
pop ecx
jmp 0x10021994
or dword [ebp - 4], 0xffffffff
jmp 0x1002199e
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x10021ad2
push 0x4000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
push 0x6719
push 0x5fea
call fcn.10011182
pop ecx
pop ecx
call eax
mov dword [ebp - 0x168], 0x3240
mov dword [ebp - 0x2ec], 0x10008afc
cmp dword [ebp - 0x168], 0x3331
jle 0x10021a88
and dword [ebp - 0xb4], 0
jmp 0x10021a0d
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x18dc
jge 0x10021a88
and dword [ebp - 0x68], 0
jmp 0x10021a26
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x1d82
jge 0x10021a83
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x68]
cdq
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], edx
push dword [ebp - 0x308]
push dword [ebp - 0x30c]
lea ecx, [ebp - 0x428]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x428]
call fcn.10011542
jmp 0x10021a1f
jmp 0x10021a00
jmp 0x10020de8
push 0x5911
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x2a8]
push 1
push dword [ebp - 0x31c]
push dword [ebp - 0x2b0]
lea eax, [ebp - 0x274]
push eax
call fcn.1001a40e
add esp, 0x20
push 1
push 1
push 0x2e78
push 0x2e60
call fcn.1001f85d
add esp, 0x10
push 0x19a3
push 1
push 0x1d6d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1a8]
push eax
push 1
call fcn.1001fbd2
add esp, 0x1c
mov dword [ebp - 0x1a0], 0x709
mov dword [ebp - 0x26c], 0x10008b68
cmp dword [ebp - 0x1a0], 0x886
jle 0x10021c4e
and dword [ebp - 0x88], 0
jmp 0x10021b74
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x39ca
jge 0x10021c44
and dword [ebp - 0x90], 0
jmp 0x10021b9a
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x721a
jge 0x10021c3f
and dword [ebp - 0x78], 0
jmp 0x10021bb7
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x314
jge 0x10021c3a
and dword [ebp - 0x80], 0
jmp 0x10021bcd
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x4296
jge 0x10021c35
mov ecx, dword [ebp - 0x78]
add ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x90]
shl eax, cl
cdq
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], edx
push dword [ebp - 0x314]
push dword [ebp - 0x318]
lea ecx, [ebp - 0x458]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2f8]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x458]
call fcn.10011542
jmp 0x10021bc6
jmp 0x10021bb0
jmp 0x10021b8d
jmp 0x10021b67
push 0
push 0
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov dword [ebp - 0x28], 0x68ec0ae9
mov dword [ebp - 0x178], 0x393e75cb
mov dword [ebp - 0x98], 0
jmp 0x10021c78
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 2
jge 0x10021c94
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x330], 0x869b7d6b
jmp 0x10021c6b
mov dword [ebp - 0x28], 0xffffffff
jmp 0x10021ca4
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffe6
jle 0x10021ebd
mov dword [ebp - 0x110], 0x28d9
mov dword [ebp - 0x334], 0x10008bbc
cmp dword [ebp - 0x110], 0x2b08
jle 0x10021df5
and dword [ebp - 0xb8], 0
jmp 0x10021ce8
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xa11
jge 0x10021de0
and dword [ebp - 0xb0], 0
jmp 0x10021d0e
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x2f89
jge 0x10021ddb
and dword [ebp - 0xa0], 0
jmp 0x10021d34
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x5d0c
jge 0x10021dd6
and dword [ebp - 0xa8], 0
jmp 0x10021d5a
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x66b3
jge 0x10021dd1
mov eax, dword [ebp - 0xa0]
imul eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xb0]
sub ecx, eax
mov eax, dword [ebp - 0xb8]
shl eax, cl
cdq
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], edx
push dword [ebp - 0x320]
push dword [ebp - 0x324]
lea ecx, [ebp - 0x440]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x440]
call fcn.10011542
jmp 0x10021d4d
jmp 0x10021d27
jmp 0x10021d01
jmp 0x10021cdb
push 0x12a1
push 0x1eb2
push 0x1c26
call dword [sym.imp.GDI32.dll_LineTo]
mov dword [ebp - 4], 0xe
cmp dword [ebp - 0x110], 0x2717
jge 0x10021e14
push dword [ebp - 0x334]
call fcn.1004676f
pop ecx
jmp 0x10021e30
or dword [ebp - 4], 0xffffffff
jmp 0x10021e3a
mov dword [ebp - 0x58], 0x5cd53bc6
mov dword [ebp - 0xc0], 0
jmp 0x10021e5a
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 1
jge 0x10021e76
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0x264], 0xffff
jmp 0x10021e4d
mov dword [ebp - 0x58], 0
jmp 0x10021e86
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jg 0x10021ea8
mov dword [ebp - 0x260], 0x8f6c74aa
lea eax, [ebp - 0x260]
push eax
push 0
call fcn.100226ea
pop ecx
pop ecx
jmp 0x10021e7f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x264]
mov dword [ebp - 0x58], eax
jmp 0x10021c9d
mov eax, dword [ebp - 0x28]
neg eax
cmp eax, dword [ebp - 0x28]
jg 0x10021ed3
mov dword [ebp - 0x180], 1
jmp 0x10021eda
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x178], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x330], 1
jl 0x10021f02
mov dword [ebp - 0x188], 1
jmp 0x10021f09
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x28], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x330]
imul eax, dword [ebp - 0x188]
cmp dword [ebp - 0x28], eax
jl 0x10021f37
mov dword [ebp - 0x190], 1
jmp 0x10021f3e
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0
jl 0x10021f53
mov dword [ebp - 0x198], 1
jmp 0x10021f5a
and dword [ebp - 0x198], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x198]
mov dword [ebp + eax - 0x330], ecx
mov dword [ebp - 4], 0x10
cmp dword [ebp - 0x1a0], 0x3cf
jge 0x10021f8c
push dword [ebp - 0x26c]
call fcn.1004676f
pop ecx
jmp 0x10021fa8
or dword [ebp - 4], 0xffffffff
jmp 0x10021fb2
cmp dword [ebp - 0x1a8], 0
jbe 0x1002207a
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0xc8], 0
jmp 0x10021fe2
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 4
jge 0x10021ffe
mov eax, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x468], 0x5711
jmp 0x10021fd5
mov dword [ebp - 0xd0], 0
jmp 0x10022017
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 3
jg 0x1002204e
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1002204c
push 1
push 0x2373
push 0x215d
push 0
push 0x4dd4
push 0x570c
call fcn.1001feaa
add esp, 0x18
jmp 0x1002200a
lea eax, [ebp - 0x374]
push eax
push dword [ebp - 0x274]
push dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
push 0x6719
push 0x5b20
call fcn.10011182
pop ecx
pop ecx
call eax
jmp 0x10020de8
jmp 0x100222d8
lea eax, [ebp + 0x28]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x21c]
movzx eax, byte [eax]
test eax, eax
je 0x1002211d
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x60]
mov dword [eax], 0
jmp 0x100220f8
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax], 2
jge 0x10022118
mov eax, dword [ebp - 0x60]
push dword [eax]
mov ecx, dword [ebp - 0x240]
call fcn.10011832
mov dword [eax], 0xd9796a0b
jmp 0x100220ed
jmp 0x100222d8
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x10022148
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0xe
jg 0x100222d8
mov dword [ebp - 0xd8], 5
mov dword [ebp - 0x1c8], 0x14383674
mov dword [ebp - 0x258], 0x57f3
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x10022184
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
cmp dword [ebp - 0xd8], 0xffffffff
je 0x10022199
mov dword [ebp - 0x1b0], 1
jmp 0x100221a0
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x1b0], eax
jne 0x100221e4
mov eax, dword [ebp - 0x24]
cmp dword [eax], 5
jae 0x100221c1
mov dword [ebp - 0x1b8], 1
jmp 0x100221c8
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
imul eax, dword [ebp - 0x1b8]
cmp eax, 0x4571
jle 0x100221e4
and dword [ebp - 0x1c0], 0
jmp 0x100221ee
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0xeb32
jne 0x10022212
mov dword [ebp - 0x1d4], 1
jmp 0x10022219
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0x1d4]
cmp eax, 1
jae 0x10022236
mov dword [ebp - 0x1dc], 1
jmp 0x1002223d
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x1dc], eax
jl 0x10022256
mov dword [ebp - 0x1e4], 1
jmp 0x1002225d
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x1e4], eax
jle 0x10022277
mov dword [ebp - 0x1ec], 1
jmp 0x1002227e
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x1ec], eax
jl 0x100222a0
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x100222a0
mov dword [ebp - 0x1f4], 1
jmp 0x100222a7
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x1f4], eax
jne 0x100222c0
mov dword [ebp - 0x1fc], 1
jmp 0x100222c7
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x258], eax
jmp 0x1002213d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret