Function at 0x40ca63
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd979
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x66c
push esi
and dword [ebp - 0x10], 0
cmp dword [ebp + 0x2c], 0
je 0x40ca92
mov eax, dword [ebp + 0x2c]
and dword [eax], 0
cmp dword [ebp + 0x3c], 0
je 0x40caa3
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
push 0
push 0
lea ecx, [ebp - 0x5a4]
call fcn.0042d9fe
and dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x600]
call fcn.0042d9fe
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.004052c0
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x20]
call fcn.00408571
movsx eax, al
cmp eax, 0x5c
je 0x40cb1c
push 0x4dae74
lea ecx, [ebp - 0x442]
call fcn.004053d4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x442]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406100
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x442]
call fcn.004055b0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.004052c0
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x2c]
call fcn.00408571
movsx eax, al
cmp eax, 0x5c
je 0x40cb6f
push 0x4dae74
lea ecx, [ebp - 0x454]
call fcn.004053d4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x454]
call fcn.004055b0
lea ecx, [ebp - 0x24c]
call fcn.0040a1df
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.0042583a
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.00425aba
lea ecx, [ebp - 0x20]
call fcn.00405b2a
push eax
call fcn.004aed70
pop ecx
mov dword [ebp - 0xb0], eax
or dword [ebp - 0x88], 0xffffffff
and dword [ebp - 0x38], 0
jmp 0x40cbc7
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
cmp dword [ebp - 0x38], eax
jge 0x40cf35
cmp dword [ebp - 0x38], 0
je 0x40cbee
movzx eax, byte [ebp + 0x34]
test eax, eax
jne 0x40cbee
jmp 0x40cf35
cmp dword [ebp + 0x38], 0
je 0x40cc89
push 0
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1cc]
call fcn.004259cf
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40cc89
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x5c]
jmp 0x40f556
lea ecx, [ebp - 0x63c]
call fcn.0040238f
mov byte [ebp - 4], 8
and dword [ebp - 0x150], 0
push 0x4dae78
lea ecx, [ebp - 0x415]
call fcn.004053d4
mov byte [ebp - 4], 9
push dword [ebp - 0x38]
push 0
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x5a4]
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x415]
push eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1cc]
call fcn.004259cf
push eax
call fcn.00411903
add esp, 0x24
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x415]
call fcn.004055b0
cmp dword [ebp - 0x150], 3
jne 0x40cd9a
cmp dword [ebp + 0x2c], 0
je 0x40cd20
mov eax, dword [ebp + 0x2c]
mov dword [eax], 3
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 4]
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x63c]
call fcn.004023ee
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x4c]
jmp 0x40f556
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1cc]
call fcn.004259cf
push eax
lea ecx, [ebp - 0x3c4]
call fcn.004052c0
mov byte [ebp - 4], 0xa
push 0
push dword [ebp - 0xb0]
push 0
lea ecx, [ebp - 0x3c4]
call fcn.004088c2
lea ecx, [ebp - 0x63c]
call fcn.0047e16a
test eax, eax
jne 0x40cdfd
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1cc]
call fcn.0041dfd3
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x358]
mov dword [eax + 0x19], 1
and dword [ebp - 0x64], 0
jmp 0x40ce0a
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x63c]
call fcn.0047e16a
cmp dword [ebp - 0x64], eax
jge 0x40cf12
push 0x29
call fcn.0040245f
pop ecx
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x158], 0
je 0x40ce4c
mov ecx, dword [ebp - 0x158]
call fcn.0040a17f
mov dword [ebp - 0x160], eax
jmp 0x40ce53
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x10
call fcn.00405662
push dword [ebp - 0x64]
lea ecx, [ebp - 0x63c]
call fcn.0041d468
add eax, 0x3c
push eax
lea ecx, [ebp - 0x430]
call fcn.004053d4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x10
call fcn.00406100
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x430]
call fcn.004055b0
push dword [ebp - 0x64]
lea ecx, [ebp - 0x63c]
call fcn.0041d468
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x19], ecx
mov dword [edx + 0x1d], eax
push dword [ebp - 0x64]
lea ecx, [ebp - 0x63c]
call fcn.0041d468
mov ecx, eax
call fcn.0040c896
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x21], eax
mov dword [ecx + 0x25], edx
push dword [ebp - 0x6c]
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
call dword [eax + 0xc]
jmp 0x40ce03
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c4]
call fcn.004055b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x63c]
call fcn.004023ee
jmp 0x40cbc0
cmp dword [ebp + 0x38], 0
je 0x40d018
push 0x4d96ec
lea ecx, [ebp - 0x3df]
call fcn.004053d4
mov byte [ebp - 4], 0xd
push 0
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
push eax
lea eax, [ebp - 0x3df]
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40cf91
mov dword [ebp - 0x168], 1
jmp 0x40cf98
and dword [ebp - 0x168], 0
mov al, byte [ebp - 0x168]
mov byte [ebp - 0x4e], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3df]
call fcn.004055b0
movzx eax, byte [ebp - 0x4e]
test eax, eax
je 0x40d018
mov byte [ebp - 0x5e], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x5e]
jmp 0x40f556
push 0
push 0x411798
push 0
lea ecx, [ebp - 0x24c]
call fcn.0041f5f3
lea ecx, [ebp - 0x208]
call fcn.0042583a
mov byte [ebp - 4], 0xe
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x208]
call fcn.00425aba
lea ecx, [ebp - 0x2c]
call fcn.00405b2a
push eax
call fcn.004aed70
pop ecx
mov dword [ebp - 0xb0], eax
or dword [ebp - 0x88], 0xffffffff
and dword [ebp - 0x34], 0
jmp 0x40d075
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x208]
call fcn.0047e16a
cmp dword [ebp - 0x34], eax
jge 0x40e2da
cmp dword [ebp - 0x34], 0
je 0x40d09c
movzx eax, byte [ebp + 0x34]
test eax, eax
jne 0x40d09c
jmp 0x40e2da
cmp dword [ebp + 0x38], 0
je 0x40d146
push 1
lea ecx, [ebp - 0x208]
call fcn.0047e16a
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x208]
call fcn.004259cf
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40d146
mov byte [ebp - 0x49], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x49]
jmp 0x40f556
cmp dword [ebp + 0x24], 0
je 0x40d244
lea ecx, [ebp - 0x208]
call fcn.0047e16a
mov esi, eax
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
cmp esi, eax
jle 0x40d17f
lea ecx, [ebp - 0x208]
call fcn.0047e16a
mov dword [ebp - 0x170], eax
jmp 0x40d190
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x34]
inc eax
imul eax, eax, 0x32
cdq
idiv dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x178]
je 0x40d244
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x88], eax
push dword [ebp + 0x28]
mov eax, dword [ebp - 0x88]
shl eax, 1
push eax
call dword [ebp + 0x24]
test eax, eax
jne 0x40d244
mov byte [ebp - 0x52], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x52]
jmp 0x40f556
lea ecx, [ebp - 0x678]
call fcn.0040238f
mov byte [ebp - 4], 0xf
and dword [ebp - 0xc8], 0
push 0x4dae78
lea ecx, [ebp - 0x439]
call fcn.004053d4
mov byte [ebp - 4], 0x10
push dword [ebp - 0x34]
push 0
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x600]
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x439]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x208]
call fcn.004259cf
push eax
call fcn.00411903
add esp, 0x24
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x439]
call fcn.004055b0
cmp dword [ebp - 0xc8], 3
jne 0x40d364
cmp dword [ebp + 0x2c], 0
je 0x40d2db
mov eax, dword [ebp + 0x2c]
mov dword [eax], 3
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 4]
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x678]
call fcn.004023ee
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x50]
jmp 0x40f556
push dword [ebp - 0x34]
lea ecx, [ebp - 0x208]
call fcn.004259cf
push eax
lea ecx, [ebp - 0x270]
call fcn.004052c0
mov byte [ebp - 4], 0x11
push 0
push dword [ebp - 0xb0]
push 0
lea ecx, [ebp - 0x270]
call fcn.004088c2
lea ecx, [ebp - 0x678]
call fcn.0047e16a
test eax, eax
jne 0x40d3c7
push dword [ebp - 0x34]
lea ecx, [ebp - 0x208]
call fcn.0041dfd3
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [eax + 0x19], 1
and dword [ebp - 0x68], 0
jmp 0x40d3d4
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x678]
call fcn.0047e16a
cmp dword [ebp - 0x68], eax
jge 0x40e2b7
push 0x29
call fcn.0040245f
pop ecx
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0xd4], 0
je 0x40d416
mov ecx, dword [ebp - 0xd4]
call fcn.0040a17f
mov dword [ebp - 0x144], eax
jmp 0x40d41d
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00405662
push dword [ebp - 0x68]
lea ecx, [ebp - 0x678]
call fcn.0041d468
add eax, 0x3c
push eax
lea ecx, [ebp - 0x3f1]
call fcn.004053d4
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x3f1]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00406100
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3f1]
call fcn.004055b0
push dword [ebp - 0x68]
lea ecx, [ebp - 0x678]
call fcn.0041d468
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x19], ecx
mov dword [edx + 0x1d], eax
push dword [ebp - 0x68]
lea ecx, [ebp - 0x678]
call fcn.0041d468
mov ecx, eax
call fcn.0040c896
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x21], eax
mov dword [ecx + 0x25], edx
and dword [ebp - 0x3c], 0
jmp 0x40d4d2
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x24c]
call fcn.0041ebeb
cmp dword [ebp - 0x3c], eax
jge 0x40dcf6
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00405b2a
push eax
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
add eax, 0x10
mov ecx, eax
call fcn.00405b2a
push eax
call fcn.004b6232
pop ecx
pop ecx
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x40d523
jmp 0x40d4cb
cmp dword [ebp - 0xdc], 0
jle 0x40d531
jmp 0x40dcf6
mov eax, dword [ebp - 0x14]
add eax, 0x19
push eax
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
add eax, 0x19
push eax
call fcn.0040a72f
pop ecx
pop ecx
fstp qword [ebp - 0xa8]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0xe4], ecx
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [eax + 0x21]
cmp eax, dword [ecx + 0x21]
jne 0x40d5a8
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [eax + 0x25]
cmp eax, dword [ecx + 0x25]
jne 0x40d5a8
mov dword [ebp - 0x14c], 1
jmp 0x40d5af
and dword [ebp - 0x14c], 0
mov al, byte [ebp - 0x14c]
mov byte [ebp - 0x70], al
movzx eax, byte [ebp + 0x40]
test eax, eax
je 0x40d5d8
movzx eax, byte [ebp - 0x70]
test eax, eax
je 0x40d5d8
movsd xmm0, qword [0x4db2b8]
movsd qword [ebp - 0xa8], xmm0
movsd xmm0, qword [ebp - 0xa8]
ucomisd xmm0, qword [0x4db2b8]
lahf
test ah, 0x44
jnp 0x40d646
movsd xmm0, qword [ebp - 0xa8]
ucomisd xmm0, qword [0x4db2d8]
lahf
test ah, 0x44
jnp 0x40d646
movsd xmm0, qword [ebp - 0xa8]
ucomisd xmm0, qword [0x4db2f8]
lahf
test ah, 0x44
jnp 0x40d646
movsd xmm0, qword [ebp - 0xa8]
comisd xmm0, xmmword [0x4db2f0]
jbe 0x40d814
movsd xmm0, qword [0x4db2d0]
comisd xmm0, xmmword [ebp - 0xa8]
jbe 0x40d814
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x40d7fe
push 0
push dword [ebp + 0x20]
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x508]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 0x14
push dword [ebp - 0x2b8]
call fcn.0040fbe2
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x40d6a4
mov dword [ebp - 0xec], 1
jmp 0x40d6ab
and dword [ebp - 0xec], 0
mov al, byte [ebp - 0xec]
mov byte [ebp - 0x45], al
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x508]
call fcn.004055b0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x40d7fe
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x18c], 0
je 0x40d797
push dword [ebp - 0x70]
push 1
push 1
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
push dword [eax + 0x25]
push dword [eax + 0x21]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x511]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2c8]
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x4ff]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 4], 0x17
mov eax, dword [ebp - 0x10]
or eax, 2
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x18c]
call fcn.00409e53
mov dword [ebp - 0xf4], eax
jmp 0x40d79e
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 4], 0x19
push dword [ebp - 0x2e0]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x10]
and eax, 2
je 0x40d7e0
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x4ff]
call fcn.004055b0
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x40d7fe
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x511]
call fcn.004055b0
cmp dword [ebp + 0x3c], 0
je 0x40d80f
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
jmp 0x40dc60
push 0
push dword [ebp + 0x20]
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x53e]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp - 0x3b0]
mov dword [ebp - 0x3b8], eax
mov byte [ebp - 4], 0x1a
push dword [ebp - 0x3b8]
call fcn.0040fbe2
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x40d866
mov dword [ebp - 0x154], 1
jmp 0x40d86d
and dword [ebp - 0x154], 0
mov al, byte [ebp - 0x154]
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x53e]
call fcn.004055b0
movzx eax, byte [ebp - 0x54]
test eax, eax
je 0x40dc60
movsd xmm0, qword [ebp - 0xa8]
comisd xmm0, xmmword [0x4db2b8]
ja 0x40d8ad
cmp dword [ebp + 0x14], 0
je 0x40d9eb
cmp dword [ebp + 0x18], 0
jne 0x40d9eb
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0xfc], 0
je 0x40d97f
push dword [ebp - 0x70]
push 1
push 1
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
push dword [eax + 0x25]
push dword [eax + 0x21]
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x10]
or eax, 4
mov dword [ebp - 0x10], eax
push dword [ebp - 0x294]
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x547]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 4], 0x1d
mov eax, dword [ebp - 0x10]
or eax, 8
mov dword [ebp - 0x10], eax
push dword [ebp - 0x29c]
mov ecx, dword [ebp - 0xfc]
call fcn.00409e53
mov dword [ebp - 0x188], eax
jmp 0x40d986
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 4], 0x1f
push dword [ebp - 0x28c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x1e
mov eax, dword [ebp - 0x10]
and eax, 8
je 0x40d9c8
and dword [ebp - 0x10], 0xfffffff7
lea ecx, [ebp - 0x547]
call fcn.004055b0
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
and eax, 4
je 0x40d9e6
and dword [ebp - 0x10], 0xfffffffb
lea ecx, [ebp - 0x478]
call fcn.004055b0
jmp 0x40dc60
cmp dword [ebp + 0x14], 0
jne 0x40db1e
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x104], 0
je 0x40dab2
push dword [ebp - 0x70]
push 1
push 1
mov eax, dword [ebp - 0x14]
push dword [eax + 0x25]
push dword [eax + 0x21]
push 1
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x48a]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x360], eax
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x10]
or eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x360]
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x4f6]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x368], eax
mov dword [ebp - 4], 0x22
mov eax, dword [ebp - 0x10]
or eax, 0x20
mov dword [ebp - 0x10], eax
push dword [ebp - 0x368]
mov ecx, dword [ebp - 0x104]
call fcn.00409e53
mov dword [ebp - 0x15c], eax
jmp 0x40dab9
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 4], 0x24
push dword [ebp - 0x2b4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x23
mov eax, dword [ebp - 0x10]
and eax, 0x20
je 0x40dafb
and dword [ebp - 0x10], 0xffffffdf
lea ecx, [ebp - 0x4f6]
call fcn.004055b0
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
and eax, 0x10
je 0x40db19
and dword [ebp - 0x10], 0xffffffef
lea ecx, [ebp - 0x48a]
call fcn.004055b0
jmp 0x40dc60
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x40dc60
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x10c], 0
je 0x40dbf4
push dword [ebp - 0x70]
push 1
push 1
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
push dword [eax + 0x25]
push dword [eax + 0x21]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x10]
or eax, 0x40
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x535]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 4], 0x27
mov eax, dword [ebp - 0x10]
or eax, 0x80
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x10c]
call fcn.00409e53
mov dword [ebp - 0x190], eax
jmp 0x40dbfb
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x380], eax
mov dword [ebp - 4], 0x29
push dword [ebp - 0x380]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x28
mov eax, dword [ebp - 0x10]
and eax, 0x80
je 0x40dc42
and dword [ebp - 0x10], 0xffffff7f
lea ecx, [ebp - 0x535]
call fcn.004055b0
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
and eax, 0x40
je 0x40dc60
and dword [ebp - 0x10], 0xffffffbf
lea ecx, [ebp - 0x49c]
call fcn.004055b0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x40dca4
push 1
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x90]
call dword [eax + 8]
mov dword [ebp - 0x388], eax
jmp 0x40dcab
and dword [ebp - 0x388], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x40dce4
push 1
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xb8]
call dword [eax + 8]
mov dword [ebp - 0x390], eax
jmp 0x40dceb
and dword [ebp - 0x390], 0
and dword [ebp - 0x14], 0
jmp 0x40dcf6
cmp dword [ebp - 0x14], 0
je 0x40e2b2
cmp dword [ebp + 0x1c], 0
jne 0x40e272
push 0
push dword [ebp + 0x20]
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x45d]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x398], eax
mov byte [ebp - 4], 0x2a
push dword [ebp - 0x398]
call fcn.0040fbe2
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x40dd5c
mov dword [ebp - 0x114], 1
jmp 0x40dd63
and dword [ebp - 0x114], 0
mov al, byte [ebp - 0x114]
mov byte [ebp - 0x56], al
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x45d]
call fcn.004055b0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x40e272
cmp dword [ebp + 0x14], 0
jne 0x40e135
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004052c0
mov byte [ebp - 4], 0x2b
and dword [ebp - 0x164], 0
and dword [ebp - 0x84], 0
jmp 0x40ddc4
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
cmp dword [ebp - 0x84], eax
jge 0x40de66
push dword [ebp - 0x84]
lea ecx, [ebp - 0x1cc]
call fcn.004259cf
push eax
lea ecx, [ebp - 0x258]
call fcn.004052c0
mov byte [ebp - 4], 0x2c
push 0
lea ecx, [ebp - 0x20]
call fcn.004085af
push eax
push 0
lea ecx, [ebp - 0x258]
call fcn.004088c2
lea ecx, [ebp - 0xc4]
call fcn.00405b2a
push eax
lea ecx, [ebp - 0x258]
call fcn.00405b2a
push eax
call fcn.004b6232
pop ecx
pop ecx
test eax, eax
jne 0x40de52
mov dword [ebp - 0x164], 1
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x258]
call fcn.004055b0
jmp 0x40de66
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x258]
call fcn.004055b0
jmp 0x40ddb7
cmp dword [ebp - 0x164], 0
jne 0x40dff0
push 0
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4ae]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 4], 0x2d
push dword [ebp - 0x3a0]
lea ecx, [ebp - 0x1cc]
call fcn.00425aba
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x4ae]
call fcn.004055b0
push 0
lea ecx, [ebp - 0xc4]
call fcn.004085af
dec eax
push eax
lea ecx, [ebp - 0xc4]
call fcn.00406fa2
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0x2e
cmp dword [ebp - 0x11c], 0
je 0x40df7f
push 0x4d96ec
lea ecx, [ebp - 0x427]
call fcn.004053d4
mov byte [ebp - 4], 0x2f
mov eax, dword [ebp - 0x10]
or eax, 0x100
mov dword [ebp - 0x10], eax
push 0
push 1
push 1
push 0
push 0
push 2
lea eax, [ebp - 0x427]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x52c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x3a8]
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 0x30
mov eax, dword [ebp - 0x10]
or eax, 0x200
mov dword [ebp - 0x10], eax
push dword [ebp - 0x354]
mov ecx, dword [ebp - 0x11c]
call fcn.00409e53
mov dword [ebp - 0x184], eax
jmp 0x40df86
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 4], 0x32
push dword [ebp - 0x2f4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x31
mov eax, dword [ebp - 0x10]
and eax, 0x200
je 0x40dfcd
and dword [ebp - 0x10], 0xfffffdff
lea ecx, [ebp - 0x52c]
call fcn.004055b0
mov dword [ebp - 4], 0x2b
mov eax, dword [ebp - 0x10]
and eax, 0x100
je 0x40dff0
and dword [ebp - 0x10], 0xfffffeff
lea ecx, [ebp - 0x427]
call fcn.004055b0
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 0x33
cmp dword [ebp - 0x124], 0
je 0x40e0b0
push 0
push 1
push 0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x25]
push dword [eax + 0x21]
push 1
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x51a]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 0x34
mov eax, dword [ebp - 0x10]
or eax, 0x400
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2fc]
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x304], eax
mov dword [ebp - 4], 0x35
mov eax, dword [ebp - 0x10]
or eax, 0x800
mov dword [ebp - 0x10], eax
push dword [ebp - 0x304]
mov ecx, dword [ebp - 0x124]
call fcn.00409e53
mov dword [ebp - 0x16c], eax
jmp 0x40e0b7
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x38c], eax
mov dword [ebp - 4], 0x37
push dword [ebp - 0x38c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x36
mov eax, dword [ebp - 0x10]
and eax, 0x800
je 0x40e0fe
and dword [ebp - 0x10], 0xfffff7ff
lea ecx, [ebp - 0x4c0]
call fcn.004055b0
mov dword [ebp - 4], 0x2b
mov eax, dword [ebp - 0x10]
and eax, 0x400
je 0x40e121
and dword [ebp - 0x10], 0xfffffbff
lea ecx, [ebp - 0x51a]
call fcn.004055b0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xc4]
call fcn.004055b0
jmp 0x40e272
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x40e272
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 0x38
cmp dword [ebp - 0x12c], 0
je 0x40e201
push 0
push 1
push 0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x25]
push dword [eax + 0x21]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x523]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 0x39
mov eax, dword [ebp - 0x10]
or eax, 0x1000
mov dword [ebp - 0x10], eax
push dword [ebp - 0x364]
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea eax, [ebp - 0x4d2]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 4], 0x3a
mov eax, dword [ebp - 0x10]
or eax, 0x2000
mov dword [ebp - 0x10], eax
push dword [ebp - 0x3a4]
mov ecx, dword [ebp - 0x12c]
call fcn.00409e53
mov dword [ebp - 0x180], eax
jmp 0x40e208
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x31c], eax
mov dword [ebp - 4], 0x3c
push dword [ebp - 0x31c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x3b
mov eax, dword [ebp - 0x10]
and eax, 0x2000
je 0x40e24f
and dword [ebp - 0x10], 0xffffdfff
lea ecx, [ebp - 0x4d2]
call fcn.004055b0
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
and eax, 0x1000
je 0x40e272
and dword [ebp - 0x10], 0xffffefff
lea ecx, [ebp - 0x523]
call fcn.004055b0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x40e2ab
push 1
mov eax, dword [ebp - 0x94]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x94]
call dword [eax + 8]
mov dword [ebp - 0x324], eax
jmp 0x40e2b2
and dword [ebp - 0x324], 0
jmp 0x40d3cd
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x270]
call fcn.004055b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x678]
call fcn.004023ee
jmp 0x40d06e
cmp dword [ebp + 0x38], 0
je 0x40e3cc
push 0x4d96ec
lea ecx, [ebp - 0x403]
call fcn.004053d4
mov byte [ebp - 4], 0x3d
push 1
lea ecx, [ebp - 0x208]
call fcn.0047e16a
push eax
lea ecx, [ebp - 0x208]
call fcn.0047e16a
push eax
lea eax, [ebp - 0x403]
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40e336
mov dword [ebp - 0x134], 1
jmp 0x40e33d
and dword [ebp - 0x134], 0
mov al, byte [ebp - 0x134]
mov byte [ebp - 0x46], al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x403]
call fcn.004055b0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x40e3cc
mov byte [ebp - 0x47], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x47]
jmp 0x40f556
cmp dword [ebp + 0x1c], 0
jne 0x40ebf7
and dword [ebp - 0x30], 0
jmp 0x40e3e3
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x24c]
call fcn.0041ebeb
cmp dword [ebp - 0x30], eax
jge 0x40eb05
cmp dword [ebp + 0x38], 0
je 0x40e502
push 2
lea ecx, [ebp - 0x24c]
call fcn.0041ebeb
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
add eax, 0x10
push eax
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 0x3e
push dword [ebp - 0x32c]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40e46c
mov dword [ebp - 0x174], 1
jmp 0x40e473
and dword [ebp - 0x174], 0
mov al, byte [ebp - 0x174]
mov byte [ebp - 0x58], al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e4]
call fcn.004055b0
movzx eax, byte [ebp - 0x58]
test eax, eax
je 0x40e502
mov byte [ebp - 0x5a], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x5a]
jmp 0x40f556
push 0
push dword [ebp + 0x20]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
add eax, 0x10
push eax
lea eax, [ebp - 0x466]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 0x3f
push dword [ebp - 0x334]
call fcn.0040fbe2
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x40e55f
mov dword [ebp - 0x13c], 1
jmp 0x40e566
and dword [ebp - 0x13c], 0
mov al, byte [ebp - 0x13c]
mov byte [ebp - 0x59], al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x466]
call fcn.004055b0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x40eb00
cmp dword [ebp + 0x18], 0
jne 0x40e9a2
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
add eax, 0x10
push eax
lea ecx, [ebp - 0xa0]
call fcn.004052c0
mov byte [ebp - 4], 0x40
push 1
lea eax, [ebp - 0xb4]
push eax
push 0x5c
lea ecx, [ebp - 0xa0]
call fcn.00409b30
test eax, eax
je 0x40e83c
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
push 0
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xa0]
call fcn.00406fa2
and dword [ebp - 0xcc], 0
and dword [ebp - 0x8c], 0
jmp 0x40e610
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x208]
call fcn.0047e16a
cmp dword [ebp - 0x8c], eax
jge 0x40e6b2
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x208]
call fcn.004259cf
push eax
lea ecx, [ebp - 0x288]
call fcn.004052c0
mov byte [ebp - 4], 0x41
push 0
lea ecx, [ebp - 0x2c]
call fcn.004085af
push eax
push 0
lea ecx, [ebp - 0x288]
call fcn.004088c2
lea ecx, [ebp - 0xa0]
call fcn.00405b2a
push eax
lea ecx, [ebp - 0x288]
call fcn.00405b2a
push eax
call fcn.004b6232
pop ecx
pop ecx
test eax, eax
jne 0x40e69e
mov dword [ebp - 0xcc], 1
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x288]
call fcn.004055b0
jmp 0x40e6b2
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x288]
call fcn.004055b0
jmp 0x40e603
cmp dword [ebp - 0xcc], 0
jne 0x40e83c
push 0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x46f]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x3b4]
mov dword [ebp - 0x33c], eax
mov byte [ebp - 4], 0x42
push dword [ebp - 0x33c]
lea ecx, [ebp - 0x208]
call fcn.00425aba
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x46f]
call fcn.004055b0
push 0
lea ecx, [ebp - 0xa0]
call fcn.004085af
dec eax
push eax
lea ecx, [ebp - 0xa0]
call fcn.00406fa2
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0x43
cmp dword [ebp - 0xd0], 0
je 0x40e7cb
push 0x4d96ec
lea ecx, [ebp - 0x44b]
call fcn.004053d4
mov byte [ebp - 4], 0x44
mov eax, dword [ebp - 0x10]
or eax, 0x4000
mov dword [ebp - 0x10], eax
push 0
push 1
push 1
push 0
push 0
push 2
lea eax, [ebp - 0x44b]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x481]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x37c]
mov dword [ebp - 0x344], eax
mov dword [ebp - 4], 0x45
mov eax, dword [ebp - 0x10]
or eax, 0x8000
mov dword [ebp - 0x10], eax
push dword [ebp - 0x344]
mov ecx, dword [ebp - 0xd0]
call fcn.00409e53
mov dword [ebp - 0xd8], eax
jmp 0x40e7d2
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x39c], eax
mov dword [ebp - 4], 0x47
push dword [ebp - 0x39c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x46
mov eax, dword [ebp - 0x10]
and eax, 0x8000
je 0x40e819
and dword [ebp - 0x10], 0xffff7fff
lea ecx, [ebp - 0x481]
call fcn.004055b0
mov dword [ebp - 4], 0x40
mov eax, dword [ebp - 0x10]
and eax, 0x4000
je 0x40e83c
and dword [ebp - 0x10], 0xffffbfff
lea ecx, [ebp - 0x44b]
call fcn.004055b0
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0x48
cmp dword [ebp - 0xe0], 0
je 0x40e91d
push 0
push 0
push 1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
push dword [eax + 0x25]
push dword [eax + 0x21]
push 0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
add eax, 0x10
push eax
lea eax, [ebp - 0x4a5]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x384], eax
mov byte [ebp - 4], 0x49
mov eax, dword [ebp - 0x10]
or eax, 0x10000
mov dword [ebp - 0x10], eax
push dword [ebp - 0x384]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
add eax, 0x10
push eax
lea eax, [ebp - 0x493]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 4], 0x4a
mov eax, dword [ebp - 0x10]
or eax, 0x20000
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0xe0]
call fcn.00409e53
mov dword [ebp - 0xe8], eax
jmp 0x40e924
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 4], 0x4c
push dword [ebp - 0x2f8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x4b
mov eax, dword [ebp - 0x10]
and eax, 0x20000
je 0x40e96b
and dword [ebp - 0x10], 0xfffdffff
lea ecx, [ebp - 0x493]
call fcn.004055b0
mov dword [ebp - 4], 0x40
mov eax, dword [ebp - 0x10]
and eax, 0x10000
je 0x40e98e
and dword [ebp - 0x10], 0xfffeffff
lea ecx, [ebp - 0x4a5]
call fcn.004055b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa0]
call fcn.004055b0
jmp 0x40eb00
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x40eb00
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0x4d
cmp dword [ebp - 0xf0], 0
je 0x40ea8f
push 0
push 0
push 1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
push dword [eax + 0x25]
push dword [eax + 0x21]
push 0xffffffffffffffff
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
add eax, 0x10
push eax
lea eax, [ebp - 0x4c9]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 0x4e
mov eax, dword [ebp - 0x10]
or eax, 0x40000
mov dword [ebp - 0x10], eax
push dword [ebp - 0x308]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x24c]
call fcn.0041d468
add eax, 0x10
push eax
lea eax, [ebp - 0x4b7]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x318], eax
mov dword [ebp - 4], 0x4f
mov eax, dword [ebp - 0x10]
or eax, 0x80000
mov dword [ebp - 0x10], eax
push dword [ebp - 0x318]
mov ecx, dword [ebp - 0xf0]
call fcn.00409e53
mov dword [ebp - 0xf8], eax
jmp 0x40ea96
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x320], eax
mov dword [ebp - 4], 0x51
push dword [ebp - 0x320]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x50
mov eax, dword [ebp - 0x10]
and eax, 0x80000
je 0x40eadd
and dword [ebp - 0x10], 0xfff7ffff
lea ecx, [ebp - 0x4b7]
call fcn.004055b0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
and eax, 0x40000
je 0x40eb00
and dword [ebp - 0x10], 0xfffbffff
lea ecx, [ebp - 0x4c9]
call fcn.004055b0
jmp 0x40e3dc
cmp dword [ebp + 0x38], 0
je 0x40ebf7
push 0x4d96ec
lea ecx, [ebp - 0x3cd]
call fcn.004053d4
mov byte [ebp - 4], 0x52
push 2
lea ecx, [ebp - 0x24c]
call fcn.0041ebeb
push eax
lea ecx, [ebp - 0x24c]
call fcn.0041ebeb
push eax
lea eax, [ebp - 0x3cd]
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40eb61
mov dword [ebp - 0x100], 1
jmp 0x40eb68
and dword [ebp - 0x100], 0
mov al, byte [ebp - 0x100]
mov byte [ebp - 0x4b], al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3cd]
call fcn.004055b0
movzx eax, byte [ebp - 0x4b]
test eax, eax
je 0x40ebf7
mov byte [ebp - 0x55], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x55]
jmp 0x40f556
cmp dword [ebp + 0x1c], 0
jne 0x40f403
lea ecx, [ebp - 0x20]
call fcn.004085af
mov dword [ebp - 0xac], eax
and dword [ebp - 0x74], 0
jmp 0x40ec1c
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
cmp dword [ebp - 0x74], eax
jge 0x40ec4d
push 0
push dword [ebp - 0xac]
push 0
push dword [ebp - 0x74]
lea ecx, [ebp - 0x1cc]
call fcn.004259cf
mov ecx, eax
call fcn.004088c2
jmp 0x40ec15
lea ecx, [ebp - 0x2c]
call fcn.004085af
mov dword [ebp - 0xac], eax
and dword [ebp - 0x80], 0
jmp 0x40ec68
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x208]
call fcn.0047e16a
cmp dword [ebp - 0x80], eax
jge 0x40ec99
push 0
push dword [ebp - 0xac]
push 0
push dword [ebp - 0x80]
lea ecx, [ebp - 0x208]
call fcn.004259cf
mov ecx, eax
call fcn.004088c2
jmp 0x40ec61
cmp dword [ebp + 0x18], 0
jne 0x40f04e
and dword [ebp - 0x44], 0
jmp 0x40ecb0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
cmp dword [ebp - 0x44], eax
jge 0x40ef5c
cmp dword [ebp + 0x38], 0
je 0x40ed6e
push 3
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1cc]
call fcn.004259cf
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40ed6e
mov byte [ebp - 0x4d], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x4d]
jmp 0x40f556
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1cc]
call fcn.00425bd2
cmp eax, 1
jne 0x40ef57
and dword [ebp - 0x108], 0
and dword [ebp - 0x78], 0
jmp 0x40ed99
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x208]
call fcn.0047e16a
cmp dword [ebp - 0x78], eax
jge 0x40edee
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1cc]
call fcn.004259cf
mov ecx, eax
call fcn.00405b2a
push eax
push dword [ebp - 0x78]
lea ecx, [ebp - 0x208]
call fcn.004259cf
mov ecx, eax
call fcn.00405b2a
push eax
call fcn.004b6232
pop ecx
pop ecx
test eax, eax
jne 0x40edec
mov dword [ebp - 0x108], 1
jmp 0x40edee
jmp 0x40ed92
cmp dword [ebp - 0x108], 0
jne 0x40ef57
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1cc]
call fcn.004259cf
push eax
lea ecx, [ebp - 0x27c]
call fcn.004052c0
mov byte [ebp - 4], 0x53
push 0
lea ecx, [ebp - 0x27c]
call fcn.004085af
dec eax
push eax
lea ecx, [ebp - 0x27c]
call fcn.00406fa2
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0x54
cmp dword [ebp - 0x110], 0
je 0x40eed7
push 0x4d96ec
lea ecx, [ebp - 0x3d6]
call fcn.004053d4
mov byte [ebp - 4], 0x55
mov eax, dword [ebp - 0x10]
or eax, 0x100000
mov dword [ebp - 0x10], eax
push 0
push 1
push 1
push 0
push 0
push 2
lea eax, [ebp - 0x3d6]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x4db]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405bb0
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x330], eax
mov dword [ebp - 4], 0x56
mov eax, dword [ebp - 0x10]
or eax, 0x200000
mov dword [ebp - 0x10], eax
push dword [ebp - 0x330]
mov ecx, dword [ebp - 0x110]
call fcn.00409e53
mov dword [ebp - 0x118], eax
jmp 0x40eede
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x338], eax
mov dword [ebp - 4], 0x58
push dword [ebp - 0x338]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x57
mov eax, dword [ebp - 0x10]
and eax, 0x200000
je 0x40ef25
and dword [ebp - 0x10], 0xffdfffff
lea ecx, [ebp - 0x4db]
call fcn.004055b0
mov dword [ebp - 4], 0x53
mov eax, dword [ebp - 0x10]
and eax, 0x100000
je 0x40ef48
and dword [ebp - 0x10], 0xffefffff
lea ecx, [ebp - 0x3d6]
call fcn.004055b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x27c]
call fcn.004055b0
jmp 0x40eca9
cmp dword [ebp + 0x38], 0
je 0x40f04e
push 0x4d96ec
lea ecx, [ebp - 0x3e8]
call fcn.004053d4
mov byte [ebp - 4], 0x59
push 3
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
push eax
lea eax, [ebp - 0x3e8]
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40efb8
mov dword [ebp - 0x120], 1
jmp 0x40efbf
and dword [ebp - 0x120], 0
mov al, byte [ebp - 0x120]
mov byte [ebp - 0x5d], al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3e8]
call fcn.004055b0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x40f04e
mov byte [ebp - 0x4f], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x4f]
jmp 0x40f556
cmp dword [ebp + 0x14], 0
jne 0x40f403
and dword [ebp - 0x40], 0
jmp 0x40f065
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x208]
call fcn.0047e16a
cmp dword [ebp - 0x40], eax
jge 0x40f311
cmp dword [ebp + 0x38], 0
je 0x40f123
push 4
lea ecx, [ebp - 0x208]
call fcn.0047e16a
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x208]
call fcn.004259cf
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40f123
mov byte [ebp - 0x57], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x57]
jmp 0x40f556
push dword [ebp - 0x40]
lea ecx, [ebp - 0x208]
call fcn.00425bd2
cmp eax, 1
jne 0x40f30c
and dword [ebp - 0x128], 0
and dword [ebp - 0x7c], 0
jmp 0x40f14e
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x1cc]
call fcn.0047e16a
cmp dword [ebp - 0x7c], eax
jge 0x40f1a3
push dword [ebp - 0x40]
lea ecx, [ebp - 0x208]
call fcn.004259cf
mov ecx, eax
call fcn.00405b2a
push eax
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x1cc]
call fcn.004259cf
mov ecx, eax
call fcn.00405b2a
push eax
call fcn.004b6232
pop ecx
pop ecx
test eax, eax
jne 0x40f1a1
mov dword [ebp - 0x128], 1
jmp 0x40f1a3
jmp 0x40f147
cmp dword [ebp - 0x128], 0
jne 0x40f30c
push dword [ebp - 0x40]
lea ecx, [ebp - 0x208]
call fcn.004259cf
push eax
lea ecx, [ebp - 0x264]
call fcn.004052c0
mov byte [ebp - 4], 0x5a
push 0
lea ecx, [ebp - 0x264]
call fcn.004085af
dec eax
push eax
lea ecx, [ebp - 0x264]
call fcn.00406fa2
push 0x31
call fcn.0040245f
pop ecx
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 0x5b
cmp dword [ebp - 0x130], 0
je 0x40f28c
push 0x4d96ec
lea ecx, [ebp - 0x3fa]
call fcn.004053d4
mov byte [ebp - 4], 0x5c
mov eax, dword [ebp - 0x10]
or eax, 0x400000
mov dword [ebp - 0x10], eax
push 0
push 1
push 1
push 0
push 0
push 2
lea eax, [ebp - 0x3fa]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x4ed]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405bb0
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x348], eax
mov dword [ebp - 4], 0x5d
mov eax, dword [ebp - 0x10]
or eax, 0x800000
mov dword [ebp - 0x10], eax
push dword [ebp - 0x348]
mov ecx, dword [ebp - 0x130]
call fcn.00409e53
mov dword [ebp - 0x138], eax
jmp 0x40f293
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x290], eax
mov dword [ebp - 4], 0x5f
push dword [ebp - 0x290]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0x5e
mov eax, dword [ebp - 0x10]
and eax, 0x800000
je 0x40f2da
and dword [ebp - 0x10], 0xff7fffff
lea ecx, [ebp - 0x4ed]
call fcn.004055b0
mov dword [ebp - 4], 0x5a
mov eax, dword [ebp - 0x10]
and eax, 0x400000
je 0x40f2fd
and dword [ebp - 0x10], 0xffbfffff
lea ecx, [ebp - 0x3fa]
call fcn.004055b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x264]
call fcn.004055b0
jmp 0x40f05e
cmp dword [ebp + 0x38], 0
je 0x40f403
push 0x4d96ec
lea ecx, [ebp - 0x40c]
call fcn.004053d4
mov byte [ebp - 4], 0x60
push 4
lea ecx, [ebp - 0x208]
call fcn.0047e16a
push eax
lea ecx, [ebp - 0x208]
call fcn.0047e16a
push eax
lea eax, [ebp - 0x40c]
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40f36d
mov dword [ebp - 0x140], 1
jmp 0x40f374
and dword [ebp - 0x140], 0
mov al, byte [ebp - 0x140]
mov byte [ebp - 0x51], al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x40c]
call fcn.004055b0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x40f403
mov byte [ebp - 0x5b], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x5b]
jmp 0x40f556
cmp dword [ebp + 0x38], 0
je 0x40f4de
push 0x4d96ec
lea ecx, [ebp - 0x41e]
call fcn.004053d4
mov byte [ebp - 4], 0x61
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x41e]
push eax
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x38]
call dword [eax]
movzx eax, al
test eax, eax
jne 0x40f44b
mov dword [ebp - 0x148], 1
jmp 0x40f452
and dword [ebp - 0x148], 0
mov al, byte [ebp - 0x148]
mov byte [ebp - 0x53], al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x41e]
call fcn.004055b0
movzx eax, byte [ebp - 0x53]
test eax, eax
je 0x40f4de
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x48]
jmp 0x40f556
cmp dword [ebp + 0x24], 0
je 0x40f4ec
push dword [ebp + 0x28]
push 0x64
call dword [ebp + 0x24]
mov byte [ebp - 0x4a], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
call fcn.00425937
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00425937
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004877ff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x600]
call fcn.0042db6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.0042db6b
mov al, byte [ebp - 0x4a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret