Function at 0x1004d49a
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007288f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
push esi
push edi
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004ef1c
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
movzx eax, byte [eax]
test eax, eax
je 0x1004eeed
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004d51d
jmp 0x1004f069
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x1004d53c
jmp 0x1004f069
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1004d55a
jmp 0x1004f069
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xb8], eax
push 0x5f71
push 1
lea eax, [ebp - 0x44]
push eax
push 0x3c36
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x4658
push 0x2957
lea eax, [ebp - 0xb8]
push eax
push 0
push 0x7a66
call fcn.1004ce22
add esp, 0x2c
cmp dword [ebp - 0x24], 0
jne 0x1004d5b5
jmp 0x1004f069
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
call fcn.10042465
push eax
call fcn.1005b519
pop ecx
mov byte [ebp - 0x13c], 3
mov byte [ebp - 0x13b], 0x6b
mov byte [ebp - 0x13a], 9
mov byte [ebp - 0x139], 7
mov byte [ebp - 0x138], 7
mov byte [ebp - 0x137], 6
mov byte [ebp - 0x136], 6
mov byte [ebp - 0x135], 7
mov byte [ebp - 0x134], 0x2d
mov byte [ebp - 0x133], 0x59
mov byte [ebp - 0x132], 0x17
mov byte [ebp - 0x131], 0x32
mov byte [ebp - 0x130], 0x56
mov byte [ebp - 0x12f], 0x75
mov byte [ebp - 0x12e], 0x73
mov byte [ebp - 0x12d], 0xb9
mov byte [ebp - 0x12c], 0x67
mov byte [ebp - 0x12b], 0xe9
mov byte [ebp - 0x12a], 0xdb
mov byte [ebp - 0x129], 2
mov byte [ebp - 0x128], 0x12
mov byte [ebp - 0x127], 0x3a
mov byte [ebp - 0x126], 0x64
mov byte [ebp - 0x125], 0xaf
mov byte [ebp - 0x124], 0x19
mov byte [ebp - 0x123], 0x4e
mov byte [ebp - 0x122], 0x8d
mov byte [ebp - 0x121], 0xde
mov byte [ebp - 0x120], 0x74
mov byte [ebp - 0x11f], 0xa2
mov byte [ebp - 0x11e], 0xef
mov byte [ebp - 0x11d], 0xd5
mov byte [ebp - 0x11c], 3
mov byte [ebp - 0x11b], 0xc4
mov byte [ebp - 0x11a], 0xaa
mov byte [ebp - 0x119], 0x22
mov byte [ebp - 0x118], 8
mov byte [ebp - 0x117], 0x68
mov byte [ebp - 0x116], 0x69
mov byte [ebp - 0x115], 0x2f
mov byte [ebp - 0x114], 0x32
mov byte [ebp - 0x113], 0xe1
mov byte [ebp - 0x112], 0xc4
mov byte [ebp - 0x111], 0xb1
mov byte [ebp - 0x110], 0x35
mov byte [ebp - 0x10f], 0xf3
mov byte [ebp - 0x10e], 0x2c
mov byte [ebp - 0x10d], 0xf0
mov byte [ebp - 0x10c], 0xac
mov byte [ebp - 0x10b], 0x20
mov byte [ebp - 0x10a], 0xc1
mov byte [ebp - 0x109], 0xce
mov byte [ebp - 0x108], 0xe6
mov byte [ebp - 0x107], 0xf6
mov byte [ebp - 0x106], 2
mov byte [ebp - 0x105], 6
mov byte [ebp - 0x104], 8
mov byte [ebp - 0x103], 7
mov byte [ebp - 0x102], 4
mov byte [ebp - 0x101], 8
mov byte [ebp - 0x100], 5
mov byte [ebp - 0xff], 9
mov byte [ebp - 0xfe], 0
mov byte [ebp - 0xfd], 0
mov byte [ebp - 0xfc], 1
mov byte [ebp - 0xfb], 4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x13c]
or eax, 0x5c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x13c]
and ecx, 0x5c
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x13c]
mov byte [ebp + ecx - 0x1ac], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x5c], 0
jmp 0x1004d7ed
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x42
jae 0x1004d8bc
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x13c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004d834
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x13c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x13c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1004d7e5
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x13b]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x5c]
movzx ecx, byte [ebp + ecx - 0x13e]
movsx ecx, byte [ebp + ecx - 0x1ac]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x13b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0x13e]
movsx edx, byte [ebp + edx - 0x1ac]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x13b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0x13e]
movsx edx, byte [ebp + edx - 0x1ac]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x13c]
mov byte [ebp + ecx - 0x1ac], al
and dword [ebp - 0x5c], 0
jmp 0x1004d7e5
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1ac], 0
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10014a48
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1fc], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1fc]
call fcn.1004242a
pop ecx
mov dword [ebp - 0x290], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b8]
call fcn.10014a77
and dword [ebp - 0x98], 0
jmp 0x1004d92d
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xb
jae 0x1004d946
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x1ac], 0
jmp 0x1004d920
mov dword [ebp - 0x204], 0x15b2
cmp dword [ebp - 0x204], 0x793
jge 0x1004dbb4
movsd xmm0, qword [0x10007f88]
movsd qword [ebp - 0xc0], xmm0
and dword [ebp - 0xa4], 0
lea eax, [ebp - 0xa4]
push eax
push 0x10007814
call fcn.10057e4b
pop ecx
pop ecx
movsd xmm0, qword [0x10007f88]
movsd qword [ebp - 0x260], xmm0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0xa4]
dec eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0x20c], 0
je 0x1004d9f3
lea eax, [ebp - 0xc0]
push eax
push 0x10007b9c
call fcn.10057e4b
pop ecx
pop ecx
movsd xmm0, qword [ebp - 0xc0]
comisd xmm0, xmmword [ebp - 0x260]
jbe 0x1004d9f1
movsd xmm0, qword [ebp - 0xc0]
movsd qword [ebp - 0x260], xmm0
jmp 0x1004d99a
and dword [ebp - 0xac], 0
lea eax, [ebp - 0xac]
push eax
push 0x10007814
call fcn.10057e4b
pop ecx
pop ecx
movsd xmm0, qword [0x10007f88]
movsd qword [ebp - 0x1c0], xmm0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0x214], 0
je 0x1004da76
lea eax, [ebp - 0xc0]
push eax
push 0x10007b9c
call fcn.10057e4b
pop ecx
pop ecx
movsd xmm0, qword [ebp - 0xc0]
comisd xmm0, xmmword [ebp - 0x1c0]
jbe 0x1004da74
movsd xmm0, qword [ebp - 0xc0]
movsd qword [ebp - 0x1c0], xmm0
jmp 0x1004da1d
and dword [ebp - 0xb4], 0
lea eax, [ebp - 0xb4]
push eax
push 0x10007814
call fcn.10057e4b
pop ecx
pop ecx
movsd xmm0, qword [0x10007fd8]
movsd qword [ebp - 0x254], xmm0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0xb4]
dec eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0x21c], 0
je 0x1004daf9
lea eax, [ebp - 0xc0]
push eax
push 0x10007b9c
call fcn.10057e4b
pop ecx
pop ecx
movsd xmm0, qword [ebp - 0x254]
comisd xmm0, xmmword [ebp - 0xc0]
jbe 0x1004daf7
movsd xmm0, qword [ebp - 0xc0]
movsd qword [ebp - 0x254], xmm0
jmp 0x1004daa0
movsd xmm0, qword [0x10007f88]
movsd qword [ebp - 0x2a8], xmm0
movsd xmm0, qword [0x10007f88]
movsd qword [ebp - 0x248], xmm0
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2a8]
push eax
push 0x10007a78
call fcn.10057e4b
add esp, 0xc
movsd xmm0, qword [ebp - 0x248]
mulsd xmm0, qword [ebp - 0x1c0]
movsd xmm1, qword [ebp - 0x248]
mulsd xmm1, qword [ebp - 0x1c0]
movsd xmm2, qword [ebp - 0x2a8]
mulsd xmm2, qword [ebp - 0x254]
addsd xmm1, xmm2
divsd xmm0, xmm1
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.100588d4
pop ecx
pop ecx
fstp qword [ebp - 0x2c8]
movsd xmm0, qword [ebp - 0x2c8]
mulsd xmm0, qword [ebp - 0x260]
movsd qword [ebp - 0x2dc], xmm0
push ecx
push ecx
movsd xmm0, qword [ebp - 0x2dc]
movsd qword [esp], xmm0
push 0x10007ba0
call fcn.10058066
add esp, 0xc
mov byte [ebp - 0x88], 7
mov byte [ebp - 0x87], 0xbc
mov byte [ebp - 0x86], 2
mov byte [ebp - 0x85], 1
mov byte [ebp - 0x84], 4
mov byte [ebp - 0x83], 3
mov byte [ebp - 0x82], 1
mov byte [ebp - 0x81], 2
mov byte [ebp - 0x80], 6
mov byte [ebp - 0x7f], 0xf
mov byte [ebp - 0x7e], 0
mov byte [ebp - 0x7d], 8
mov byte [ebp - 0x7c], 9
mov byte [ebp - 0x7b], 1
mov byte [ebp - 0x7a], 8
mov byte [ebp - 0x79], 0
mov byte [ebp - 0x78], 0xb
mov byte [ebp - 0x77], 0x20
mov byte [ebp - 0x76], 0x84
mov byte [ebp - 0x75], 0xda
mov byte [ebp - 0x74], 0x42
mov byte [ebp - 0x73], 0x19
mov byte [ebp - 0x72], 0x31
mov byte [ebp - 0x71], 0x12
mov byte [ebp - 0x70], 0xce
mov byte [ebp - 0x6f], 0xad
mov byte [ebp - 0x6e], 0x6d
mov byte [ebp - 0x6d], 0x8b
mov byte [ebp - 0x6c], 3
mov byte [ebp - 0x6b], 2
mov byte [ebp - 0x6a], 5
mov byte [ebp - 0x69], 3
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x88]
or eax, 0x8a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
and ecx, 0x8a
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0x1b8], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x54], 0
jmp 0x1004dc9f
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x20
jae 0x1004dd6e
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x88]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1004dce6
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x88]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x88]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1004dc97
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x87]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x54]
movzx ecx, byte [ebp + ecx - 0x8a]
movsx ecx, byte [ebp + ecx - 0x1b8]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x87]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x8a]
movsx edx, byte [ebp + edx - 0x1b8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x87]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x8a]
movsx edx, byte [ebp + edx - 0x1b8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0x1b8], al
and dword [ebp - 0x54], 0
jmp 0x1004dc97
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1b8], 0
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x370]
call fcn.10014a48
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x22c]
call fcn.1004242a
pop ecx
mov dword [ebp - 0x23c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x370]
call fcn.10014a77
and dword [ebp - 0xa0], 0
jmp 0x1004dde2
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xb
jae 0x1004ddfb
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x1b8], 0
jmp 0x1004ddd5
mov dword [ebp - 0x234], 0x1eb3
cmp dword [ebp - 0x234], 0xbb9
jge 0x1004e0a8
push 0x15fb5b38
push 0x15fb5b40
push 0x15fb5b30
mov ecx, 0x10663c70
call fcn.1001bd77
mov ecx, eax
call fcn.1001bd77
mov ecx, eax
call fcn.1001bd77
mov eax, dword [0x15fb5b3c]
cmp eax, dword [0x15fb5b34]
jg 0x1004dea8
jl 0x1004de58
mov eax, dword [0x15fb5b38]
cmp eax, dword [0x15fb5b30]
jae 0x1004dea8
mov eax, dword [0x15fb5b38]
add eax, 1
mov ecx, dword [0x15fb5b3c]
adc ecx, 0
mov dword [0x15fb5b38], eax
mov dword [0x15fb5b3c], ecx
push fcn.1000d301
push 1
push dword [0x15fb5b3c]
push dword [0x15fb5b38]
mov ecx, 0x10663bb8
call fcn.1001be8c
mov dl, 0x20
mov ecx, eax
call fcn.1004187b
mov ecx, eax
call fcn.10040b71
mov ecx, eax
call fcn.100099cf
mov eax, dword [0x15fb5b38]
cmp eax, dword [0x15fb5b30]
jne 0x1004def6
mov eax, dword [0x15fb5b3c]
cmp eax, dword [0x15fb5b34]
jne 0x1004def6
push fcn.1000d301
push 2
push dword [0x15fb5b34]
push dword [0x15fb5b30]
mov ecx, 0x10663bb8
call fcn.1001be8c
mov dl, 0x20
mov ecx, eax
call fcn.1004187b
mov ecx, eax
call fcn.10040b71
mov ecx, eax
call fcn.100099cf
mov eax, dword [0x15fb5b38]
sub eax, dword [0x15fb5b30]
mov ecx, dword [0x15fb5b3c]
sbb ecx, dword [0x15fb5b34]
mov dword [0x15fb5b38], eax
mov dword [0x15fb5b3c], ecx
mov eax, dword [0x15fb5b40]
mov dword [ebp - 0x278], eax
mov eax, dword [0x15fb5b44]
mov dword [ebp - 0x274], eax
mov eax, dword [0x15fb5b40]
sub eax, 2
mov ecx, dword [0x15fb5b44]
sbb ecx, 0
mov dword [0x15fb5b40], eax
mov dword [0x15fb5b44], ecx
mov eax, dword [0x15fb5b40]
add eax, 1
mov ecx, dword [0x15fb5b44]
adc ecx, 0
push ecx
push eax
push dword [0x15fb5b3c]
push dword [0x15fb5b38]
call fcn.10070e60
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
mov eax, dword [0x15fb5b30]
mov dword [ebp - 0x68], eax
mov eax, dword [0x15fb5b34]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x3c], 2
and dword [ebp - 0x38], 0
push 0
push 2
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
call fcn.10070f10
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], edx
mov eax, dword [ebp - 0x26c]
or eax, dword [ebp - 0x268]
jne 0x1004dfde
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x64]
sbb ecx, dword [ebp - 0x148]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
jmp 0x1004e008
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x64]
sbb ecx, dword [ebp - 0x148]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x38], eax
mov eax, dword [0x15fb5b40]
add eax, 1
mov ecx, dword [0x15fb5b44]
adc ecx, 0
push ecx
push eax
push dword [0x15fb5b3c]
push dword [0x15fb5b38]
call fcn.10070f10
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], edx
cmp dword [ebp - 0x3c], 2
jne 0x1004e05e
cmp dword [ebp - 0x38], 0
jne 0x1004e05e
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x38]
adc ecx, dword [ebp - 0x174]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
jmp 0x1004e076
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x38]
sbb ecx, dword [ebp - 0x174]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
push fcn.1000d301
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
mov ecx, 0x10663bb8
call fcn.1001be8c
mov dl, 0x20
mov ecx, eax
call fcn.1004187b
mov ecx, eax
call fcn.1001be8c
mov ecx, eax
call fcn.100099cf
push dword [ebp - 0x23c]
push dword [ebp - 0x290]
call fcn.10049c56
pop ecx
pop ecx
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x19c]
mov dword [eax + 8], ecx
push 1
push 0x2160
push 0x78e2
lea eax, [ebp - 0x10]
push eax
push 0x4b0a
push 0
push 0x48b0
push 0x3182
lea eax, [ebp - 0x19c]
push eax
push 0x44ac
call fcn.1004cbd2
add esp, 0x28
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x1004e141
push 0x1b7b
push 0x2741
push 0x6b66
push 0xe84
push 0
push 0x276f
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x58]
push eax
push 0x6fbf
call fcn.1004cac8
add esp, 0x28
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
and dword [ebp - 0x60], 0
jmp 0x1004e163
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x40]
jge 0x1004e1ff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x60], eax
jae 0x1004e19a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x60]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x1a0], eax
jmp 0x1004e1c3
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0xb8]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax + 0x14]
call fcn.10049c56
pop ecx
pop ecx
mov dword [ebp - 0x1a0], eax
push 0
lea eax, [ebp - 0x28]
push eax
push 0x1bb5
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4e19
lea eax, [ebp - 0x1a0]
push eax
push 0x5930
call fcn.1004d0f5
add esp, 0x24
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x1004e15c
push 1
push 0x6624
push 0xbf8
push 0
push 0x140a
push 0x6c80
lea eax, [ebp - 0x10]
push eax
push 0x32d7
lea eax, [ebp - 0x58]
push eax
call fcn.1004d0f5
add esp, 0x24
lea eax, [ebp - 0x40]
push eax
push 0x4f4b
lea eax, [ebp - 0x10]
push eax
push 0x131d
push 0
lea eax, [ebp - 0x58]
push eax
push 0x5862
push 1
push 0x1987
push 0x7694
call fcn.1004cac8
add esp, 0x28
and dword [ebp - 0x160], 0
jmp 0x1004e273
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x40]
jge 0x1004e2d0
push 0x5d0a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x78f2
lea eax, [ebp - 0x14]
push eax
push 0x2624
push 0x77ba
push 0
call fcn.1004c2fe
add esp, 0x24
push 0
push 0x5ca6
push 1
push 0x4a79
push 0x2ee
lea eax, [ebp - 0x14]
push eax
push 0x2817
call fcn.1004c247
add esp, 0x1c
jmp 0x1004e266
lea eax, [ebp - 0x14]
push eax
push 0x533
push 0x6a43
push 0
lea eax, [ebp - 0x40]
push eax
push 0x5a59
push 0x7e9b
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.1004c2fe
add esp, 0x24
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
and dword [ebp - 0x9c], 0
jmp 0x1004e321
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x40]
jge 0x1004e3ba
lea eax, [ebp - 0x14]
push eax
push 0x51a6
push 0x66a1
push 0x32d5
push 0x44e2
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x5ff3
lea eax, [ebp - 0x10]
push eax
push 0x55db
push 0x721a
push 0
push 0x2c5d
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1004c0ac
add esp, 0x3c
push 0
push 0x3adb
push 0x492f
push 0x7a70
lea eax, [ebp - 0x14]
push eax
push 0x6c43
push 1
push 0x1100
push 0x46a
push 0x1e6b
push 0x4d3a
push 1
call fcn.1004d49a
add esp, 0x30
jmp 0x1004e314
mov eax, dword [ebp - 0x40]
shl eax, 1
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2f8]
call fcn.10014a48
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2f8]
call fcn.10009e39
mov dword [ebp - 0x194], eax
push dword [ebp - 0x194]
mov eax, dword [ebp - 0x194]
shr eax, 1
push eax
call fcn.10049c56
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0xf8], 2
mov byte [ebp - 0xf7], 0xb7
mov byte [ebp - 0xf6], 0
mov byte [ebp - 0xf5], 0x42
mov byte [ebp - 0xf4], 1
mov byte [ebp - 0xf3], 0x4a
mov byte [ebp - 0xf2], 0x2f
mov byte [ebp - 0xf1], 0x82
mov byte [ebp - 0xf0], 0x9e
mov byte [ebp - 0xef], 0x3f
mov byte [ebp - 0xee], 0x60
mov byte [ebp - 0xed], 0xc
mov byte [ebp - 0xec], 0x4e
mov byte [ebp - 0xeb], 0x95
mov byte [ebp - 0xea], 0xb9
mov byte [ebp - 0xe9], 0xb0
mov byte [ebp - 0xe8], 0x6f
mov byte [ebp - 0xe7], 0x95
mov byte [ebp - 0xe6], 0x53
mov byte [ebp - 0xe5], 0xc2
mov byte [ebp - 0xe4], 0x99
mov byte [ebp - 0xe3], 0x8c
mov byte [ebp - 0xe2], 0xc6
mov byte [ebp - 0xe1], 0x2f
mov byte [ebp - 0xe0], 0xd
mov byte [ebp - 0xdf], 0x65
mov byte [ebp - 0xde], 0x18
mov byte [ebp - 0xdd], 0xe4
mov byte [ebp - 0xdc], 0x4c
mov byte [ebp - 0xdb], 0xe5
mov byte [ebp - 0xda], 0x41
mov byte [ebp - 0xd9], 0xbd
mov byte [ebp - 0xd8], 0xb4
mov byte [ebp - 0xd7], 0x78
mov byte [ebp - 0xd6], 0xba
mov byte [ebp - 0xd5], 0x77
mov byte [ebp - 0xd4], 0xdc
mov byte [ebp - 0xd3], 0xa2
mov byte [ebp - 0xd2], 0xdc
mov byte [ebp - 0xd1], 0x9a
mov byte [ebp - 0xd0], 0xba
mov byte [ebp - 0xcf], 0x24
mov byte [ebp - 0xce], 0xc5
mov byte [ebp - 0xcd], 0x57
mov byte [ebp - 0xcc], 0x4c
mov byte [ebp - 0xcb], 0x81
mov byte [ebp - 0xca], 0xa5
mov byte [ebp - 0xc9], 0xba
mov byte [ebp - 0xc8], 0x5e
mov byte [ebp - 0xc7], 0xce
mov byte [ebp - 0xc6], 0x12
mov byte [ebp - 0xc5], 0x3c
mov byte [ebp - 0xc4], 0x99
mov byte [ebp - 0xc3], 0x93
mov byte [ebp - 0xc2], 3
mov byte [ebp - 0xc1], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xf8]
or eax, 0xdb
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xf8]
and ecx, 0xdb
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xf8]
mov byte [ebp + ecx - 0x90], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xb0], 0
jmp 0x1004e5f1
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x38
jae 0x1004e6db
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xf8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1004e63b
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xf8]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xf8]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1004e5e9
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xf7]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xb0]
movzx ecx, byte [ebp + ecx - 0xfa]
movsx ecx, byte [ebp + ecx - 0x90]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0xf7]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xb0]
movzx edx, byte [ebp + edx - 0xfa]
movsx edx, byte [ebp + edx - 0x90]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0xf8]
mov byte [ebp + ecx - 0x90], al
push 0x6554
push 0x7870
lea eax, [ebp - 0xb0]
push eax
push 0x141d
push 0x366d
push 0
push 0x369
push 1
push 0x65cd
push 0x1fd8
push 0x2f14
call fcn.1004c703
add esp, 0x2c
jmp 0x1004e5e9
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x90], 0
cmp dword [ebp - 0x4c], 4
jle 0x1004e7a3
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x3a0]
call fcn.10014a48
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4c]
sub eax, 4
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.10049dc2
pop ecx
pop ecx
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x230], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x284]
mov edx, dword [ebp - 0x230]
lea ecx, [ebp - 0x388]
call fcn.100511d6
pop ecx
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x17c], eax
jmp 0x1004e7cf
push dword [ebp - 0x4c]
lea eax, [ebp - 0x358]
push eax
call fcn.10049dc2
pop ecx
pop ecx
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1d8], eax
push dword [ebp - 0x1d8]
lea ecx, [ebp - 0x328]
call fcn.1001c079
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x1004e80a
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x358]
call fcn.10014a77
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1004e825
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x388]
call fcn.10014a77
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x1004e840
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x340]
call fcn.10014a77
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x1004e85b
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x3a0]
call fcn.10014a77
and dword [ebp - 0xa8], 0
jmp 0x1004e871
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 5
jae 0x1004e88a
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0x90], 0
jmp 0x1004e864
push 1
push 0xfaa
push 0x6cdf
push 0x7ac8
push 0x4f4
push 0x1225
push 0x45f1
lea eax, [ebp - 0x14]
push eax
push 0x15cc
push 0x5afe
push 0x6f4
lea eax, [ebp - 0x10]
push eax
push 0x3925
push 0
call fcn.1004c3d4
add esp, 0x38
push 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x3304
push 0x6a4c
lea eax, [ebp - 0x328]
push eax
push 0
push 0x6617
lea eax, [ebp - 0x28]
push eax
push 0x712a
lea eax, [ebp - 0x10]
push eax
push 0
call fcn.1004d49a
add esp, 0x30
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 0x18c8
lea eax, [ebp - 0x24]
push eax
push 0x174b
lea eax, [ebp - 0x28]
push eax
call fcn.1004c247
add esp, 0x1c
push 0x1dbf
push 0x7445
push 0x1831
push 1
push 0x40c3
push 0x31f7
lea eax, [ebp - 0x14]
push eax
push 0x2c71
push 1
call fcn.1004c2fe
add esp, 0x24
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x1004e9c0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1004e994
mov dword [ebp - 0x198], 0xc
jmp 0x1004e9b2
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x188], eax
jmp 0x1004e9c7
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x18c], eax
and dword [ebp - 0x94], 0
jmp 0x1004e9e9
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax + 0x18]
jae 0x1004eb6b
push dword [ebp - 0x18c]
mov eax, dword [ebp - 0x18c]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10049c56
pop ecx
pop ecx
mov dword [ebp - 0x15c], eax
push dword [ebp - 0x15c]
lea eax, [ebp - 0x310]
push eax
call fcn.10049dc2
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push 1
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xa35
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x4d94
push 0x5fdf
push 0x3530
lea eax, [ebp - 0x24]
push eax
push 0x90a
push 0x2d76
push 0x67c1
push 1
call fcn.1004c3d4
add esp, 0x38
lea eax, [ebp - 0x14]
push eax
push 0x7f46
push 0x7527
push 0x512e
lea eax, [ebp - 0x310]
push eax
push 1
lea eax, [ebp - 0x15c]
push eax
push 1
push 0x62ae
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004c703
add esp, 0x2c
push 1
push 0x6bc2
push 0x7dbe
push 0x590c
push 0x7fdf
push 0x609a
push 1
lea eax, [ebp - 0x15c]
push eax
push 0x74ea
lea eax, [ebp - 0x14]
push eax
push 0x75a3
push 0
call fcn.1004d49a
add esp, 0x30
push 1
push 0x4ad1
push 0x1317
push 0x1af8
lea eax, [ebp - 0x24]
push eax
push 1
push 0x1703
lea eax, [ebp - 0x28]
push eax
push 0x1f06
lea eax, [ebp - 0x14]
push eax
call fcn.1004cbd2
add esp, 0x28
push 0x5c64
push 1
push 0x296
lea eax, [ebp - 0x14]
push eax
push 0x273f
push 0x60e8
push 0x66ce
push 0x337a
push 0x5b33
push 1
push 0x1abe
call fcn.1004ce22
add esp, 0x2c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x310]
call fcn.10014a77
jmp 0x1004e9dc
and dword [ebp - 0x50], 0
jmp 0x1004eb78
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x50], eax
jae 0x1004eb9f
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
jmp 0x1004eb71
mov dword [ebp - 0x238], 0x13d5
cmp dword [ebp - 0x238], 0x12c6
jge 0x1004eebe
push 0x15fb5b2c
push 0x15fb5b48
mov ecx, 0x10663c70
call fcn.1001bc37
mov ecx, eax
call fcn.1001bc37
and dword [ebp - 0x48], 0
jmp 0x1004ebe1
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [0x15fb5b48]
jge 0x1004ec36
mov eax, dword [ebp - 0x48]
lea eax, [eax*4 + 0x15ef2628]
push eax
mov ecx, 0x10663c70
call fcn.1001bc37
mov eax, dword [ebp - 0x48]
mov eax, dword [eax*4 + 0x15ef2628]
cdq
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2ac], edx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2b0]
push eax
mov ecx, 0x16017920
call fcn.10050a8f
mov ecx, eax
call fcn.10009b79
jmp 0x1004ebda
xorpd xmm0, xmm0
movlpd qword [ebp - 0x168], xmm0
mov dword [ebp - 0x34], 1
jmp 0x1004ec52
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [0x15fb5b48]
dec eax
cmp dword [ebp - 0x34], eax
jge 0x1004ee9c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax*4 + 0x15ef2628]
cdq
idiv dword [0x15fb5b2c]
test edx, edx
je 0x1004ec78
jmp 0x1004ec4b
mov eax, dword [ebp - 0x34]
mov eax, dword [eax*4 + 0x15ef2628]
cdq
idiv dword [0x15fb5b2c]
cdq
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax*4 + 0x15ef2628]
cdq
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], edx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax*4 + 0x15ef2628]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [0x15fb5b2c]
cdq
push edx
push eax
push esi
push ecx
call fcn.1005e290
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
lea eax, [ebp - 0x154]
push eax
mov ecx, 0x16017920
call fcn.10050b41
cmp eax, 1
jne 0x1004ed03
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x16017920
call fcn.10050b41
cmp eax, 1
je 0x1004ed08
jmp 0x1004ec4b
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x154]
push eax
mov ecx, 0x16017920
call fcn.10050a8f
mov ecx, eax
call fcn.10009fe5
push eax
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x154]
push eax
mov ecx, 0x16017920
call fcn.10050a8f
mov ecx, eax
call fcn.10015172
push dword [eax]
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x154]
push eax
mov ecx, 0x16017920
call fcn.10050a8f
mov ecx, eax
call fcn.10009fe5
push dword [eax]
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x2cc]
call fcn.10041a4f
pop ecx
pop ecx
mov ecx, eax
call fcn.10016c62
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x16017920
call fcn.10050a8f
mov ecx, eax
call fcn.10009fe5
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x16017920
call fcn.10050a8f
mov ecx, eax
call fcn.10015172
push dword [eax]
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x16017920
call fcn.10050a8f
mov ecx, eax
call fcn.10009fe5
push dword [eax]
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x2d4]
call fcn.10041a4f
pop ecx
pop ecx
mov ecx, eax
call fcn.10016c62
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x184]
jne 0x1004ee4b
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0x180]
jne 0x1004ee4b
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x144]
jne 0x1004ee4b
mov eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0x140]
jne 0x1004ee4b
mov eax, dword [ebp - 0x158]
dec eax
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
cdq
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x16017920
call fcn.10050a8f
mov ecx, eax
call fcn.10009b61
sub eax, dword [ebp - 0x1c4]
xor ecx, ecx
push ecx
push eax
push edi
push esi
call fcn.1005e290
add eax, dword [ebp - 0x168]
adc edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
jmp 0x1004ec4b
push fcn.1000d301
push dword [ebp - 0x164]
push dword [ebp - 0x168]
mov ecx, 0x10663bb8
call fcn.1001be8c
mov ecx, eax
call fcn.100099cf
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x328]
call fcn.10014a77
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f8]
call fcn.10014a77
jmp 0x1004ef17
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax]
inc eax
inc eax
mov ecx, dword [ebp - 0x16c]
mov dword [ecx], eax
jmp 0x1004f069
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x240]
movzx eax, byte [eax]
test eax, eax
je 0x1004efbe
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x170]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x200]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x170]
mov dword [ecx], eax
jmp 0x1004f069
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x270], eax
push 0
mov eax, dword [ebp - 0x270]
push dword [eax]
mov eax, dword [ebp - 0x1c8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1cc]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x1d4]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x1dc]
call fcn.1005098b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret