Function at 0x1003e346
Capabilities:
Get system information on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e4af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x70c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x8c], 0x9cd4431f
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x5c], 0x5943e2f7
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0xb4], 0x767dbf12
push 3
lea ecx, [ebp - 0x4c0]
call fcn.1002a6d6
and dword [ebp - 4], 0
mov dword [ebp - 0x3dc], 0xfffffffc
mov dword [ebp - 0x458], 0xa5e2b195
mov dword [ebp - 0x2a8], 0xe904
mov dword [ebp - 0x18], 0
jmp 0x1003e3d3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1003e3e9
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x190], 7
jmp 0x1003e3cc
mov dword [ebp - 0x18], 0
jmp 0x1003e3f9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1003e40f
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x348], 0xfffffffd
jmp 0x1003e3f2
mov dword [ebp - 0x18], 0
jmp 0x1003e41f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1003e43b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4c0]
call fcn.1002a774
mov dword [eax], 7
jmp 0x1003e418
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x190], 0xce3051eb
jne 0x1003e459
mov dword [ebp - 0x25c], 1
jmp 0x1003e460
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x8c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x190]
add eax, 0xce4a
cmp eax, dword [ebp - 0x8c]
jl 0x1003e492
mov dword [ebp - 0x35c], 1
jmp 0x1003e499
and dword [ebp - 0x35c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x190]
cmp dword [ebp - 0x35c], eax
jl 0x1003e4ba
mov dword [ebp - 0x364], 1
jmp 0x1003e4c1
and dword [ebp - 0x364], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x190]
cmp dword [ebp - 0x364], eax
jle 0x1003e4e2
mov dword [ebp - 0x36c], 1
jmp 0x1003e4e9
and dword [ebp - 0x36c], 0
cmp dword [ebp - 0x36c], 0
jne 0x1003e4fe
mov dword [ebp - 0x2f8], 1
jmp 0x1003e505
and dword [ebp - 0x2f8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x190]
cmp dword [ebp - 0x2f8], eax
jg 0x1003e526
mov dword [ebp - 0x46c], 1
jmp 0x1003e52d
and dword [ebp - 0x46c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x190]
mov dword [ebp - 0x52c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x190], 0xfffffff7
ja 0x1003e55c
mov dword [ebp - 0x33c], 1
jmp 0x1003e563
and dword [ebp - 0x33c], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x33c], eax
je 0x1003e580
cmp dword [ebp - 0x80], 0
je 0x1003e580
mov dword [ebp - 0x1b8], 1
jmp 0x1003e587
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
add eax, 0xf2d
mov dword [ebp - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp + eax - 0x190]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x348], eax
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x348], 7
cmp dword [ebp - 0x40], 7
jne 0x1003e5db
mov dword [ebp - 0x1c0], 1
jmp 0x1003e5e2
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
neg eax
je 0x1003e669
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x190]
mov dword [ebp - 0x654], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x190], 0xffffffff
jg 0x1003e61e
mov dword [ebp - 0x290], 1
jmp 0x1003e625
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x40]
je 0x1003e642
mov dword [ebp - 0x3d4], 1
jmp 0x1003e649
and dword [ebp - 0x3d4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x80]
jg 0x1003e669
mov dword [ebp - 0x330], 1
jmp 0x1003e670
and dword [ebp - 0x330], 0
mov eax, dword [ebp - 0x1c0]
cmp eax, dword [ebp - 0x330]
jg 0x1003e68a
mov dword [ebp - 0x1c8], 1
jmp 0x1003e691
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x40], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp + eax - 0x190]
jl 0x1003e6b8
mov dword [ebp - 0x298], 1
jmp 0x1003e6bf
and dword [ebp - 0x298], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x298], eax
jl 0x1003e6e9
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x348], 0
je 0x1003e6e9
mov dword [ebp - 0x1d0], 1
jmp 0x1003e6f0
and dword [ebp - 0x1d0], 0
cmp dword [ebp - 0x1d0], 0xfffffffa
jle 0x1003e715
cmp dword [ebp - 0xb4], 0
je 0x1003e715
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x1003e715
mov dword [ebp - 0x300], 1
jmp 0x1003e71c
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x300]
jl 0x1003e8da
mov dword [ebp - 0xa4], 0x698b
mov dword [ebp - 0x460], 4
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x14c], 0
jmp 0x1003e765
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 2
jge 0x1003e781
mov eax, dword [ebp - 0x14c]
mov dword [ebp + eax*4 - 0x69c], 0x726993c4
jmp 0x1003e758
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x500], eax
mov dword [ebp - 0x8c], 0xc499
cmp dword [ebp - 0x8c], 0
jne 0x1003e812
mov eax, 0xffff36f9
test eax, eax
je 0x1003e7f3
cmp dword [ebp - 0xa4], 5
jl 0x1003e7be
mov dword [ebp - 0x1d8], 1
jmp 0x1003e7c5
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x1d8], eax
je 0x1003e7df
mov dword [ebp - 0x2a0], 1
jmp 0x1003e7e6
and dword [ebp - 0x2a0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x348]
push 0
lea ecx, [ebp - 0x4c0]
call fcn.1002a774
and dword [eax], 0
cmp dword [ebp - 0x5c], 0
jne 0x1003e812
and dword [ebp - 0x164], 0
jmp 0x1003e81c
mov dword [ebp - 0x164], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x164]
mov dword [ebp + eax - 0x348], ecx
mov eax, dword [ebp - 0x164]
sub eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x3dc]
je 0x1003e84f
mov dword [ebp - 0x1e0], 1
jmp 0x1003e856
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x1e0]
jne 0x1003e86d
mov dword [ebp - 0x450], 1
jmp 0x1003e874
and dword [ebp - 0x450], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x508], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x458]
jl 0x1003e89a
mov dword [ebp - 0x360], 1
jmp 0x1003e8a1
and dword [ebp - 0x360], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x360], eax
jge 0x1003e8b8
mov dword [ebp - 0x1e8], 1
jmp 0x1003e8bf
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x2a8]
inc eax
mov dword [ebp - 0x2a8], eax
jmp 0x1003e8f8
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x1003e8f8
push 0x1172
push 0
push 0x5bb
call dword [sym.imp.GDI32.dll_Polyline]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c0]
call fcn.1002a758
mov dword [ebp - 0x9c], 0x9cd4431f
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x48], 0x5943e2f7
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0xac], 0x767dbf12
push 3
lea ecx, [ebp - 0x4d8]
call fcn.1002a6d6
mov dword [ebp - 4], 1
mov dword [ebp - 0x3a4], 0xfffffffc
mov dword [ebp - 0x390], 0xa5e2b195
mov dword [ebp - 0x2d0], 0xe904
mov dword [ebp - 0x14], 0
jmp 0x1003e975
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1003e98b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x180], 7
jmp 0x1003e96e
mov dword [ebp - 0x14], 0
jmp 0x1003e99b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1003e9b1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x354], 0xfffffffd
jmp 0x1003e994
mov dword [ebp - 0x14], 0
jmp 0x1003e9c1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1003e9dd
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4d8]
call fcn.1002a774
mov dword [eax], 7
jmp 0x1003e9ba
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x180], 0xce3051eb
jne 0x1003e9fb
mov dword [ebp - 0x1f0], 1
jmp 0x1003ea02
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x9c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x180]
add eax, 0xce4a
cmp eax, dword [ebp - 0x9c]
jl 0x1003ea34
mov dword [ebp - 0x308], 1
jmp 0x1003ea3b
and dword [ebp - 0x308], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x180]
cmp dword [ebp - 0x308], eax
jl 0x1003ea5c
mov dword [ebp - 0x1f8], 1
jmp 0x1003ea63
and dword [ebp - 0x1f8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x180]
cmp dword [ebp - 0x1f8], eax
jle 0x1003ea84
mov dword [ebp - 0x2b0], 1
jmp 0x1003ea8b
and dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x2b0], 0
jne 0x1003eaa0
mov dword [ebp - 0x200], 1
jmp 0x1003eaa7
and dword [ebp - 0x200], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x180]
cmp dword [ebp - 0x200], eax
jg 0x1003eac8
mov dword [ebp - 0x468], 1
jmp 0x1003eacf
and dword [ebp - 0x468], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x180]
mov dword [ebp - 0x510], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x180], 0xfffffff7
ja 0x1003eafe
mov dword [ebp - 0x338], 1
jmp 0x1003eb05
and dword [ebp - 0x338], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x338], eax
je 0x1003eb28
cmp dword [ebp - 0x84], 0
je 0x1003eb28
mov dword [ebp - 0x208], 1
jmp 0x1003eb2f
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x208]
add eax, 0xf2d
mov dword [ebp - 0x48], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp + eax - 0x180]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x354], eax
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x354], 7
cmp dword [ebp - 0x44], 7
jne 0x1003eb83
mov dword [ebp - 0x210], 1
jmp 0x1003eb8a
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
neg eax
je 0x1003ec1b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x180]
mov dword [ebp - 0x518], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x180], 0xffffffff
jg 0x1003ebca
mov dword [ebp - 0x2b8], 1
jmp 0x1003ebd1
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x44]
je 0x1003ebee
mov dword [ebp - 0x3cc], 1
jmp 0x1003ebf5
and dword [ebp - 0x3cc], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x520], eax
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x84]
jg 0x1003ec1b
mov dword [ebp - 0x310], 1
jmp 0x1003ec22
and dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x310]
jg 0x1003ec3c
mov dword [ebp - 0x218], 1
jmp 0x1003ec43
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x44], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + eax - 0x180]
jl 0x1003ec6a
mov dword [ebp - 0x2c0], 1
jmp 0x1003ec71
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x2c0], eax
jl 0x1003ec9b
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x354], 0
je 0x1003ec9b
mov dword [ebp - 0x220], 1
jmp 0x1003eca2
and dword [ebp - 0x220], 0
cmp dword [ebp - 0x220], 0xfffffffa
jle 0x1003ecc7
cmp dword [ebp - 0xac], 0
je 0x1003ecc7
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x1003ecc7
mov dword [ebp - 0x358], 1
jmp 0x1003ecce
and dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x358]
jl 0x1003ee8f
mov dword [ebp - 0x94], 0x698b
mov dword [ebp - 0x3f8], 4
mov dword [ebp - 0x528], 0
mov dword [ebp - 0xbc], 0
jmp 0x1003ed17
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 2
jge 0x1003ed33
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 0x6a4], 0x726993c4
jmp 0x1003ed0a
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x9c], 0xc499
cmp dword [ebp - 0x9c], 0
jne 0x1003edc4
mov eax, 0xffff36f9
test eax, eax
je 0x1003eda5
cmp dword [ebp - 0x94], 5
jl 0x1003ed70
mov dword [ebp - 0x228], 1
jmp 0x1003ed77
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x228], eax
je 0x1003ed91
mov dword [ebp - 0x2c8], 1
jmp 0x1003ed98
and dword [ebp - 0x2c8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x354]
push 0
lea ecx, [ebp - 0x4d8]
call fcn.1002a774
and dword [eax], 0
cmp dword [ebp - 0x48], 0
jne 0x1003edc4
and dword [ebp - 0x16c], 0
jmp 0x1003edce
mov dword [ebp - 0x16c], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x16c]
mov dword [ebp + eax - 0x354], ecx
mov eax, dword [ebp - 0x16c]
sub eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x3a4]
je 0x1003ee01
mov dword [ebp - 0x230], 1
jmp 0x1003ee08
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x230]
jne 0x1003ee1f
mov dword [ebp - 0x464], 1
jmp 0x1003ee26
and dword [ebp - 0x464], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x390]
jl 0x1003ee4c
mov dword [ebp - 0x318], 1
jmp 0x1003ee53
and dword [ebp - 0x318], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x318], eax
jge 0x1003ee6d
mov dword [ebp - 0x238], 1
jmp 0x1003ee74
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x3f8], eax
mov eax, dword [ebp - 0x2d0]
inc eax
mov dword [ebp - 0x2d0], eax
jmp 0x1003eead
mov byte [ebp - 0x4c], 0
movzx eax, byte [ebp - 0x4c]
test eax, eax
je 0x1003eead
push 0x1172
push 0
push 0x5bb
call dword [sym.imp.GDI32.dll_Polyline]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d8]
call fcn.1002a758
mov dword [ebp - 0x64], 0xfffd
mov dword [ebp - 0x67c], 0xffffffff
mov dword [ebp - 0x678], 0xffffffff
mov dword [ebp - 0x674], 0xffffffff
mov dword [ebp - 0x670], 0xffffffff
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x64], 0
jmp 0x1003ef02
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jg 0x1003ef1e
mov byte [ebp - 0x56], 0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x1003ef1c
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x1003eefb
mov dword [ebp - 0x78], 0xfffd
mov dword [ebp - 0x644], 0xffffffff
mov dword [ebp - 0x640], 0xffffffff
mov dword [ebp - 0x63c], 0xffffffff
mov dword [ebp - 0x638], 0xffffffff
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x78], 0
jmp 0x1003ef64
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jg 0x1003ef80
mov byte [ebp - 0x4e], 0
movzx eax, byte [ebp - 0x4e]
test eax, eax
je 0x1003ef7e
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x1003ef5d
mov dword [ebp - 0x240], 0x381c
mov dword [ebp - 0x440], 0x1000b0b4
cmp dword [ebp - 0x240], 0x3b1b
jle 0x1003f07c
and dword [ebp - 0xc0], 0
jmp 0x1003efba
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x698a
jge 0x1003f07c
and dword [ebp - 0xc4], 0
jmp 0x1003efe0
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x25b3
jge 0x1003f077
and dword [ebp - 0x124], 0
jmp 0x1003f006
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0x7020
jge 0x1003f072
mov eax, dword [ebp - 0xc0]
cdq
idiv dword [ebp - 0xc4]
sub edx, dword [ebp - 0x124]
mov eax, edx
cdq
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], edx
push dword [ebp - 0x3e4]
push dword [ebp - 0x3e8]
lea ecx, [ebp - 0x6bc]
call fcn.1000cd20
pop ecx
pop ecx
mov dword [ebp - 0x398], eax
mov ecx, dword [ebp - 0x398]
call fcn.1002a5a1
push eax
call fcn.100480d6
pop ecx
lea ecx, [ebp - 0x6bc]
call fcn.1002a597
jmp 0x1003eff9
jmp 0x1003efd3
jmp 0x1003efad
mov dword [ebp - 4], 2
cmp dword [ebp - 0x240], 0x3534
jge 0x1003f09b
push dword [ebp - 0x440]
call fcn.100480d6
pop ecx
jmp 0x1003f0b7
or dword [ebp - 4], 0xffffffff
jmp 0x1003f0c1
mov dword [ebp - 0x3a0], 0xfffffffd
mov dword [ebp - 0x70], 0x9ad59e57
mov dword [ebp - 0x404], 0xfffffffe
mov dword [ebp - 0x248], 0xffffffff
mov dword [ebp - 0x184], 0xcef3cf68
mov dword [ebp - 0x3a8], 0xadc1094
mov dword [ebp - 0x3b0], 0x2883e731
mov dword [ebp - 0x58c], 0xfffffffe
mov dword [ebp - 0x594], 0xfffffff8
push 4
lea ecx, [ebp - 0x5fc]
call fcn.1002a6d6
mov dword [ebp - 4], 4
mov dword [ebp - 0x270], 3
push 2
lea ecx, [ebp - 0x4cc]
call fcn.1002a6d6
mov byte [ebp - 4], 5
mov dword [ebp - 0x38], 0
jmp 0x1003f157
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x1003f173
push dword [ebp - 0x38]
lea ecx, [ebp - 0x5fc]
call fcn.1002a774
mov dword [eax], 0xb0b826fb
jmp 0x1003f150
mov dword [ebp - 0x38], 0
jmp 0x1003f183
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1003f19f
push dword [ebp - 0x38]
lea ecx, [ebp - 0x4cc]
call fcn.1002a774
mov dword [eax], 1
jmp 0x1003f17c
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x1003f1c9
mov byte [ebp - 0x54], 0
movzx eax, byte [ebp - 0x54]
test eax, eax
je 0x1003f1c4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
jmp 0x1003f52c
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x260], 0x19d87263
mov dword [ebp - 0x59c], 1
mov dword [ebp - 0x5a4], 0xfffffffa
mov dword [ebp - 0x5ac], 0xbab1f35
mov dword [ebp - 0x5b4], 0xabed9978
push 3
lea ecx, [ebp - 0x5ec]
call fcn.1002a6d6
mov byte [ebp - 4], 6
mov dword [ebp - 0x5bc], 0xd385e397
mov dword [ebp - 0xcc], 0
jmp 0x1003f239
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 3
jge 0x1003f25b
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x5ec]
call fcn.1002a774
mov dword [eax], 1
jmp 0x1003f22c
mov dword [ebp - 0x70], 0xe
jmp 0x1003f26b
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 8
jne 0x1003f510
push 3
lea ecx, [ebp - 0x1a8]
call fcn.1002a6d6
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], 0
jmp 0x1003f296
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1003f2b2
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1a8]
call fcn.1002a774
mov dword [eax], 0x8ee41b66
jmp 0x1003f28f
mov dword [ebp - 0x20], 0
jmp 0x1003f2c2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1003f2d8
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x544], 0xb1b0cadf
jmp 0x1003f2bb
mov dword [ebp - 0x20], 0
jmp 0x1003f2e8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1003f2fe
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x688], 3
jmp 0x1003f2e1
mov eax, 0xdfba
test eax, eax
je 0x1003f41a
mov eax, dword [ebp - 0x404]
cmp eax, dword [ebp - 0x260]
jl 0x1003f325
mov dword [ebp - 0x340], 1
jmp 0x1003f32c
and dword [ebp - 0x340], 0
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x2d8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp + eax - 0x544], ecx
cmp dword [ebp - 0x2d8], 0xde6b9338
ja 0x1003f36f
mov dword [ebp - 0x250], 1
jmp 0x1003f376
and dword [ebp - 0x250], 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1002a774
mov ecx, dword [ebp - 0x250]
cmp ecx, dword [eax]
je 0x1003f399
mov dword [ebp - 0x320], 1
jmp 0x1003f3a0
and dword [ebp - 0x320], 0
mov dword [ebp - 0x258], 0x2b90
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x258]
cmp eax, dword [ebp - 0x184]
jne 0x1003f3d0
mov dword [ebp - 0x2e0], 1
jmp 0x1003f3d7
and dword [ebp - 0x2e0], 0
mov eax, dword [ebp - 0x3a8]
cmp dword [ebp - 0x2e0], eax
jl 0x1003f3f1
mov dword [ebp - 0x45c], 1
jmp 0x1003f3f8
and dword [ebp - 0x45c], 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1002a774
cmp dword [ebp - 0x260], 0
je 0x1003f41a
mov dword [ebp - 0x368], 1
jmp 0x1003f421
and dword [ebp - 0x368], 0
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x3b0], eax
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1002a774
mov esi, eax
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1002a774
mov eax, dword [eax]
sub eax, dword [esi]
cmp eax, 0xa26c
jg 0x1003f472
push 2
lea ecx, [ebp - 0x1a8]
call fcn.1002a774
cmp dword [eax], 0
je 0x1003f472
mov dword [ebp - 0x268], 1
jmp 0x1003f479
and dword [ebp - 0x268], 0
cmp dword [ebp - 0x268], 0xc51ac06e
jb 0x1003f491
mov dword [ebp - 0x2e8], 1
jmp 0x1003f498
and dword [ebp - 0x2e8], 0
mov esi, dword [ebp - 0x2e8]
sub esi, 0x3cf435f5
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1002a774
cmp dword [eax], esi
je 0x1003f4c1
mov dword [ebp - 0x410], 1
jmp 0x1003f4c8
and dword [ebp - 0x410], 0
push 1
lea ecx, [ebp - 0x1a8]
call fcn.1002a774
mov eax, dword [ebp - 0x184]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x688], eax
mov byte [ebp - 0x50], 0
movzx eax, byte [ebp - 0x50]
test eax, eax
je 0x1003f4fc
push 0
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a8]
call fcn.1002a758
jmp 0x1003f264
mov eax, dword [ebp - 0x270]
inc eax
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5ec]
call fcn.1002a758
push 1
lea ecx, [ebp - 0x4cc]
call fcn.1002a774
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x328]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x328]
mov dword [ecx], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4cc]
call fcn.1002a758
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5fc]
call fcn.1002a758
mov dword [ebp - 0x3b8], 0xfffffffd
mov dword [ebp - 0x68], 0x9ad59e57
mov dword [ebp - 0x3c0], 0xfffffffe
mov dword [ebp - 0x280], 0xffffffff
mov dword [ebp - 0x174], 0xcef3cf68
mov dword [ebp - 0x41c], 0xadc1094
mov dword [ebp - 0x370], 0x2883e731
mov dword [ebp - 0x5c4], 0xfffffffe
mov dword [ebp - 0x5cc], 0xfffffff8
push 4
lea ecx, [ebp - 0x61c]
call fcn.1002a6d6
mov dword [ebp - 4], 8
mov dword [ebp - 0x1e4], 3
push 2
lea ecx, [ebp - 0x4f0]
call fcn.1002a6d6
mov byte [ebp - 4], 9
mov dword [ebp - 0x2c], 0
jmp 0x1003f604
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
jge 0x1003f620
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x61c]
call fcn.1002a774
mov dword [eax], 0xb0b826fb
jmp 0x1003f5fd
mov dword [ebp - 0x2c], 0
jmp 0x1003f630
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1003f64c
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4f0]
call fcn.1002a774
mov dword [eax], 1
jmp 0x1003f629
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x1003f676
mov byte [ebp - 0x53], 0
movzx eax, byte [ebp - 0x53]
test eax, eax
je 0x1003f671
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
jmp 0x1003fabc
mov dword [ebp - 0x1b4], 7
mov dword [ebp - 0x1c4], 0x19d87263
mov dword [ebp - 0x278], 0xa12
mov dword [ebp - 0x44c], 0x1000b114
cmp dword [ebp - 0x278], 0xc42
jle 0x1003f721
and dword [ebp - 0x15c], 0
jmp 0x1003f6c0
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0x88c
jge 0x1003f721
and dword [ebp - 0xd4], 0
jmp 0x1003f6e2
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x57af
jge 0x1003f71f
mov eax, dword [ebp - 0x15c]
or eax, dword [ebp - 0xd4]
cdq
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 0x3f0], edx
push dword [ebp - 0x3f0]
push dword [ebp - 0x3f4]
mov ecx, 0x10606538
call fcn.1002a5c1
jmp 0x1003f6d5
jmp 0x1003f6b3
mov dword [ebp - 0x5d4], 1
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x278], 0x9d3
jge 0x1003f74b
mov edx, dword [ebp - 0x44c]
mov ecx, 0x10606538
call fcn.1002c06b
jmp 0x1003f767
mov dword [ebp - 4], 9
jmp 0x1003f777
mov dword [ebp - 0x5dc], 0xfffffffa
mov dword [ebp - 0x650], 0xbab1f35
mov dword [ebp - 0x658], 0xabed9978
push 3
lea ecx, [ebp - 0x60c]
call fcn.1002a6d6
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x660], 0xd385e397
mov dword [ebp - 0x12c], 0
jmp 0x1003f7c9
mov eax, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 3
jge 0x1003f7eb
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x60c]
call fcn.1002a774
mov dword [eax], 1
jmp 0x1003f7bc
mov dword [ebp - 0x68], 0xe
jmp 0x1003f7fb
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 8
jne 0x1003faa0
push 3
lea ecx, [ebp - 0x19c]
call fcn.1002a6d6
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x1c], 0
jmp 0x1003f826
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1003f842
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x19c]
call fcn.1002a774
mov dword [eax], 0x8ee41b66
jmp 0x1003f81f
mov dword [ebp - 0x1c], 0
jmp 0x1003f852
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1003f868
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x550], 0xb1b0cadf
jmp 0x1003f84b
mov dword [ebp - 0x1c], 0
jmp 0x1003f878
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1003f88e
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x694], 3
jmp 0x1003f871
mov eax, 0xdfba
test eax, eax
je 0x1003f9aa
mov eax, dword [ebp - 0x3c0]
cmp eax, dword [ebp - 0x1c4]
jl 0x1003f8b5
mov dword [ebp - 0x2f0], 1
jmp 0x1003f8bc
and dword [ebp - 0x2f0], 0
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x34c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x34c]
mov dword [ebp + eax - 0x550], ecx
cmp dword [ebp - 0x34c], 0xde6b9338
ja 0x1003f8ff
mov dword [ebp - 0x288], 1
jmp 0x1003f906
and dword [ebp - 0x288], 0
push 0
lea ecx, [ebp - 0x19c]
call fcn.1002a774
mov ecx, dword [ebp - 0x288]
cmp ecx, dword [eax]
je 0x1003f929
mov dword [ebp - 0x1b0], 1
jmp 0x1003f930
and dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1b4], 0x2b90
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0x174]
jne 0x1003f960
mov dword [ebp - 0x1bc], 1
jmp 0x1003f967
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x41c]
cmp dword [ebp - 0x1bc], eax
jl 0x1003f981
mov dword [ebp - 0x3c8], 1
jmp 0x1003f988
and dword [ebp - 0x3c8], 0
push 0
lea ecx, [ebp - 0x19c]
call fcn.1002a774
cmp dword [ebp - 0x1c4], 0
je 0x1003f9aa
mov dword [ebp - 0x1cc], 1
jmp 0x1003f9b1
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x370], eax
push 0
lea ecx, [ebp - 0x19c]
call fcn.1002a774
mov esi, eax
push 0
lea ecx, [ebp - 0x19c]
call fcn.1002a774
mov eax, dword [eax]
sub eax, dword [esi]
cmp eax, 0xa26c
jg 0x1003fa02
push 2
lea ecx, [ebp - 0x19c]
call fcn.1002a774
cmp dword [eax], 0
je 0x1003fa02
mov dword [ebp - 0x1d4], 1
jmp 0x1003fa09
and dword [ebp - 0x1d4], 0
cmp dword [ebp - 0x1d4], 0xc51ac06e
jb 0x1003fa21
mov dword [ebp - 0x1dc], 1
jmp 0x1003fa28
and dword [ebp - 0x1dc], 0
mov esi, dword [ebp - 0x1dc]
sub esi, 0x3cf435f5
push 0
lea ecx, [ebp - 0x19c]
call fcn.1002a774
cmp dword [eax], esi
je 0x1003fa51
mov dword [ebp - 0x3d0], 1
jmp 0x1003fa58
and dword [ebp - 0x3d0], 0
push 1
lea ecx, [ebp - 0x19c]
call fcn.1002a774
mov eax, dword [ebp - 0x174]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x694], eax
mov byte [ebp - 0x5d], 0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x1003fa8c
push 0
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x19c]
call fcn.1002a758
jmp 0x1003f7f4
mov eax, dword [ebp - 0x1e4]
inc eax
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60c]
call fcn.1002a758
push 1
lea ecx, [ebp - 0x4f0]
call fcn.1002a774
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ecx], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4f0]
call fcn.1002a758
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x61c]
call fcn.1002a758
movzx eax, byte [0x106075d0]
test eax, eax
je 0x1003fb1c
mov esi, 0x10605dcc
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 0x1004117c
mov dword [ebp - 0x668], 0x10605dcc
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x4fc], 4
mov dword [ebp - 0xdc], 0
jmp 0x1003fb5a
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x16
jl 0x1003fd1a
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x1fc], 0x141a9c21
mov byte [ebp - 0x49], 0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x1003fb8f
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x154], 0xf
jmp 0x1003fba8
mov eax, dword [ebp - 0x154]
dec eax
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 6
jle 0x1003fd15
mov dword [ebp - 0x134], 0x82ff
mov dword [ebp - 0x224], 0xfffffff9
mov dword [ebp - 0x620], 0x61d594d0
mov dword [ebp - 0xe4], 0
jmp 0x1003fbec
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 2
jge 0x1003fc08
mov eax, dword [ebp - 0xe4]
mov dword [ebp + eax*4 - 0x400], 1
jmp 0x1003fbdf
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x134]
neg eax
cmp eax, dword [ebp - 0x134]
jg 0x1003fc2d
mov dword [ebp - 0x1f4], 1
jmp 0x1003fc34
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x428], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x400]
mov dword [ebp - 0x3d8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x400]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x400], eax
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 0x3d8]
jg 0x1003fc94
mov dword [ebp - 0x20c], 1
jmp 0x1003fc9b
and dword [ebp - 0x20c], 0
cmp dword [ebp - 0x134], 0xffffffff
jg 0x1003fcb6
cmp dword [ebp - 0x224], 0
jne 0x1003fcb6
and dword [ebp - 0x204], 0
jmp 0x1003fcc0
mov dword [ebp - 0x204], 1
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x204]
jl 0x1003fcd7
mov dword [ebp - 0x214], 1
jmp 0x1003fcde
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x20c]
cmp eax, dword [ebp - 0x214]
jle 0x1003fcf8
mov dword [ebp - 0x21c], 1
jmp 0x1003fcff
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
sub eax, 0x2314af1
mov dword [ebp - 0x224], eax
jmp 0x1003fb9b
jmp 0x1003fb4d
mov dword [ebp - 0x6c], 0xfffffffd
jmp 0x1003fd2a
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffeb
jge 0x1003fd4f
mov byte [ebp - 0x4b], 0
movzx eax, byte [ebp - 0x4b]
test eax, eax
je 0x1003fd4d
push 0x219c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
jmp 0x1003fd23
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x504], 4
mov dword [ebp - 0xec], 0
jmp 0x1003fd83
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x16
jl 0x1003ff43
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x234], 0x141a9c21
mov byte [ebp - 0x4f], 0
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x1003fdb8
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x148], 0xf
jmp 0x1003fdd1
mov eax, dword [ebp - 0x148]
dec eax
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 6
jle 0x1003ff3e
mov dword [ebp - 0x13c], 0x82ff
mov dword [ebp - 0x1ac], 0xfffffff9
mov dword [ebp - 0x5c0], 0x61d594d0
mov dword [ebp - 0xf4], 0
jmp 0x1003fe15
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 2
jge 0x1003fe31
mov eax, dword [ebp - 0xf4]
mov dword [ebp + eax*4 - 0x40c], 1
jmp 0x1003fe08
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x13c]
neg eax
cmp eax, dword [ebp - 0x13c]
jg 0x1003fe56
mov dword [ebp - 0x22c], 1
jmp 0x1003fe5d
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x454], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x40c]
mov dword [ebp - 0x3e0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x40c]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x40c], eax
mov eax, dword [ebp - 0x454]
cmp eax, dword [ebp - 0x3e0]
jg 0x1003febd
mov dword [ebp - 0x244], 1
jmp 0x1003fec4
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x13c], 0xffffffff
jg 0x1003fedf
cmp dword [ebp - 0x1ac], 0
jne 0x1003fedf
and dword [ebp - 0x23c], 0
jmp 0x1003fee9
mov dword [ebp - 0x23c], 1
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x23c]
jl 0x1003ff00
mov dword [ebp - 0x24c], 1
jmp 0x1003ff07
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x24c]
jle 0x1003ff21
mov dword [ebp - 0x254], 1
jmp 0x1003ff28
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x254]
sub eax, 0x2314af1
mov dword [ebp - 0x1ac], eax
jmp 0x1003fdc4
jmp 0x1003fd76
mov dword [ebp - 0x74], 0xfffffffd
jmp 0x1003ff53
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffeb
jge 0x1003ff78
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x1003ff76
push 0x219c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
jmp 0x1003ff4c
mov dword [ebp - 0x50c], 0x10605dd0
mov dword [ebp - 0x664], 0xffffffff
mov dword [ebp - 0x514], 0x6432a276
mov dword [ebp - 0x5c8], 0xfffffff6
mov dword [ebp - 0x51c], 2
mov dword [ebp - 0x630], 0x95010f7a
mov dword [ebp - 0x524], 1
mov dword [ebp - 0x5d0], 0xfffffffd
mov dword [ebp - 0x4f4], 0xffffffff
mov dword [ebp - 0x634], 0xa23fe5e8
mov dword [ebp - 0x534], 0xd94e8fe7
mov dword [ebp - 0x558], 0xb0ad8ea5
mov dword [ebp - 0x53c], 0xc266d8ff
mov dword [ebp - 0x264], 5
mov dword [ebp - 0xfc], 0
jmp 0x1004001d
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 3
jge 0x10040039
mov eax, dword [ebp - 0xfc]
mov dword [ebp + eax*4 - 0x704], 1
jmp 0x10040010
mov eax, dword [ebp - 0x264]
inc eax
mov dword [ebp - 0x264], eax
mov byte [0x106075d0], 1
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x10605dd8
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x47c], 0xa5d6c05b
mov dword [ebp - 0x478], 0xa5d6c05b
mov dword [ebp - 0x474], 0xa5d6c05b
mov dword [ebp - 0x470], 0xa5d6c05b
mov dword [ebp - 0x26c], 0xc891c553
push 2
lea ecx, [ebp - 0x4e4]
call fcn.1002a6d6
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x150], 0
jmp 0x100400c0
mov eax, dword [ebp - 0x150]
inc eax
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 2
jge 0x100400df
push dword [ebp - 0x150]
lea ecx, [ebp - 0x4e4]
call fcn.1002a774
or dword [eax], 0xffffffff
jmp 0x100400b3
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x47c], 0
jmp 0x1004010d
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x47c]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x47c], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x47c], 0xffffffe8
jl 0x10040176
mov dword [ebp - 0x274], 0x6e6f7fbf
mov dword [ebp - 0x26c], 3
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0x21f90ef3
jne 0x10040155
mov dword [ebp - 0x27c], 1
jmp 0x1004015c
and dword [ebp - 0x27c], 0
push 0
lea ecx, [ebp - 0x4e4]
call fcn.1002a774
mov ecx, dword [ebp - 0x27c]
mov dword [eax], ecx
jmp 0x100400f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e4]
call fcn.1002a758
mov dword [ebp - 0x56c], 0xffffffff
mov dword [ebp - 0x548], 0x6432a276
mov dword [ebp - 0x574], 0xfffffff6
mov dword [ebp - 0x284], 0x22a7
mov dword [ebp - 0x3ec], 0x1000b140
cmp dword [ebp - 0x284], 0x25c9
jle 0x10040271
and dword [ebp - 0x104], 0
jmp 0x100401dd
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x50d0
jge 0x10040267
and dword [ebp - 0x144], 0
jmp 0x100401ff
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0x5a55
jge 0x10040262
mov eax, dword [ebp - 0x104]
and eax, dword [ebp - 0x144]
cdq
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], edx
push dword [ebp - 0x414]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x6d4]
call fcn.1000cd20
pop ecx
pop ecx
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x434]
call fcn.1002a5a1
push eax
call fcn.100480d6
pop ecx
lea ecx, [ebp - 0x6d4]
call fcn.1002a597
jmp 0x100401f2
jmp 0x100401d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x554], 2
mov dword [ebp - 4], 0xf
cmp dword [ebp - 0x284], 0x21f2
jge 0x1004029a
push dword [ebp - 0x3ec]
call fcn.100480d6
pop ecx
jmp 0x100402b6
or dword [ebp - 4], 0xffffffff
jmp 0x100402c0
mov dword [ebp - 0x57c], 0x95010f7a
mov dword [ebp - 0x584], 1
mov dword [ebp - 0x5d8], 0xfffffffd
mov dword [ebp - 0x570], 0xffffffff
mov dword [ebp - 0x648], 0xa23fe5e8
mov dword [ebp - 0x578], 0xd94e8fe7
mov dword [ebp - 0x5e0], 0xb0ad8ea5
mov dword [ebp - 0x580], 0xc266d8ff
mov dword [ebp - 0x28c], 5
mov dword [ebp - 0x10c], 0
jmp 0x10040333
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 3
jge 0x1004034f
mov eax, dword [ebp - 0x10c]
mov dword [ebp + eax*4 - 0x6e0], 1
jmp 0x10040326
mov eax, dword [ebp - 0x28c]
inc eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x158], 1
mov byte [ebp - 0x5e], 0
movzx eax, byte [ebp - 0x5e]
test eax, eax
je 0x10040389
push 0
push 0x1abf
push 0x16b7
push 0x1f3
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [ebp - 0x158], 0xa
jmp 0x100403a2
mov eax, dword [ebp - 0x158]
inc eax
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0x18
jne 0x100403cb
mov byte [ebp - 0x55], 0
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x100403c9
push 0x1e21
push 0x7da
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x10040395
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x10605dd8
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x2bc]
mov dword [0x10605dcc], eax
mov dword [ebp - 0x388], 0xa5d6c05b
mov dword [ebp - 0x384], 0xa5d6c05b
mov dword [ebp - 0x380], 0xa5d6c05b
mov dword [ebp - 0x37c], 0xa5d6c05b
mov dword [ebp - 0x294], 0x19b6
mov dword [ebp - 0x38c], 0x1000b1b0
cmp dword [ebp - 0x294], 0x1c73
jle 0x1004053d
and dword [ebp - 0x114], 0
jmp 0x10040449
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xc9
jge 0x1004053d
and dword [ebp - 0x160], 0
jmp 0x1004046f
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x7187
jge 0x10040538
and dword [ebp - 0x11c], 0
jmp 0x10040495
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0x32d
jge 0x10040533
and dword [ebp - 0xb0], 0
jmp 0x100404bb
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x5449
jge 0x1004052e
mov eax, dword [ebp - 0x114]
imul eax, dword [ebp - 0x160]
cdq
idiv dword [ebp - 0x11c]
sub edx, dword [ebp - 0xb0]
mov eax, edx
cdq
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], edx
push dword [ebp - 0x420]
push dword [ebp - 0x424]
lea ecx, [ebp - 0x6f8]
call fcn.1000cd20
pop ecx
pop ecx
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
call fcn.1002a5a1
push eax
call fcn.100480d6
pop ecx
lea ecx, [ebp - 0x6f8]
call fcn.1002a597
jmp 0x100404ae
jmp 0x10040488
jmp 0x10040462
jmp 0x1004043c
mov dword [ebp - 0x29c], 0xc891c553
mov dword [ebp - 4], 0x11
cmp dword [ebp - 0x294], 0x1955
jge 0x10040566
push dword [ebp - 0x38c]
call fcn.100480d6
pop ecx
jmp 0x10040582
or dword [ebp - 4], 0xffffffff
jmp 0x1004058c
push 2
lea ecx, [ebp - 0x4a8]
call fcn.1002a6d6
mov dword [ebp - 4], 0x13
mov dword [ebp - 0xb8], 0
jmp 0x100405b9
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
jge 0x100405d8
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x4a8]
call fcn.1002a774
or dword [eax], 0xffffffff
jmp 0x100405ac
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x388], 0
jmp 0x10040606
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x388]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x388], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x388], 0xffffffe8
jl 0x1004066f
mov dword [ebp - 0x2a4], 0x6e6f7fbf
mov dword [ebp - 0x29c], 3
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0x21f90ef3
jne 0x1004064e
mov dword [ebp - 0x2ac], 1
jmp 0x10040655
and dword [ebp - 0x2ac], 0
push 0
lea ecx, [ebp - 0x4a8]
call fcn.1002a774
mov ecx, dword [ebp - 0x2ac]
mov dword [eax], ecx
jmp 0x100405eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a8]
call fcn.1002a758
mov eax, dword [ebp - 0x168]
mov dword [0x10605dd0], eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x49c], 0xa0e60f95
mov dword [ebp - 0x498], 0xa0e60f95
mov dword [ebp - 0x494], 0xa0e60f95
mov dword [ebp - 0x490], 0xa0e60f95
mov dword [ebp - 0x2b4], 0x6481
mov dword [ebp - 0x39c], 0x1000b220
cmp dword [ebp - 0x2b4], 0x64ec
jle 0x100407b3
and dword [ebp - 0xd8], 0
jmp 0x100406f2
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x4b5c
jge 0x100407b3
and dword [ebp - 0xc8], 0
jmp 0x10040718
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x7e27
jge 0x100407ae
and dword [ebp - 0xd0], 0
jmp 0x1004073e
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x1a51
jge 0x100407a9
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xd0]
sar eax, cl
xor eax, dword [ebp - 0xd8]
cdq
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], edx
push dword [ebp - 0x42c]
push dword [ebp - 0x430]
lea ecx, [ebp - 0x71c]
call fcn.1000cd20
pop ecx
pop ecx
mov dword [ebp - 0x394], eax
mov ecx, dword [ebp - 0x394]
call fcn.1002a5a1
push eax
call fcn.100480d6
pop ecx
lea ecx, [ebp - 0x71c]
call fcn.1002a597
jmp 0x10040731
jmp 0x1004070b
jmp 0x100406e5
mov dword [ebp - 4], 0x14
cmp dword [ebp - 0x2b4], 0x624c
jge 0x100407d2
push dword [ebp - 0x39c]
call fcn.100480d6
pop ecx
jmp 0x100407ee
or dword [ebp - 4], 0xffffffff
jmp 0x100407f8
mov dword [ebp - 0x34], 0
jmp 0x10040808
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xc
jle 0x1004087d
mov dword [ebp - 0xe0], 0x48708ef6
mov dword [ebp - 0xe0], 3
jmp 0x10040831
mov eax, dword [ebp - 0xe0]
dec eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jl 0x1004087b
mov dword [ebp - 0x88], 0xfffffffa
mov dword [ebp - 0x88], 0
jmp 0x1004085d
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 4
jge 0x10040879
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x49c], 0xd29729cf
jmp 0x10040850
jmp 0x10040824
jmp 0x10040801
mov dword [ebp - 0x34], 0
jmp 0x1004088d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x100408a3
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x49c], 0x6b16b471
jmp 0x10040886
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x168]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [eax + ecx]
call fcn.1003e305
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0xe8], 1
mov byte [ebp - 0x4a], 0
movzx eax, byte [ebp - 0x4a]
test eax, eax
je 0x100408f9
push 0
push 0x1abf
push 0x16b7
push 0x1f3
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [ebp - 0xe8], 0xa
jmp 0x10040912
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x18
jne 0x1004093b
mov byte [ebp - 0x52], 0
movzx eax, byte [ebp - 0x52]
test eax, eax
je 0x10040939
push 0x1e21
push 0x7da
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x10040905
mov dword [ebp - 0x90], 0xf6af1124
mov dword [ebp - 0x65c], 0
mov dword [ebp - 0x588], 1
mov dword [ebp - 0x5f0], 0xffffffff
mov dword [ebp - 0x590], 0xe8ce6fc2
mov dword [ebp - 0x64c], 0xffffffff
push 1
lea ecx, [ebp - 0x62c]
call fcn.1002a6d6
mov dword [ebp - 4], 0x16
mov dword [ebp - 0xf0], 0
jmp 0x100409a4
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 1
jge 0x100409c3
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x62c]
call fcn.1002a774
and dword [eax], 0
jmp 0x10040997
mov dword [ebp - 0x90], 0
jmp 0x100409dc
cmp dword [ebp - 0x90], 2
je 0x10040bcf
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x598], 0
mov dword [ebp - 0x600], 0xc326874b
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x2dc], 8
mov dword [ebp - 0x28], 0
jmp 0x10040a2b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10040a41
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x4b4], 0xfa75c19c
jmp 0x10040a24
mov dword [ebp - 0x28], 0
jmp 0x10040a51
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x10040a64
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x3c], 1
jmp 0x10040a4a
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x3c], 0
jmp 0x10040a89
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 2
jg 0x10040b98
mov dword [ebp - 0x5a0], 0xfffffff6
mov dword [ebp - 0x66c], 0x3ec93cc2
mov dword [ebp - 0x5a8], 1
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x560], 0
mov dword [ebp - 0x55c], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x3c]
imul ecx, dword [ebp + ecx*4 - 0x4b4], 0x3989
cmp ecx, dword [ebp + eax - 0x3c]
jge 0x10040b0d
mov dword [ebp - 0x2c4], 1
jmp 0x10040b14
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x610], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x3c]
mov ecx, dword [ebp + ecx*4 - 0x4b4]
cmp ecx, dword [ebp + eax*4 - 0x4b4]
jg 0x10040b50
mov dword [ebp - 0x98], 0
jmp 0x10040bb1
cmp dword [ebp - 0x98], 1
jge 0x10040bca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x62c]
call fcn.1002a758
push dword [ebp - 0x168]
mov edx, 0x10605d74
mov ecx, dword [ebp - 0x3ac]
call fcn.1003e311
pop ecx
mov dword [ebp - 0x24], 0xfffffffe
mov dword [ebp - 0xa0], 0x7597a61e
mov dword [ebp - 0x170], 0xef7d2668
mov dword [ebp - 0xf8], 0xdd8e181f
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x24]
jge 0x10040c2e
mov dword [ebp - 0x2e4], 1
jmp 0x10040c35
and dword [ebp - 0x2e4], 0
imul eax, dword [ebp - 0x24], 0x90d2
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x70c2bdf0
cmp ecx, eax
jl 0x10040c58
mov dword [ebp - 0x2ec], 1
jmp 0x10040c5f
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x24], 0xfffffff4
jmp 0x10040c78
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2e
jge 0x10040dec
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x2fc], 5
cmp dword [ebp - 0x7c], 0
je 0x10040db0
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x7c]
add ecx, eax
cmp ecx, 0x694a
jle 0x10040cc9
mov dword [ebp - 0x2f4], 1
jmp 0x10040cd0
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2fc]
jl 0x10040cf3
mov dword [ebp - 0x304], 1
jmp 0x10040cfa
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x304]
add eax, 0x4c46983c
je 0x10040d1c
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0xf8]
add eax, 0x6979f9f4
cmp eax, 0xc701401c
ja 0x10040dd4
mov dword [ebp - 0x324], 1
jmp 0x10040ddb
and dword [ebp - 0x324], 0
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0xf8], eax
jmp 0x10040c71
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x48c], 0xa0e60f95
mov dword [ebp - 0x488], 0xa0e60f95
mov dword [ebp - 0x484], 0xa0e60f95
mov dword [ebp - 0x480], 0xa0e60f95
mov dword [ebp - 0x32c], 0x68f6
mov dword [ebp - 0x3bc], 0x1000b25c
cmp dword [ebp - 0x32c], 0x6c96
jle 0x10040f1d
and dword [ebp - 0x100], 0
jmp 0x10040e55
cmp dword [ebp - 0x100], 0x59bd
jge 0x10040f1d
and dword [ebp - 0x108], 0
jmp 0x10040e7b
mov dword [ebp - 4], 0x17
cmp dword [ebp - 0x32c], 0x6860
jge 0x10040f40
mov edx, dword [ebp - 0x3bc]
mov ecx, 0x10606538
call fcn.1002c06b
jmp 0x10040f5c
or dword [ebp - 4], 0xffffffff
jmp 0x10040f66
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret