Function at 0x1003f5a7
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b7f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x670
push esi
push edi
mov dword [ebp - 0x38], 7
mov dword [ebp - 0xd8], 0xdc705be7
mov dword [ebp - 0xc4], 3
mov dword [ebp - 0x21c], 0x95f87b70
push 3
lea ecx, [ebp - 0x308]
call fcn.1000d3e3
and dword [ebp - 4], 0
mov dword [ebp - 0x474], 0x88a746c2
mov dword [ebp - 0x470], 0x88a746c2
mov dword [ebp - 0x46c], 0x88a746c2
mov dword [ebp - 0x468], 0x88a746c2
lea ecx, [ebp - 0x10d]
call fcn.1000d4cf
push eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x65c]
call fcn.1000d4d2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x44c]
call fcn.1000d41f
mov byte [ebp - 4], 1
mov dword [ebp - 0x104], 0x4a037a76
mov dword [ebp - 0x354], 0x6a8e
mov dword [ebp - 0x340], 0x18cd
cmp dword [ebp - 0x340], 0xc1f
jge 0x1003f833
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x328]
push eax
mov ecx, 0x1065b710
call fcn.1002f82d
mov ecx, eax
call fcn.1002f82d
mov ecx, eax
call fcn.1002f82d
mov ecx, eax
call fcn.1002f82d
or dword [ebp - 0x134], 0xffffffff
or dword [ebp - 0x130], 0xffffffff
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x324]
jg 0x1003f811
jl 0x1003f6fb
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x328]
ja 0x1003f811
mov eax, dword [ebp - 0x310]
add eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x30c]
adc ecx, dword [ebp - 0x32c]
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
push ecx
push eax
call fcn.1006a3a0
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
call fcn.10056a60
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x384], edx
mov eax, dword [ebp - 0x384]
cmp eax, dword [ebp - 0x324]
jg 0x1003f811
jl 0x1003f781
mov eax, dword [ebp - 0x388]
cmp eax, dword [ebp - 0x328]
ja 0x1003f811
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
call fcn.10056a60
sub eax, dword [ebp - 0x330]
sbb edx, dword [ebp - 0x32c]
mov dword [ebp - 0x394], eax
mov dword [ebp - 0x390], edx
mov eax, dword [ebp - 0x390]
cmp eax, dword [ebp - 0x30c]
jl 0x1003f7ee
jg 0x1003f7d4
mov eax, dword [ebp - 0x394]
cmp eax, dword [ebp - 0x310]
jb 0x1003f7ee
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x130], eax
jmp 0x1003f811
mov eax, dword [ebp - 0xa8]
add eax, 1
mov ecx, dword [ebp - 0xa4]
adc ecx, 0
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
jmp 0x1003f732
push fcn.10010bca
push dword [ebp - 0x130]
push dword [ebp - 0x134]
mov ecx, 0x1065b658
call fcn.1002fa54
mov ecx, eax
call fcn.1000d2b8
mov dword [ebp - 0x488], 0xfffffff6
mov dword [ebp - 0x484], 0xfffffff6
mov dword [ebp - 0x480], 0xfffffff6
mov dword [ebp - 0x47c], 0xfffffff6
lea ecx, [ebp - 0x10f]
call fcn.1000d4cf
push eax
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x654]
call fcn.1000d4d2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x54c]
call fcn.1000d41f
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
jmp 0x1003f8a4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1003f8ba
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x9c], 6
jmp 0x1003f89d
mov dword [ebp - 0x18], 0
jmp 0x1003f8ca
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1003f8e6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x308]
call fcn.1000d4c0
mov dword [eax], 0x9bec7a42
jmp 0x1003f8c3
mov dword [ebp - 0x18], 0
jmp 0x1003f8f6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1003f90c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x318], 1
jmp 0x1003f8ef
mov dword [ebp - 0x38], 0xc48b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 0
jne 0x1003f932
cmp dword [ebp - 0x38], 0
jne 0x1003f932
and dword [ebp - 0x338], 0
jmp 0x1003f93c
mov dword [ebp - 0x338], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x508], eax
mov eax, dword [ebp - 0x38]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x9c]
cmp eax, dword [ebp - 0x38]
jl 0x1003f970
mov dword [ebp - 0x208], 1
jmp 0x1003f977
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x208], eax
jne 0x1003f98e
mov dword [ebp - 0x2d8], 1
jmp 0x1003f995
and dword [ebp - 0x2d8], 0
cmp dword [ebp - 0x2d8], 0xfffa
je 0x1003f9ad
mov dword [ebp - 0x2e0], 1
jmp 0x1003f9b4
and dword [ebp - 0x2e0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x2e0], eax
jge 0x1003f9d5
mov dword [ebp - 0x2e8], 1
jmp 0x1003f9dc
and dword [ebp - 0x2e8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x2e8], eax
je 0x1003f9fd
mov dword [ebp - 0x2f0], 1
jmp 0x1003fa04
and dword [ebp - 0x2f0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x2f0], eax
jg 0x1003fa2e
mov eax, 0xffff
test eax, eax
je 0x1003fa2e
mov dword [ebp - 0x33c], 1
jmp 0x1003fa35
and dword [ebp - 0x33c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x538], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x5d4], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x9c], 0
jne 0x1003fa77
mov dword [ebp - 0x2d0], 1
jmp 0x1003fa7e
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x2d0]
add eax, 6
jne 0x1003fa99
push 0xfffffffffffffffc
pop eax
test eax, eax
jne 0x1003fa99
and dword [ebp - 0x148], 0
jmp 0x1003faa3
mov dword [ebp - 0x148], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x148], eax
jg 0x1003fac4
mov dword [ebp - 0x344], 1
jmp 0x1003facb
and dword [ebp - 0x344], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x540], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc4], eax
push 0
lea ecx, [ebp - 0x44c]
call fcn.1000d4c0
mov esi, eax
push 0
lea ecx, [ebp - 0x308]
call fcn.1000d4c0
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x1003fb21
mov dword [ebp - 0x214], 1
jmp 0x1003fb28
and dword [ebp - 0x214], 0
push 0
lea ecx, [ebp - 0x44c]
call fcn.1000d4c0
mov eax, dword [eax]
cmp eax, dword [ebp - 0x214]
jg 0x1003fb4b
mov dword [ebp - 0x34c], 1
jmp 0x1003fb52
and dword [ebp - 0x34c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x318]
mov dword [ebp - 0x5dc], eax
push 1
lea ecx, [ebp - 0x308]
call fcn.1000d4c0
mov ecx, dword [ebp - 0xc4]
add ecx, dword [eax]
mov dword [ebp - 0xd8], ecx
jne 0x1003fb94
cmp dword [ebp - 0x354], 0
jne 0x1003fb94
and dword [ebp - 0x13c], 0
jmp 0x1003fb9e
mov dword [ebp - 0x13c], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x318]
add eax, dword [ebp - 0x13c]
je 0x1003fbbf
mov dword [ebp - 0x284], 1
jmp 0x1003fbc6
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x284], eax
jg 0x1003fbe0
mov dword [ebp - 0x144], 1
jmp 0x1003fbe7
and dword [ebp - 0x144], 0
push 3
lea ecx, [ebp - 0x44c]
call fcn.1000d4c0
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x38]
push 0
lea ecx, [ebp - 0x308]
call fcn.1000d4c0
mov ecx, dword [ebp - 0x144]
sub ecx, dword [eax]
add ecx, 0x25f3d189
add esi, ecx
jne 0x1003fc29
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 0
push 0
lea ecx, [ebp - 0x308]
call fcn.1000d4c0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x318]
cmp dword [eax], ecx
jl 0x1003fc53
mov dword [ebp - 0x35c], 1
jmp 0x1003fc5a
and dword [ebp - 0x35c], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x318]
mov dword [ebp - 0x364], eax
push 0
lea ecx, [ebp - 0x308]
call fcn.1000d4c0
mov ecx, dword [ebp - 0x364]
mov dword [eax], ecx
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x618], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x560], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x5e0], eax
cmp dword [ebp - 0x38], 0
je 0x1003fcea
push 1
lea ecx, [ebp - 0x54c]
call fcn.1000d4c0
cmp dword [eax], 0
je 0x1003fcea
mov dword [ebp - 0x14c], 1
jmp 0x1003fcf1
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54c]
call fcn.1000d445
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44c]
call fcn.1000d445
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x308]
call fcn.1000d445
mov dword [ebp - 0x3c], 0xa5eafb5d
mov dword [ebp - 0x36c], 0x276ac116
mov dword [ebp - 0xdc], 0
jmp 0x1003fd54
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 1
jge 0x1003fd6d
mov eax, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x44], 2
jmp 0x1003fd47
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x44], 0
jmp 0x1003fd92
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x44], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 7
je 0x1003ff19
mov dword [ebp - 0x224], 0xfffffffe
mov dword [ebp - 0xe0], 0xd2466e9f
mov dword [ebp - 0xcc], 0
jmp 0x1003fdd0
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 4
jge 0x1003fdec
mov eax, dword [ebp - 0xcc]
mov dword [ebp + eax*4 - 0x4e8], 0xe662
jmp 0x1003fdc3
mov eax, 0x4f2887cf
test eax, eax
je 0x1003fe0e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 0
je 0x1003fe0e
mov dword [ebp - 0x28c], 1
jmp 0x1003fe15
and dword [ebp - 0x28c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x4e8]
mov dword [ebp - 0x570], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
sub eax, 0xfffc
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x4e8]
jle 0x1003fe52
mov dword [ebp - 0x2bc], 1
jmp 0x1003fe59
and dword [ebp - 0x2bc], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x4e8]
cmp dword [ebp - 0x2bc], eax
jl 0x1003fe7a
mov dword [ebp - 0x154], 1
jmp 0x1003fe81
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x224], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
cmp dword [ebp - 0x224], eax
jle 0x1003feab
mov dword [ebp - 0x15c], 1
jmp 0x1003feb2
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jne 0x1003fed2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x28c], eax
jl 0x1003fef5
cmp dword [ebp - 0xe0], 0
je 0x1003fef5
mov dword [ebp - 0x164], 1
jmp 0x1003fefc
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x3c], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x4e8]
mov dword [ebp - 0x3c], eax
jmp 0x1003fd7d
mov eax, 0x6d64bda9
test eax, eax
je 0x1003ff34
cmp dword [ebp - 0x3c], 0
je 0x1003ff34
mov dword [ebp - 0x22c], 1
jmp 0x1003ff3b
and dword [ebp - 0x22c], 0
imul eax, dword [ebp - 0x3c], 0x6cc7
sub eax, 0xc6f0c43
imul eax, eax, 0x122
cmp eax, dword [ebp - 0x3c]
jg 0x1003ff5e
mov dword [ebp - 0x16c], 1
jmp 0x1003ff65
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp - 0x16c]
jg 0x1003ff7f
mov dword [ebp - 0x2e4], 1
jmp 0x1003ff86
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x174], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x174]
mov dword [ebp + eax - 0x44], ecx
mov eax, dword [ebp - 0x2e4]
sub eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x174], eax
jne 0x1003ffbc
mov dword [ebp - 0x234], 1
jmp 0x1003ffc3
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0xb8], 0xdc705be7
mov dword [ebp - 0xc0], 3
mov dword [ebp - 0x1ac], 0x95f87b70
push 1
lea ecx, [ebp - 0x55c]
call fcn.1000d3e3
mov dword [ebp - 4], 3
mov dword [ebp - 0x374], 0xfffffffb
mov dword [ebp - 0x600], 5
mov dword [ebp - 0x580], 0xffffffff
mov dword [ebp - 0x17c], 8
mov dword [ebp - 0x37c], 0xfffffff7
mov dword [ebp - 0xd4], 0
jmp 0x10040059
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 1
jge 0x1004007b
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x55c]
call fcn.1000d4c0
mov dword [eax], 0x6d210ec3
jmp 0x1004004c
imul eax, dword [ebp - 0x374], 0
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x37c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x55c]
call fcn.1000d445
push 3
lea ecx, [ebp - 0x2fc]
call fcn.1000d3e3
mov dword [ebp - 4], 4
mov dword [ebp - 0x4b0], 0x88a746c2
mov dword [ebp - 0x4ac], 0x88a746c2
mov dword [ebp - 0x4a8], 0x88a746c2
mov dword [ebp - 0x4a4], 0x88a746c2
lea ecx, [ebp - 0x115]
call fcn.1000d4cf
push eax
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x664]
call fcn.1000d4d2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x458]
call fcn.1000d41f
mov byte [ebp - 4], 5
mov dword [ebp - 0x11c], 0x4a037a76
mov dword [ebp - 0x3fc], 0x6a8e
mov dword [ebp - 0x4d8], 0xfffffff6
mov dword [ebp - 0x4d4], 0xfffffff6
mov dword [ebp - 0x4d0], 0xfffffff6
mov dword [ebp - 0x4cc], 0xfffffff6
lea ecx, [ebp - 0xf5]
call fcn.1000d4cf
push eax
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ebp - 0x64c]
call fcn.1000d4d2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x56c]
call fcn.1000d41f
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], 0
jmp 0x1004019d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100401b3
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x94], 6
jmp 0x10040196
mov dword [ebp - 0x1c], 0
jmp 0x100401c3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x100401df
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2fc]
call fcn.1000d4c0
mov dword [eax], 0x9bec7a42
jmp 0x100401bc
mov dword [ebp - 0x1c], 0
jmp 0x100401ef
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10040205
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x320], 1
jmp 0x100401e8
mov dword [ebp - 0x4c], 0xc48b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x94], 0
jne 0x1004022b
cmp dword [ebp - 0x4c], 0
jne 0x1004022b
and dword [ebp - 0x3c0], 0
jmp 0x10040235
mov dword [ebp - 0x3c0], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
mov dword [ebp - 0x5e8], eax
mov eax, dword [ebp - 0x4c]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x94]
cmp eax, dword [ebp - 0x4c]
jl 0x10040269
mov dword [ebp - 0x294], 1
jmp 0x10040270
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x294], eax
jne 0x10040287
mov dword [ebp - 0x184], 1
jmp 0x1004028e
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0xfffa
je 0x100402a6
mov dword [ebp - 0x23c], 1
jmp 0x100402ad
and dword [ebp - 0x23c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0x23c], eax
jge 0x100402ce
mov dword [ebp - 0x18c], 1
jmp 0x100402d5
and dword [ebp - 0x18c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0x18c], eax
je 0x100402f6
mov dword [ebp - 0x2c4], 1
jmp 0x100402fd
and dword [ebp - 0x2c4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0x2c4], eax
jg 0x10040327
mov eax, 0xffff
test eax, eax
je 0x10040327
mov dword [ebp - 0x3c8], 1
jmp 0x1004032e
and dword [ebp - 0x3c8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
mov dword [ebp - 0x590], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
mov dword [ebp - 0x500], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x94], 0
jne 0x10040370
mov dword [ebp - 0x194], 1
jmp 0x10040377
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
add eax, 6
jne 0x10040392
push 0xfffffffffffffffc
pop eax
test eax, eax
jne 0x10040392
and dword [ebp - 0x244], 0
jmp 0x1004039c
mov dword [ebp - 0x244], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0x244], eax
jg 0x100403bd
mov dword [ebp - 0x3b4], 1
jmp 0x100403c4
and dword [ebp - 0x3b4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
mov dword [ebp - 0x504], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
push 0
lea ecx, [ebp - 0x458]
call fcn.1000d4c0
mov esi, eax
push 0
lea ecx, [ebp - 0x2fc]
call fcn.1000d4c0
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x1004041a
mov dword [ebp - 0x19c], 1
jmp 0x10040421
and dword [ebp - 0x19c], 0
push 0
lea ecx, [ebp - 0x458]
call fcn.1000d4c0
mov eax, dword [eax]
cmp eax, dword [ebp - 0x19c]
jg 0x10040444
mov dword [ebp - 0x334], 1
jmp 0x1004044b
and dword [ebp - 0x334], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x320]
mov dword [ebp - 0x50c], eax
push 1
lea ecx, [ebp - 0x2fc]
call fcn.1000d4c0
mov ecx, dword [ebp - 0xc0]
add ecx, dword [eax]
mov dword [ebp - 0xb8], ecx
jne 0x1004048d
cmp dword [ebp - 0x3fc], 0
jne 0x1004048d
and dword [ebp - 0x29c], 0
jmp 0x10040497
mov dword [ebp - 0x29c], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x320]
add eax, dword [ebp - 0x29c]
je 0x100404b8
mov dword [ebp - 0x1a4], 1
jmp 0x100404bf
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x1a4], eax
jg 0x100404d9
mov dword [ebp - 0x24c], 1
jmp 0x100404e0
and dword [ebp - 0x24c], 0
push 3
lea ecx, [ebp - 0x458]
call fcn.1000d4c0
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp - 0x4c]
push 0
lea ecx, [ebp - 0x2fc]
call fcn.1000d4c0
mov ecx, dword [ebp - 0x24c]
sub ecx, dword [eax]
add ecx, 0x25f3d189
add esi, ecx
jne 0x10040522
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x94], 0
push 0
lea ecx, [ebp - 0x2fc]
call fcn.1000d4c0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x320]
cmp dword [eax], ecx
jl 0x1004054c
mov dword [ebp - 0x348], 1
jmp 0x10040553
and dword [ebp - 0x348], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x514], eax
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x320]
mov dword [ebp - 0x3bc], eax
push 0
lea ecx, [ebp - 0x2fc]
call fcn.1000d4c0
mov ecx, dword [ebp - 0x3bc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x51c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x52c], eax
cmp dword [ebp - 0x4c], 0
je 0x100405e3
push 1
lea ecx, [ebp - 0x56c]
call fcn.1000d4c0
cmp dword [eax], 0
je 0x100405e3
mov dword [ebp - 0x2dc], 1
jmp 0x100405ea
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x56c]
call fcn.1000d445
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x458]
call fcn.1000d445
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2fc]
call fcn.1000d445
push 2
lea ecx, [ebp - 0x58c]
call fcn.1000d3e3
mov dword [ebp - 4], 7
push 1
lea ecx, [ebp - 0x57c]
call fcn.1000d3e3
mov byte [ebp - 4], 8
mov dword [ebp - 0x1b4], 0xba20b95a
mov dword [ebp - 0x30], 0
jmp 0x10040662
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1004067e
push dword [ebp - 0x30]
lea ecx, [ebp - 0x58c]
call fcn.1000d4c0
mov dword [eax], 0xfffffff7
jmp 0x1004065b
mov dword [ebp - 0x30], 0
jmp 0x1004068e
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x100406a7
push dword [ebp - 0x30]
lea ecx, [ebp - 0x57c]
call fcn.1000d4c0
and dword [eax], 0
jmp 0x10040687
mov eax, dword [ebp - 0x1b4]
dec eax
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 0x7f], 0
movzx eax, byte [ebp - 0x7f]
test eax, eax
je 0x100406c6
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x57c]
call fcn.1000d445
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58c]
call fcn.1000d445
push 2
lea ecx, [ebp - 0x5ac]
call fcn.1000d3e3
mov dword [ebp - 4], 9
push 1
lea ecx, [ebp - 0x59c]
call fcn.1000d3e3
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x254], 0xba20b95a
mov dword [ebp - 0x2c], 0
jmp 0x10040723
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1004073f
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x5ac]
call fcn.1000d4c0
mov dword [eax], 0xfffffff7
jmp 0x1004071c
mov dword [ebp - 0x2c], 0
jmp 0x1004074f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x10040768
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x59c]
call fcn.1000d4c0
and dword [eax], 0
jmp 0x10040748
mov eax, dword [ebp - 0x254]
dec eax
mov dword [ebp - 0x254], eax
mov byte [ebp - 0x82], 0
movzx eax, byte [ebp - 0x82]
test eax, eax
je 0x1004078d
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x59c]
call fcn.1000d445
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5ac]
call fcn.1000d445
movzx eax, byte [0x108d80f0]
test eax, eax
je 0x100407c9
mov esi, 0x1065aff8
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x10041ea1
mov dword [ebp - 0x534], 0xffffffff
push 1
lea ecx, [ebp - 0x5bc]
call fcn.1000d3e3
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x53c], 0x43046b6e
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x40], 0
jmp 0x1004080b
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10040821
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x67c], 0xffffffff
jmp 0x10040804
mov dword [ebp - 0x40], 0
jmp 0x10040831
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x1004084d
push dword [ebp - 0x40]
lea ecx, [ebp - 0x5bc]
call fcn.1000d4c0
mov dword [eax], 0x49febb67
jmp 0x1004082a
mov byte [ebp - 0x63], 0
movzx eax, byte [ebp - 0x63]
test eax, eax
je 0x10040868
push 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov eax, dword [ebp - 0x1bc]
dec eax
mov dword [ebp - 0x1bc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5bc]
call fcn.1000d445
mov dword [ebp - 0x5e4], 0x1065aff8
mov dword [ebp - 0x5ec], 0x1065affc
mov dword [ebp - 0x5f4], 0xffffffff
push 1
lea ecx, [ebp - 0x5cc]
call fcn.1000d3e3
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x5fc], 0x43046b6e
mov dword [ebp - 0x2a4], 1
mov dword [ebp - 0x48], 0
jmp 0x100408da
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x100408f0
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x670], 0xffffffff
jmp 0x100408d3
mov dword [ebp - 0x48], 0
jmp 0x10040900
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1004091c
push dword [ebp - 0x48]
lea ecx, [ebp - 0x5cc]
call fcn.1000d4c0
mov dword [eax], 0x49febb67
jmp 0x100408f9
mov byte [ebp - 0x7d], 0
movzx eax, byte [ebp - 0x7d]
test eax, eax
je 0x10040937
push 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov eax, dword [ebp - 0x2a4]
dec eax
mov dword [ebp - 0x2a4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5cc]
call fcn.1000d445
mov byte [0x108d80f0], 1
mov dword [ebp - 0x50], 0x6ce125d
mov dword [ebp - 0x604], 0xaa8e55a4
mov dword [ebp - 0x60c], 0xfffffffd
mov dword [ebp - 0x614], 0xe5809974
mov dword [ebp - 0x61c], 1
cmp dword [ebp - 0x50], 0
je 0x10040a5c
mov dword [ebp - 0x350], 0x250db856
mov dword [ebp - 0x358], 0xfdb69689
mov dword [ebp - 0x3c4], 0xfffffffb
mov byte [ebp - 0x65], 0
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x100409c5
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5d8], eax
cmp dword [ebp - 0x50], 0xcd
jle 0x100409e3
mov dword [ebp - 0x1c4], 1
jmp 0x100409ea
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x350]
cmp eax, dword [ebp - 0x1c4]
jl 0x10040a04
mov dword [ebp - 0x25c], 1
jmp 0x10040a0b
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x25c], eax
jge 0x10040a22
mov dword [ebp - 0x1cc], 1
jmp 0x10040a29
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1cc], 0xaa810d21
ja 0x10040a47
cmp dword [ebp - 0x50], 0
je 0x10040a47
mov dword [ebp - 0x3dc], 1
jmp 0x10040a4e
and dword [ebp - 0x3dc], 0
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x3c4], eax
jmp 0x10040a95
mov dword [ebp - 0x2cc], 0xfffffffb
mov dword [ebp - 0x50], 0xb
jmp 0x10040a76
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x12
jle 0x10040a95
mov dword [ebp - 0x5a0], 0x8b4dfecb
mov eax, dword [ebp - 0x2cc]
inc eax
mov dword [ebp - 0x2cc], eax
jmp 0x10040a6f
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x1065ade8
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x58], 0xd2cc9105
mov dword [ebp - 0xac], 0x6b719d87
mov dword [ebp - 0x60], 0xb9338886
mov byte [ebp - 0x7e], 0
movzx eax, byte [ebp - 0x7e]
test eax, eax
je 0x10040aed
push 0xb0a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp dword [ebp - 0x14], 1
jne 0x10040aff
mov dword [ebp - 0x1ec], 1
jmp 0x10040b06
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x610], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffffb
je 0x10040b27
mov dword [ebp - 0x1d4], 1
jmp 0x10040b2e
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1d4], eax
jge 0x10040b45
mov dword [ebp - 0x264], 1
jmp 0x10040b4c
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x264]
lea eax, [ecx + eax - 0xa5bc]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jne 0x10040b71
mov dword [ebp - 0x1dc], 1
jmp 0x10040b78
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1dc], eax
jge 0x10040b8f
mov dword [ebp - 0x2ac], 1
jmp 0x10040b96
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xa6d0811
jle 0x10040bba
mov dword [ebp - 0x1e4], 1
jmp 0x10040bc1
and dword [ebp - 0x1e4], 0
cmp dword [ebp - 0x1e4], 1
jge 0x10040bdf
cmp dword [ebp - 0xac], 0
je 0x10040bdf
mov dword [ebp - 0x26c], 1
jmp 0x10040be6
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x14]
jle 0x10040c06
mov dword [ebp - 0x2ec], 1
jmp 0x10040c0d
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x1ec]
cmp eax, dword [ebp - 0x2ec]
jne 0x10040c27
mov dword [ebp - 0x1f4], 1
jmp 0x10040c2e
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1f4], eax
je 0x10040ed4
mov dword [ebp - 0x4c4], 9
mov dword [ebp - 0x4c0], 9
mov dword [ebp - 0x4bc], 9
mov dword [ebp - 0x4b8], 9
lea ecx, [ebp - 0x11d]
call fcn.1000d4cf
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x644]
call fcn.1000d4d2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3d8]
call fcn.1000d41f
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x14], 0
jmp 0x10040cb1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10040ea8
mov dword [ebp - 0x360], 0x3268dd2a
push 1
lea ecx, [ebp - 0x434]
call fcn.1000d3e3
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x10c], 0x18394d25
mov dword [ebp - 0x428], 2
mov dword [ebp - 0x424], 2
mov dword [ebp - 0x420], 2
mov dword [ebp - 0x41c], 2
mov dword [ebp - 0xc8], 0
jmp 0x10040d21
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 1
jge 0x10040d43
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x434]
call fcn.1000d4c0
mov dword [eax], 0xfffffffe
jmp 0x10040d14
cmp dword [ebp - 0x360], 0
je 0x10040d5e
cmp dword [ebp - 0x60], 0
je 0x10040d5e
mov dword [ebp - 0x274], 1
jmp 0x10040d65
and dword [ebp - 0x274], 0
cmp dword [ebp - 0x274], 0xa26c
jge 0x10040d7d
mov dword [ebp - 0x3e0], 1
jmp 0x10040d84
and dword [ebp - 0x3e0], 0
push 0
lea ecx, [ebp - 0x434]
call fcn.1000d4c0
mov dword [eax], 0x8c6dcff2
mov dword [ebp - 0x10c], 0x8c6dcff2
cmp dword [ebp - 0x10c], 0xffffffff
jb 0x10040dc1
cmp dword [ebp - 0xac], 0
je 0x10040dc1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x428], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x4fc], eax
push 3
pop eax
test eax, eax
jne 0x10040df2
push 1
lea ecx, [ebp - 0x3d8]
call fcn.1000d4c0
cmp dword [eax], 0
je 0x10040df2
mov dword [ebp - 0x1fc], 1
jmp 0x10040df9
and dword [ebp - 0x1fc], 0
push 3
lea ecx, [ebp - 0x3d8]
call fcn.1000d4c0
mov ecx, dword [ebp - 0x1fc]
cmp ecx, dword [eax]
jge 0x10040e1c
mov dword [ebp - 0x2b4], 1
jmp 0x10040e23
and dword [ebp - 0x2b4], 0
push 0
lea ecx, [ebp - 0x3d8]
call fcn.1000d4c0
mov ecx, dword [ebp - 0x2b4]
imul ecx, dword [eax]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x428]
jne 0x10040e54
mov dword [ebp - 0x204], 1
jmp 0x10040e5b
and dword [ebp - 0x204], 0
push 0
lea ecx, [ebp - 0x3d8]
call fcn.1000d4c0
mov ecx, dword [ebp - 0x204]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x428], 0
je 0x10040e94
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x434]
call fcn.1000d445
jmp 0x10040caa
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x434]
call fcn.1000d445
jmp 0x10040caa
mov byte [ebp - 0x67], 0
movzx eax, byte [ebp - 0x67]
test eax, eax
je 0x10040ec0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_UnionRect]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3d8]
call fcn.1000d445
jmp 0x10040ff3
mov dword [ebp - 0x2d4], 1
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x368], 0xfffffffe
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0xac], eax
jle 0x10040f06
mov dword [ebp - 0x27c], 1
jmp 0x10040f0d
and dword [ebp - 0x27c], 0
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x27c]
add eax, 0x457c1b23
cmp dword [ebp - 0x58], eax
jge 0x10040f30
mov dword [ebp - 0x20c], 1
jmp 0x10040f37
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x368]
add eax, dword [ebp - 0x20c]
je 0x10040f57
cmp dword [ebp - 0x6c], 0
je 0x10040f57
mov dword [ebp - 0x12c], 1
jmp 0x10040f5e
and dword [ebp - 0x12c], 0
mov dword [ebp - 0x2d4], 0x18ad385e
mov eax, dword [ebp - 0x2d4]
cmp eax, dword [ebp - 0x12c]
jg 0x10040f82
mov dword [ebp - 0x138], 1
jmp 0x10040f89
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x58], 0
jmp 0x10040fa2
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffe8
je 0x10040ff3
mov dword [ebp - 0x60], 0
jmp 0x10040fb8
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xfffffff8
je 0x10040ff1
mov dword [ebp - 0x6c], 0x12
jmp 0x10040fce
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x13
jl 0x10040fef
mov byte [ebp - 0x66], 0
movzx eax, byte [ebp - 0x66]
test eax, eax
je 0x10040fed
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x10040fc7
jmp 0x10040fb1
jmp 0x10040f9b
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x1065ade8
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x24], 0x6e5c7a00
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x3cc], 0x29a275ff
mov dword [ebp - 0xd0], 0
jmp 0x10041038
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 3
jge 0x10041054
mov eax, dword [ebp - 0xd0]
mov dword [ebp + eax*4 - 0x628], 0
jmp 0x1004102b
cmp dword [ebp - 0x24], 0
jne 0x10041069
cmp dword [ebp - 0x24], 0
jne 0x10041069
and dword [ebp - 0x140], 0
jmp 0x10041073
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x140]
test eax, eax
je 0x10041087
cmp dword [ebp - 0x24], 0
jne 0x10041095
or eax, 0xffffffff
jne 0x10041095
and dword [ebp - 0x114], 0
jmp 0x1004109f
mov dword [ebp - 0x114], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x114]
mov dword [ebp + eax - 0x628], ecx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x128], eax
jg 0x100410d3
cmp dword [ebp - 0x24], 0
je 0x100410d3
cmp dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x5f0], eax
mov eax, 0x4aa0d722
dec eax
cmp eax, 0x7d7c
jg 0x100410f5
mov dword [ebp - 0x150], 1
jmp 0x100410fc
and dword [ebp - 0x150], 0
or eax, 0xffffffff
sub eax, dword [ebp - 0x24]
sub eax, 0xfffc
cmp eax, dword [ebp - 0x150]
jg 0x1004111b
mov dword [ebp - 0x158], 1
jmp 0x10041122
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x158], eax
jg 0x10041139
mov dword [ebp - 0x160], 1
jmp 0x10041140
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x3cc], eax
mov byte [ebp - 0x80], 0
movzx eax, byte [ebp - 0x80]
test eax, eax
je 0x1004116e
push 0
push 0
push 0x10bd
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov eax, dword [ebp - 0x218]
mov dword [0x1065aff8], eax
mov dword [ebp - 0x34], 0x6ce125d
mov dword [ebp - 0x510], 0xaa8e55a4
mov dword [ebp - 0x5b0], 0xfffffffd
mov dword [ebp - 0x518], 0xe5809974
mov dword [ebp - 0x608], 1
cmp dword [ebp - 0x34], 0
je 0x1004127b
mov dword [ebp - 0x370], 0x250db856
mov dword [ebp - 0x378], 0xfdb69689
mov dword [ebp - 0x39c], 0xfffffffb
mov byte [ebp - 0x6d], 0
movzx eax, byte [ebp - 0x6d]
test eax, eax
je 0x100411e4
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x520], eax
cmp dword [ebp - 0x34], 0xcd
jle 0x10041202
mov dword [ebp - 0x168], 1
jmp 0x10041209
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x370]
cmp eax, dword [ebp - 0x168]
jl 0x10041223
mov dword [ebp - 0x170], 1
jmp 0x1004122a
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x170], eax
jge 0x10041241
mov dword [ebp - 0x178], 1
jmp 0x10041248
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x178], 0xaa810d21
ja 0x10041266
cmp dword [ebp - 0x34], 0
je 0x10041266
mov dword [ebp - 0x3e8], 1
jmp 0x1004126d
and dword [ebp - 0x3e8], 0
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x39c], eax
jmp 0x100412b4
mov dword [ebp - 0x180], 0xfffffffb
mov dword [ebp - 0x34], 0xb
jmp 0x10041295
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x12
jle 0x100412b4
mov dword [ebp - 0x5c0], 0x8b4dfecb
mov eax, dword [ebp - 0x180]
inc eax
mov dword [ebp - 0x180], eax
jmp 0x1004128e
mov eax, dword [ebp - 0x108]
mov dword [0x1065affc], eax
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x5c], 0xd2cc9105
mov dword [ebp - 0xa0], 0x6b719d87
mov dword [ebp - 0x74], 0xb9338886
mov byte [ebp - 0x81], 0
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x10041309
push 0xb0a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp dword [ebp - 0x10], 1
jne 0x1004131b
mov dword [ebp - 0x1b8], 1
jmp 0x10041322
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x528], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffffb
je 0x10041343
mov dword [ebp - 0x188], 1
jmp 0x1004134a
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x188], eax
jge 0x10041361
mov dword [ebp - 0x190], 1
jmp 0x10041368
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x190]
lea eax, [ecx + eax - 0xa5bc]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jne 0x1004138d
mov dword [ebp - 0x198], 1
jmp 0x10041394
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x198], eax
jge 0x100413ab
mov dword [ebp - 0x1a0], 1
jmp 0x100413b2
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xa6d0811
jle 0x100413d6
mov dword [ebp - 0x1a8], 1
jmp 0x100413dd
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x1a8], 1
jge 0x100413fb
cmp dword [ebp - 0xa0], 0
je 0x100413fb
mov dword [ebp - 0x1b0], 1
jmp 0x10041402
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jle 0x10041422
mov dword [ebp - 0x1c0], 1
jmp 0x10041429
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1c0]
jne 0x10041443
mov dword [ebp - 0x1c8], 1
jmp 0x1004144a
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1c8], eax
je 0x100416f0
mov dword [ebp - 0x49c], 9
mov dword [ebp - 0x498], 9
mov dword [ebp - 0x494], 9
mov dword [ebp - 0x490], 9
lea ecx, [ebp - 0x10e]
call fcn.1000d4cf
push eax
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x63c]
call fcn.1000d4d2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x408]
call fcn.1000d41f
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x10], 0
jmp 0x100414cd
cmp dword [ebp - 0x10], 0
je 0x100416c4
mov dword [ebp - 0x380], 0x3268dd2a
push 1
lea ecx, [ebp - 0x440]
call fcn.1000d3e3
mov byte [ebp - 4], 0x10
mov dword [ebp - 0xfc], 0x18394d25
mov dword [ebp - 0x418], 2
mov dword [ebp - 0x414], 2
mov dword [ebp - 0x410], 2
mov dword [ebp - 0x40c], 2
mov dword [ebp - 0xb0], 0
jmp 0x1004153d
cmp dword [ebp - 0xb0], 1
jge 0x1004155f
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x440]
call fcn.1000d4c0
mov dword [eax], 0xfffffffe
jmp 0x10041530
cmp dword [ebp - 0x380], 0
je 0x1004157a
mov byte [ebp - 0x75], 0
movzx eax, byte [ebp - 0x75]
test eax, eax
je 0x100416dc
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_UnionRect]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x408]
call fcn.1000d445
jmp 0x1004180f
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x38c], 0xfffffffe
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0xa0], eax
jle 0x10041722
mov dword [ebp - 0x1f0], 1
jmp 0x10041729
and dword [ebp - 0x1f0], 0
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x1f0]
add eax, 0x457c1b23
cmp dword [ebp - 0x5c], eax
jge 0x1004174c
mov dword [ebp - 0x1f8], 1
jmp 0x10041753
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x38c]
add eax, dword [ebp - 0x1f8]
je 0x10041773
cmp dword [ebp - 0x7c], 0
je 0x10041773
mov dword [ebp - 0x124], 1
jmp 0x1004177a
and dword [ebp - 0x124], 0
mov dword [ebp - 0x200], 0x18ad385e
mov eax, dword [ebp - 0x200]
cmp eax, dword [ebp - 0x124]
jg 0x1004179e
mov dword [ebp - 0x210], 1
jmp 0x100417a5
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x5c], 0
jmp 0x100417be
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x108]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + ecx]
call fcn.1003f566
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x20], 0x6e5c7a00
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x3a8], 0x29a275ff
mov dword [ebp - 0xe4], 0
jmp 0x1004186c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret