Function at 0x1004060c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067393
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x4e4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004285d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x33c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x344], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2b0]
movzx eax, byte [eax]
test eax, eax
je 0x10040940
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x38], eax
push 0x14
push 0
push 0x362
push 0x398
call fcn.1001288a
pop ecx
pop ecx
call eax
push eax
push 0x362
push 0x41f
call fcn.1001288a
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
push 0x6aec
push 1
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xe0]
push eax
push 1
call fcn.1004023a
add esp, 0x18
push 1
push 0x68a
push 0x3e8e
push 1
lea eax, [ebp - 0x38]
push eax
push 1
call fcn.10040322
add esp, 0x18
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
and dword [eax + 0x10], 0
push 4
push 0x1000
mov eax, dword [ebp - 0x13c]
push dword [eax + 0x50]
mov eax, dword [ebp - 0xe0]
push dword [eax]
push 0x362
push 0x32c
call fcn.1001288a
pop ecx
pop ecx
call eax
mov dword [ebp - 0x1b4], 0x78ed
mov dword [ebp - 0x330], 0x1000b204
cmp dword [ebp - 0x1b4], 0x7bd0
jle 0x10040859
and dword [ebp - 0xc0], 0
jmp 0x100407a7
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x6c3f
jge 0x10040859
and dword [ebp - 0x88], 0
jmp 0x100407cd
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x55dc
jge 0x10040854
and dword [ebp - 0x94], 0
jmp 0x100407ef
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x596b
jge 0x1004084f
and dword [ebp - 0x80], 0
jmp 0x10040808
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x61b8
jge 0x1004084d
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc0]
and ecx, dword [ebp - 0x88]
and eax, ecx
cdq
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c4], edx
push dword [ebp - 0x2c4]
push dword [ebp - 0x2c8]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x10040801
jmp 0x100407e2
jmp 0x100407c0
jmp 0x1004079a
push 4
push 0x1000
mov eax, dword [ebp - 0x13c]
push dword [eax + 0x54]
mov eax, dword [ebp - 0xe0]
push dword [eax]
push 0x362
push 0x32c
call fcn.1001288a
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x118]
mov dword [ecx], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1b4], 0x7775
jge 0x100408ac
mov edx, dword [ebp - 0x330]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x100408c8
or dword [ebp - 4], 0xffffffff
jmp 0x100408d2
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x13c]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x128]
mov eax, dword [ebp - 0x118]
push dword [eax]
call fcn.10012ef5
add esp, 0xc
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x128]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov dword [ecx], eax
push 0x3eba
push 0x20e0
push 1
push 0x5147
push 1
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.100404f0
add esp, 0x20
jmp 0x1004285b
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x444], 9
mov byte [ebp - 0x43], 0
movzx eax, byte [ebp - 0x43]
test eax, eax
je 0x1004097f
push 0x3fe1
push 0
push 1
push 0xb75
push 0x45a3
push 1
call fcn.1004023a
add esp, 0x18
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x100409ca
push 0x18b
push 0x91b
push 0x1fae
push 0
push 0x1b8f
push 0xd7
push 0x102e
push 0xf6f
push 0x20e1
push 0x2237
push 0xfee
push 0xa63
call dword [sym.imp.GDI32.dll_MaskBlt]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0xe4]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x120], 0
jmp 0x10040a04
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x120], eax
jge 0x1004285b
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x64], 0xfffffffb
mov dword [ebp - 0x24], 0xffffffe2
jmp 0x10040a3a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffff6
jne 0x10040c11
push 1
lea ecx, [ebp - 0x148]
call fcn.100132fd
mov dword [ebp - 4], 2
push 0
push 0x445e
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100447d9
add esp, 0x10
mov dword [ebp - 0x54], 0
jmp 0x10040a82
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jge 0x10040a98
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x488], 0xfffffff8
jmp 0x10040a7b
push 0x4e5a
push 0
push 1
lea eax, [ebp - 0x148]
push eax
push 0x142f
lea eax, [ebp - 0x64]
push eax
call fcn.10039960
add esp, 0x18
cmp dword [ebp - 0x24], 0
jne 0x10040b7d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x448], eax
push 0
lea ecx, [ebp - 0x148]
call fcn.10013375
mov esi, eax
push 0
lea ecx, [ebp - 0x148]
call fcn.10013375
mov edi, dword [eax]
sub edi, dword [esi]
push 0
lea ecx, [ebp - 0x148]
call fcn.10013375
cmp edi, dword [eax]
jl 0x10040b09
mov dword [ebp - 0x22c], 1
jmp 0x10040b10
and dword [ebp - 0x22c], 0
push 0
lea ecx, [ebp - 0x148]
call fcn.10013375
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [eax]
jle 0x10040b33
mov dword [ebp - 0x274], 1
jmp 0x10040b3a
and dword [ebp - 0x274], 0
push 0
lea ecx, [ebp - 0x148]
call fcn.10013375
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x64]
jle 0x10040b5b
mov dword [ebp - 0x230], 1
jmp 0x10040b62
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x10040b7d
mov dword [ebp - 0x1cc], 1
jmp 0x10040b84
and dword [ebp - 0x1cc], 0
push 0
lea ecx, [ebp - 0x148]
call fcn.10013375
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1cc]
jl 0x10040ba7
mov dword [ebp - 0x218], 1
jmp 0x10040bae
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x218], eax
jge 0x10040bc5
mov dword [ebp - 0x158], 1
jmp 0x10040bcc
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0xe327
jl 0x10040be4
mov dword [ebp - 0x1c8], 1
jmp 0x10040beb
and dword [ebp - 0x1c8], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp + eax - 0x488], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.10013359
jmp 0x10040a33
mov dword [ebp - 0x24], 0
jmp 0x10040c21
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x13
jne 0x10040c4b
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x10040c49
push 0x7988
push 0
push 0x11a
push 1
call fcn.1003743d
add esp, 0x10
jmp 0x10040c1a
mov dword [ebp - 0x90], 0xa48bbca6
mov dword [ebp - 0x3ec], 1
mov dword [ebp - 0x3e8], 1
mov dword [ebp - 0x3e4], 1
mov dword [ebp - 0x3e0], 1
mov dword [ebp - 0x90], 0xfffffffb
jmp 0x10040c96
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 6
jg 0x10040d40
mov dword [ebp - 0xc8], 0
jmp 0x10040cbc
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 3
jge 0x10040cd8
mov eax, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x364], 5
jmp 0x10040caf
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x3ec], 0xfffffff6
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x364], 0x10
jmp 0x10040d13
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x364]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x364], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x364], 0xffffffe4
jg 0x10040d3b
mov byte [ebp - 0x45], 0
push 0x7585
push 0
lea eax, [ebp - 0x45]
push eax
call fcn.10043118
add esp, 0xc
jmp 0x10040cfa
jmp 0x10040c89
mov byte [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x10040d71
push 0x56c3
push 0x737
push 0x64ea
push 0x6d56
push 0x4c5c
push 1
push 0
call fcn.1003845d
add esp, 0x1c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x10040d8a
mov dword [ebp - 0x160], 1
jmp 0x10040d91
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x10040db6
mov dword [ebp - 0x204], 1
jmp 0x10040dbd
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x14], 0x1c7bf0b9
mov dword [ebp - 0x50], 0xdef906d8
mov dword [ebp - 0x6c], 0
jmp 0x10040de7
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x10040dfd
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x104], 0xa6847dfa
jmp 0x10040de0
mov dword [ebp - 0x14], 0
jmp 0x10040e0d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x10040e38
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x104], 0
je 0x10040e22
jmp 0x10040e38
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x104]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x104], eax
jmp 0x10040e06
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x104]
cmp ecx, dword [ebp + eax - 0x104]
jle 0x10040e5f
mov dword [ebp - 0x268], 1
jmp 0x10040e66
and dword [ebp - 0x268], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x104]
mov dword [ebp - 0x3f8], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x104]
mov dword [ebp - 0x458], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x104]
mov dword [ebp - 0x14], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + eax - 0x104]
jl 0x10040eb9
mov dword [ebp - 0x168], 1
jmp 0x10040ec0
and dword [ebp - 0x168], 0
cmp dword [ebp - 0x168], 0xf145ba13
je 0x100412e4
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x334], 1
mov dword [ebp - 0x1d4], 0x1fef
mov dword [ebp - 0x2e4], 0x1000b248
cmp dword [ebp - 0x1d4], 0x2167
jle 0x10040ffa
push 0xe2e
push 0x161d
push 0xbf
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
and dword [ebp - 0xa0], 0
jmp 0x10040f32
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x73da
jge 0x10040ffa
and dword [ebp - 0xd0], 0
jmp 0x10040f58
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x2d3e
jge 0x10040ff5
and dword [ebp - 0x98], 0
jmp 0x10040f7e
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x7029
jge 0x10040ff0
and dword [ebp - 0xf0], 0
jmp 0x10040fa0
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x1052
jge 0x10040fee
mov eax, dword [ebp - 0x98]
cdq
idiv dword [ebp - 0xf0]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xd0]
shl eax, cl
and eax, edx
cdq
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2d0], edx
push dword [ebp - 0x2d0]
push dword [ebp - 0x2d4]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x10040f93
jmp 0x10040f71
jmp 0x10040f4b
jmp 0x10040f25
mov dword [ebp - 4], 3
cmp dword [ebp - 0x1d4], 0x1df0
jge 0x1004101d
mov edx, dword [ebp - 0x2e4]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x10041039
or dword [ebp - 4], 0xffffffff
jmp 0x10041043
mov dword [ebp - 0xa8], 0
jmp 0x1004105c
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x10041078
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x434], 0x273426ae
jmp 0x1004104f
mov dword [ebp - 0x220], 0x3790
mov dword [ebp - 0x270], 0x1000b2cc
cmp dword [ebp - 0x220], 0x3af5
jle 0x10041144
and dword [ebp - 0xd8], 0
jmp 0x100410b2
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x1f24
jge 0x10041144
and dword [ebp - 0xe8], 0
jmp 0x100410d8
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x7c9c
jge 0x1004113f
and dword [ebp - 0xb0], 0
jmp 0x100410fa
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x713f
jge 0x1004113d
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0xb0]
xor eax, dword [ebp - 0xd8]
cdq
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], edx
push dword [ebp - 0x2dc]
push dword [ebp - 0x2e0]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x100410ed
jmp 0x100410cb
jmp 0x100410a5
mov dword [ebp - 0x14], 0
jmp 0x10041154
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff6
jg 0x10041182
mov dword [ebp - 0x170], 0xfffffffb
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x104]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x50], eax
jmp 0x1004114d
mov dword [ebp - 4], 5
cmp dword [ebp - 0x220], 0x36e1
jge 0x100411a5
mov edx, dword [ebp - 0x270]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x100411c1
or dword [ebp - 4], 0xffffffff
jmp 0x100411cb
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x104], 0
je 0x100412a7
cmp dword [ebp - 0x14], 0
jne 0x100411f7
cmp dword [ebp - 0x14], 0
je 0x100411f7
mov dword [ebp - 0x178], 1
jmp 0x100411fe
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x178], 0
jne 0x10041219
cmp dword [ebp - 0x334], 0
jne 0x10041219
and dword [ebp - 0x278], 0
jmp 0x10041223
mov dword [ebp - 0x278], 1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x400], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x5c]
jge 0x10041245
xor eax, eax
inc eax
je 0x10041245
mov dword [ebp - 0x1dc], 1
jmp 0x1004124c
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x1dc]
jle 0x10041263
mov dword [ebp - 0x180], 1
jmp 0x1004126a
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 9
jle 0x1004127f
mov dword [ebp - 0x20c], 1
jmp 0x10041286
and dword [ebp - 0x20c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x104]
cmp dword [ebp - 0x20c], eax
jne 0x100412a7
mov dword [ebp - 0x188], 1
jmp 0x100412ae
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x188], eax
jg 0x100412c5
mov dword [ebp - 0x1e4], 1
jmp 0x100412cc
and dword [ebp - 0x1e4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp + eax - 0x434], ecx
jmp 0x1004136b
mov dword [ebp - 0x50], 2
jmp 0x100412f4
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1004131e
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x1004131c
push 0x7ac4
push 1
push 0x2959
push 1
call fcn.1002f61f
add esp, 0x10
jmp 0x100412ed
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x1004136b
push 0x7d73
push 0x77a6
push 0xfd6
push 0x30ce
push 0x7ca2
push 0x6e5f
push 0x42a1
push 0x6bba
push 0x7b95
push 0xdfd
push 0x1781
push 0
call fcn.100453e1
add esp, 0x30
mov dword [ebp - 0x224], 0x4df3
mov dword [ebp - 0x2f0], 0x1000b304
cmp dword [ebp - 0x224], 0x50ce
jle 0x100413f5
and dword [ebp - 0xb8], 0
jmp 0x100413a1
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x4647
jge 0x100413f5
and dword [ebp - 0x78], 0
jmp 0x100413ba
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x24b8
jge 0x100413f3
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x78]
shl eax, cl
cdq
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2e8], edx
push dword [ebp - 0x2e8]
push dword [ebp - 0x2ec]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x100413b3
jmp 0x10041394
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1004140e
mov dword [ebp - 0x190], 1
jmp 0x10041415
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x224], 0x4bf0
jge 0x10041444
mov edx, dword [ebp - 0x2f0]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x10041460
or dword [ebp - 4], 0xffffffff
jmp 0x1004146a
mov dword [ebp - 0x17c], 0x1b2b
mov dword [ebp - 0x358], 0x1000b350
cmp dword [ebp - 0x17c], 0x1c05
jle 0x100414f3
and dword [ebp - 0x7c], 0
jmp 0x10041497
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x3652
jge 0x100414f3
and dword [ebp - 0x84], 0
jmp 0x100414b6
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x369d
jge 0x100414f1
mov eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 0x84]
cdq
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], edx
push dword [ebp - 0x2f4]
push dword [ebp - 0x2f8]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x100414a9
jmp 0x10041490
mov dword [ebp - 0x2c], 0x638ecf54
mov dword [ebp - 0x198], 0xc7f
mov dword [ebp - 0x280], 0x1000b3b8
cmp dword [ebp - 0x198], 0xce6
jle 0x100415a2
and dword [ebp - 0x74], 0
jmp 0x1004152b
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x124b
jge 0x100415a2
and dword [ebp - 0x8c], 0
jmp 0x1004154a
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x5293
jge 0x100415a0
and dword [ebp - 0x70], 0
jmp 0x10041563
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x113d
jge 0x1004159e
mov eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 0x70]
and eax, dword [ebp - 0x74]
cdq
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x300], edx
push dword [ebp - 0x300]
push dword [ebp - 0x304]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x1004155c
jmp 0x1004153d
jmp 0x10041524
mov dword [ebp - 0x1c], 0x6ec7
mov dword [ebp - 4], 9
cmp dword [ebp - 0x198], 0x8e5
jge 0x100415cc
mov edx, dword [ebp - 0x280]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x100415e8
or dword [ebp - 4], 0xffffffff
jmp 0x100415f2
mov dword [ebp - 0x3ac], 1
mov dword [ebp - 0x3a8], 1
mov dword [ebp - 0x3a4], 1
mov dword [ebp - 0x3a0], 1
lea ecx, [ebp - 0x121]
call fcn.10013af8
push eax
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x3ac]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.10023564
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x37c]
call fcn.1002353e
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x60], 0xfffffff7
push 1
lea ecx, [ebp - 0x42c]
call fcn.100132fd
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x478], 0x1c16b31b
mov dword [ebp - 0x408], 0x3026
push 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x32ad
push 0
call fcn.10043b49
add esp, 0x14
mov dword [ebp - 0x58], 0
jmp 0x100416ae
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x100416c4
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x4f4], 0x492b
jmp 0x100416a7
cmp dword [ebp - 0x2c], 0
jne 0x100416d9
cmp dword [ebp - 0x2c], 0
jne 0x100416d9
and dword [ebp - 0x1ec], 0
jmp 0x100416e3
mov dword [ebp - 0x1ec], 1
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1ec]
cmp dword [ebp - 0x2c], eax
jle 0x100416fd
mov dword [ebp - 0x338], 1
jmp 0x10041704
and dword [ebp - 0x338], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1a0], eax
push 1
lea ecx, [ebp - 0x37c]
call fcn.10013375
mov ecx, dword [ebp - 0x1a0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1a0], eax
jge 0x1004173c
mov dword [ebp - 0x214], 1
jmp 0x10041743
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x214], eax
jg 0x1004175a
mov dword [ebp - 0x1a8], 1
jmp 0x10041761
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1a8], eax
jle 0x10041778
mov dword [ebp - 0x288], 1
jmp 0x1004177f
and dword [ebp - 0x288], 0
cmp dword [ebp - 0x2c], 0
je 0x10041d33
mov dword [ebp - 0x460], 0x129b
mov dword [ebp - 0x2a0], 0xc511
mov dword [ebp - 0x410], 0xfffffffc
mov dword [ebp - 0x258], 0xfffffffa
mov dword [ebp - 0x4c], 0x137d3709
push 2
lea ecx, [ebp - 0x41c]
call fcn.100132fd
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x470], 0xffffffff
mov dword [ebp - 0x174], 4
mov dword [ebp - 0x1f4], 0x5740
mov dword [ebp - 0x290], 0x1000b400
cmp dword [ebp - 0x1f4], 0x58f1
jle 0x100418d8
and dword [ebp - 0xac], 0
jmp 0x10041817
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x14b5
jge 0x100418d8
and dword [ebp - 0x9c], 0
jmp 0x1004183d
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x1397
jge 0x100418d3
and dword [ebp - 0xa4], 0
jmp 0x10041863
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x65c1
jge 0x100418ce
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa4]
shl eax, cl
or eax, dword [ebp - 0xac]
cdq
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], edx
push dword [ebp - 0x30c]
push dword [ebp - 0x310]
lea ecx, [ebp - 0x4cc]
call fcn.1000dcee
pop ecx
pop ecx
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2fc]
call fcn.100130b2
push eax
call fcn.10050ebf
pop ecx
lea ecx, [ebp - 0x4cc]
call fcn.100130a8
jmp 0x10041856
jmp 0x10041830
jmp 0x1004180a
mov dword [ebp - 0x18], 0
jmp 0x100418e8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x100418fe
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x244], 0x261fc42f
jmp 0x100418e1
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1f4], 0x56d3
jge 0x1004191a
push dword [ebp - 0x290]
call fcn.10050ebf
pop ecx
jmp 0x10041936
mov dword [ebp - 4], 0xd
jmp 0x10041946
mov dword [ebp - 0x18], 0
jmp 0x10041956
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10041972
push dword [ebp - 0x18]
lea ecx, [ebp - 0x41c]
call fcn.10013375
mov dword [eax], 0x64f69674
jmp 0x1004194f
mov dword [ebp - 0x18], 0
jmp 0x10041982
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10041998
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x49c], 0x7d07
jmp 0x1004197b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x2c], 0
jg 0x100419b3
mov dword [ebp - 0x350], 1
jmp 0x100419ba
and dword [ebp - 0x350], 0
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xf928
jge 0x100419d6
mov dword [ebp - 0x1b0], 1
jmp 0x100419dd
and dword [ebp - 0x1b0], 0
mov esi, dword [ebp - 0x60]
push 2
lea ecx, [ebp - 0x37c]
call fcn.10013375
add esi, dword [eax]
cmp dword [ebp - 0x1b0], esi
je 0x10041a03
mov dword [ebp - 0x228], 1
jmp 0x10041a0a
and dword [ebp - 0x228], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x244]
cmp dword [ebp - 0x228], eax
jle 0x10041a2b
mov dword [ebp - 0x1b8], 1
jmp 0x10041a32
and dword [ebp - 0x1b8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x244]
cmp dword [ebp - 0x1b8], eax
jle 0x10041a53
mov dword [ebp - 0x298], 1
jmp 0x10041a5a
and dword [ebp - 0x298], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1fc], eax
push 1
lea ecx, [ebp - 0x37c]
call fcn.10013375
mov ecx, dword [ebp - 0x1fc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], 0xffffffe2
jmp 0x10041a91
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 9
jg 0x10041d22
mov dword [ebp - 0x10c], 0xa473
mov dword [ebp - 0x308], 0xffffffff
push 4
lea ecx, [ebp - 0x370]
call fcn.100132fd
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x3f0], 0xfffffff6
mov dword [ebp - 0x3c0], 0xcc4390ac
mov dword [ebp - 0x3bc], 0xcc4390ac
mov dword [ebp - 0x3b8], 0xcc4390ac
mov dword [ebp - 0x3b4], 0xcc4390ac
lea ecx, [ebp - 0x10d]
call fcn.10013af8
push eax
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x3c0]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.10023564
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x494]
call fcn.1002353e
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xb4], 0
jmp 0x10041b44
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 4
jge 0x10041b66
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x370]
call fcn.10013375
mov dword [eax], 8
jmp 0x10041b37
mov dword [ebp - 0x1c], 1
jmp 0x10041b76
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10041cf2
cmp dword [ebp - 0x308], 0xa44e
jne 0x10041b98
mov dword [ebp - 0x1c0], 1
jmp 0x10041b9f
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x1c0], eax
jl 0x10041bb6
mov dword [ebp - 0x21c], 1
jmp 0x10041bbd
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x2a0]
cmp dword [ebp - 0x21c], eax
je 0x10041bd7
mov dword [ebp - 0x150], 1
jmp 0x10041bde
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x340]
cmp eax, dword [ebp - 0x2a8]
jg 0x10041c1d
mov dword [ebp - 0x154], 1
jmp 0x10041c24
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0xc9aa
jl 0x10041c3c
mov dword [ebp - 0x15c], 1
jmp 0x10041c43
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0x5270
je 0x10041c5b
mov dword [ebp - 0x164], 1
jmp 0x10041c62
and dword [ebp - 0x164], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x244]
sub eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x1c]
je 0x10041c86
mov dword [ebp - 0x16c], 1
jmp 0x10041c8d
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x16c]
jg 0x10041cb3
push 2
lea ecx, [ebp - 0x370]
call fcn.10013375
cmp dword [eax], 0
jne 0x10041cb3
and dword [ebp - 0x314], 0
jmp 0x10041cbd
mov dword [ebp - 0x314], 1
push 2
lea ecx, [ebp - 0x370]
call fcn.10013375
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x244]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x258], 0x8bf51449
jmp 0x10041b6f
mov eax, dword [ebp - 0x174]
dec eax
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x494]
call fcn.10013359
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x370]
call fcn.10013359
jmp 0x10041a8a
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x41c]
call fcn.10013359
jmp 0x10041d51
mov byte [ebp - 0x31], 0
push 1
lea eax, [ebp - 0x31]
push eax
push 0x3bc1
push 1
push 0x4bb9
call fcn.1002f7b2
add esp, 0x14
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x42c]
call fcn.10013359
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x37c]
call fcn.10013359
mov dword [ebp - 4], 0x12
cmp dword [ebp - 0x17c], 0x1810
jge 0x10041d92
mov edx, dword [ebp - 0x358]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x10041dae
or dword [ebp - 4], 0xffffffff
jmp 0x10041db8
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x100423b3
push 0x4000
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
push 0x362
push 0x37d
call fcn.1001288a
pop ecx
pop ecx
call eax
mov dword [ebp - 0x138], 0x115252cb
mov dword [ebp - 0x134], 0x115252cb
mov dword [ebp - 0x130], 0x115252cb
mov dword [ebp - 0x12c], 0x115252cb
mov dword [ebp - 0x40], 0xbb1bb30b
mov dword [ebp - 0x30], 0
jmp 0x10041e2c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x10041e42
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x23c], 1
jmp 0x10041e25
mov dword [ebp - 0x30], 0
jmp 0x10041e52
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x10041e68
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x384], 0x3a47399d
jmp 0x10041e4b
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x138], 2
jmp 0x10041e93
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x138]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x138], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x138], 0
jl 0x100421d6
mov dword [ebp - 0x28], 0x30722263
mov dword [ebp - 0x14c], 0x4c3dc4d7
mov dword [ebp - 0x2c0], 0x45c545f0
mov dword [ebp - 0x28], 0
jmp 0x10041ed1
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jg 0x100421d1
mov dword [ebp - 0x320], 0x1ebc5f93
and dword [ebp - 0x398], 0
and dword [ebp - 0x394], 0
and dword [ebp - 0x390], 0
and dword [ebp - 0x38c], 0
lea ecx, [ebp - 0x105]
call fcn.10013af8
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.10023564
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3cc]
call fcn.1002353e
mov dword [ebp - 4], 0x14
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x468], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp + eax - 0x138]
jl 0x10041f64
mov dword [ebp - 0x184], 1
jmp 0x10041f6b
and dword [ebp - 0x184], 0
push 3
lea ecx, [ebp - 0x3cc]
call fcn.10013375
mov ecx, dword [ebp - 0x184]
mov dword [eax], ecx
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x138]
push 4
pop eax
shl eax, 1
mov edi, dword [ebp + eax - 0x23c]
push 0
lea ecx, [ebp - 0x3cc]
call fcn.10013375
imul edi, dword [eax]
cmp edi, esi
jge 0x10041fb8
mov dword [ebp - 0x18c], 1
jmp 0x10041fbf
and dword [ebp - 0x18c], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x138]
mov ecx, dword [ebp + ecx*4 - 0x23c]
imul ecx, dword [ebp - 0x18c]
sub ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp + eax - 0x138]
jge 0x10041ff7
mov dword [ebp - 0x194], 1
jmp 0x10041ffe
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x194]
jne 0x10042016
xor eax, eax
jne 0x10042016
and dword [ebp - 0x19c], 0
jmp 0x10042020
mov dword [ebp - 0x19c], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x138]
mov ecx, dword [ebp - 0x19c]
add ecx, 7
cmp ecx, dword [ebp + eax*4 - 0x23c]
jg 0x1004204a
mov dword [ebp - 0x1a4], 1
jmp 0x10042051
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 0x9bdd7770
jne 0x10042069
mov dword [ebp - 0x1ac], 1
jmp 0x10042070
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x40]
jg 0x10042093
mov dword [ebp - 0x1bc], 1
jmp 0x1004209a
and dword [ebp - 0x1bc], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x138]
mov eax, dword [ebp + eax*4 - 0x23c]
cmp dword [ebp - 0x1bc], eax
jg 0x100420c1
mov dword [ebp - 0x1c4], 1
jmp 0x100420c8
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 1
jne 0x100420e6
mov eax, 0xaed5ebae
test eax, eax
je 0x100420e6
mov dword [ebp - 0x1d0], 1
jmp 0x100420ed
and dword [ebp - 0x1d0], 0
cmp dword [ebp - 0x1d0], 3
je 0x10042102
mov dword [ebp - 0x1d8], 1
jmp 0x10042109
and dword [ebp - 0x1d8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x138]
mov eax, dword [ebp + eax*4 - 0x23c]
cmp dword [ebp - 0x1d8], eax
je 0x10042130
mov dword [ebp - 0x1e0], 1
jmp 0x10042137
and dword [ebp - 0x1e0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x138]
mov eax, dword [ebp + eax*4 - 0x23c]
imul eax, dword [ebp - 0x1e0]
imul eax, dword [ebp - 0x28]
test eax, eax
je 0x1004216c
push 5
pop eax
test eax, eax
je 0x1004216c
mov dword [ebp - 0x114], 1
jmp 0x10042173
and dword [ebp - 0x114], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x114]
mov dword [ebp + eax - 0x384], ecx
cmp dword [ebp - 0x114], 0xdcdc
jge 0x1004219e
mov dword [ebp - 0x2b8], 1
jmp 0x100421a5
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3cc]
call fcn.10013359
jmp 0x10041eca
jmp 0x10041e7a
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x23c], 0
je 0x100421fa
mov eax, dword [ebp - 0x40]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x384], eax
jmp 0x100423ae
mov dword [ebp - 0x1e8], 0xcf49cf94
mov dword [ebp - 0x40], 0xc
jmp 0x10042214
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xfffffffe
jg 0x100423ae
mov dword [ebp - 0xbc], 0x5e5ab8bf
mov dword [ebp - 0x2d8], 0x172abf77
mov dword [ebp - 0x32c], 9
mov dword [ebp - 0xbc], 0
jmp 0x10042255
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xffffffe3
jle 0x100423a9
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x1f0], 0x32ca
mov dword [ebp - 0x2cc], 0x1000b480
cmp dword [ebp - 0x1f0], 0x35cd
jle 0x10042330
and dword [ebp - 0xc4], 0
jmp 0x100422a6
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x4236
jge 0x10042330
and dword [ebp - 0xcc], 0
jmp 0x100422c8
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x739d
jge 0x1004232b
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0xcc]
cdq
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x318], edx
push dword [ebp - 0x318]
push dword [ebp - 0x31c]
lea ecx, [ebp - 0x4e4]
call fcn.1000dcee
pop ecx
pop ecx
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
call fcn.100130b2
push eax
call fcn.10050ebf
pop ecx
lea ecx, [ebp - 0x4e4]
call fcn.100130a8
jmp 0x100422bb
jmp 0x10042299
mov eax, dword [ebp - 0x1e8]
dec eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 4], 0x15
cmp dword [ebp - 0x1f0], 0x3014
jge 0x1004235c
push dword [ebp - 0x2cc]
call fcn.10050ebf
pop ecx
jmp 0x10042378
or dword [ebp - 4], 0xffffffff
jmp 0x10042382
push 0
push 0x2096
push 0x3584
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.10047653
add esp, 0x14
jmp 0x10042248
jmp 0x1004220d
jmp 0x100409ee
push 2
lea ecx, [ebp - 0x440]
call fcn.100132fd
mov dword [ebp - 4], 0x17
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0x1f8], 0x290be443
mov dword [ebp - 0xd4], 0
jmp 0x100423f4
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 2
jge 0x10042416
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x440]
call fcn.10013375
mov dword [eax], 1
jmp 0x100423e7
mov dword [ebp - 0xdc], 0
jmp 0x1004242f
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 1
jg 0x10042471
mov byte [ebp - 0x44], 0
push 0
push 0x34af
push 0x4706
push 0x6859
push 0x5183
push 0x5247
lea eax, [ebp - 0x44]
push eax
push 0xb80
push 1
push 0x1ebb
call fcn.100378f3
add esp, 0x28
jmp 0x10042422
mov eax, dword [ebp - 0x1f8]
dec eax
mov dword [ebp - 0x1f8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10013359
push dword [ebp - 0x260]
push dword [ebp - 0x264]
push 1
push dword [ebp - 0x20]
lea eax, [ebp - 0x2a4]
push eax
push 1
push dword [ebp - 0x26c]
call fcn.1002f326
add esp, 0x1c
mov dword [ebp - 0x25c], 0x504cd453
mov dword [ebp - 0x68], 0xfffffffa
push 0x7b95
push 1
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0
push 0x5a2c
push 0x2499
call fcn.10039bbe
add esp, 0x1c
mov dword [ebp - 0x68], 0
jmp 0x100424fc
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffe5
jl 0x1004252b
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x10042529
push 0
push 0x6601
push 0x6f81
push 0x1b74
push 1
call fcn.10043b49
add esp, 0x14
jmp 0x100424f5
lea eax, [ebp - 0x210]
push eax
push 0
lea eax, [ebp - 0xe4]
push eax
push 0x48e3
push 0xdad
push 0
lea eax, [ebp - 0x20]
push eax
push 0x1d89
call fcn.1003ffef
add esp, 0x20
mov dword [ebp - 0x200], 0x6d24
mov dword [ebp - 0x27c], 0x1000b4f8
cmp dword [ebp - 0x200], 0x7038
jle 0x10042601
push 0
push 0x145d
call dword [sym.imp.USER32.dll_GetSystemMenu]
and dword [ebp - 0xec], 0
jmp 0x1004259f
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x7e94
jge 0x10042601
and dword [ebp - 0xf4], 0
jmp 0x100425c1
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x2b35
jge 0x100425ff
mov eax, dword [ebp - 0xec]
imul eax, dword [ebp - 0xf4]
cdq
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x324], edx
push dword [ebp - 0x324]
push dword [ebp - 0x328]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x100425b4
jmp 0x10042592
mov dword [ebp - 4], 0x18
cmp dword [ebp - 0x200], 0x6c1d
jge 0x10042624
mov edx, dword [ebp - 0x27c]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x10042640
or dword [ebp - 4], 0xffffffff
jmp 0x1004264a
mov dword [ebp - 0x11c], 0x20bd2ab
mov dword [ebp - 0x404], 0xccedb775
mov dword [ebp - 0x40c], 0xffffffff
mov dword [ebp - 0x254], 0x8436
mov dword [ebp - 0x250], 0x8436
mov dword [ebp - 0x24c], 0x8436
mov dword [ebp - 0x248], 0x8436
mov dword [ebp - 0x45c], 0x9426cefc
mov dword [ebp - 0x464], 0x2d17f492
mov dword [ebp - 0xf8], 0
jmp 0x100426bd
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 1
jge 0x100426d9
mov eax, dword [ebp - 0xf8]
mov dword [ebp + eax*4 - 0x28c], 1
jmp 0x100426b0
cmp dword [ebp - 0x11c], 1
jl 0x10042705
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x254], 0
je 0x10042705
push 3
pop eax
test eax, eax
je 0x10042705
mov dword [ebp - 0x284], 1
jmp 0x1004270c
and dword [ebp - 0x284], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x254]
mov dword [ebp - 0x46c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x254]
mov dword [ebp - 0x474], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x254], 0
je 0x10042755
push 6
pop eax
test eax, eax
je 0x10042755
mov dword [ebp - 0x208], 1
jmp 0x1004275c
and dword [ebp - 0x208], 0
imul eax, dword [ebp - 0x208], 0xfffa
mov dword [ebp - 0x11c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x254]
mov dword [ebp - 0x47c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28c]
inc eax
je 0x100427c9
mov dword [ebp - 0x294], 0xb81002a9
push 0x7451
push 0x863
push 1
lea eax, [ebp - 0x11c]
push eax
push 0x7ca
push 1
lea eax, [ebp - 0x294]
push eax
push 0x58c6
call fcn.1002fb35
add esp, 0x20
jmp 0x1004280e
mov dword [ebp - 0x3dc], 0xffffffff
mov dword [ebp - 0x3d8], 0xffffffff
mov dword [ebp - 0x3d4], 0xffffffff
mov dword [ebp - 0x3d0], 0xffffffff
mov dword [ebp - 0x29c], 0xfffffffd
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3dc]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x210], 0
jbe 0x10042856
push 0x3bf5
push 1
push 1
push 1
call fcn.1002feec
add esp, 0x10
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x2a4]
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
push 0x362
push 0x3ce
call fcn.1001288a
pop ecx
pop ecx
call eax
jmp 0x100409ee
jmp 0x1004288a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2ac], eax
push 0x4bcf
push 0x5491
push 1
push 0xa72
push 0x4ca3
push dword [ebp - 0x2ac]
call fcn.10037ca8
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret