Function at 0x4ff4d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xbc], eax
xor eax, eax
push ebp
push 0x5016c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x535a48]
push eax
mov eax, dword [0x53587c]
push eax
mov ecx, dword [0x5359e8]
mov edx, dword [ebp - 0x34]
mov eax, dword [0x5359d0]
call fcn.004f9618
mov dword [ebp - 0x18], eax
mov eax, dword [0x5358d4]
sub eax, dword [0x535a48]
mov edx, dword [0x535964]
sub edx, dword [0x535a48]
cmp eax, edx
jle 0x4ff556
mov eax, dword [ebp - 0x50]
add eax, 0x4c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x6c]
call fcn.0040762c
mov dword [ebp - 0x30], eax
jmp 0x4ff577
mov edx, dword [0x53596c]
mov eax, dword [ebp - 0x58]
call fcn.004f8804
mov dword [0x53590c], eax
mov eax, dword [ebp - 0x58]
imul dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x5359e8
lea edx, [ebp - 0x1c]
mov eax, 0x53592c
call fcn.004eb6e8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
push 0x53590c
push 0x5358b4
lea ecx, [ebp - 0x58]
mov edx, 0x53586c
lea eax, [ebp - 0x40]
call fcn.004f9000
fild dword [ebp - 0x4c]
call fcn.00407638
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x10]
mov edx, 0x5016e8
call fcn.0040a01c
mov eax, dword [0x5359e8]
mov dword [0x5359e8], eax
mov byte [ebp - 1], 1
mov edx, dword [0x5358a4]
mov eax, dword [ebp - 0x28]
call fcn.004f8804
mov dword [ebp - 0x34], eax
mov eax, dword [0x5358a4]
call fcn.004071f4
mov dword [0x5358a4], eax
imul eax, dword [ebp - 0x5c], 0x6c
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 6
jge 0x4ff64d
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
imul eax, dword [ebp - 0x6c], 0x65
mov dword [ebp - 0x40], eax
jmp 0x4ff64d
mov eax, dword [0x5359e8]
push eax
mov eax, dword [0x5359b4]
push eax
mov eax, dword [0x5359e0]
push eax
mov eax, dword [0x535984]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [0x5358dc]
mov eax, dword [0x535a50]
call fcn.004f8e58
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.0040abd8
mov edx, 1
mov eax, dword [ebp + 8]
call fcn.004f91b0
mov dword [ebp - 0x78], eax
mov eax, dword [0x5359f8]
mov dword [0x53587c], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040a01c
mov eax, dword [ebp - 0x34]
add eax, 0x2f
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x54]
call fcn.0040762c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
imul dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x78]
cmp dword [eax + 4], 0
jne 0x4ff815
mov byte [ebp - 1], 1
jmp 0x501690
xor eax, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [0x53595c]
mov dword [0x53585c], eax
mov eax, dword [ebp - 0x38]
add eax, 0x3a
mov dword [ebp - 0x18], eax
mov eax, dword [0x53585c]
mov dword [0x535884], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5358b4]
call fcn.004071f4
mov dword [0x5358b4], eax
inc dword [ebp - 0x6c]
cmp dword [ebp - 0x6c], 0xe
jne 0x4ff81a
mov eax, dword [ebp - 0x60]
add eax, 0xd1
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.0040762c
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [0x535894]
mov dword [0x53592c], eax
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 0xc
jne 0x4ff879
mov eax, dword [ebp - 0x24]
add eax, 0xc8
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.0040762c
mov dword [ebp - 0x3c], eax
mov eax, dword [0x53588c]
mov dword [0x535984], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x535a30]
mov dword [0x53586c], eax
fild dword [ebp - 0x68]
call fcn.0040762c
mov dword [ebp - 0x18], eax
imul eax, dword [ebp - 0x58], 0xeb
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x1c]
call fcn.0040762c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
add eax, 0x33
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.0040762c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [0x5359e8]
call fcn.004071f4
mov dword [0x5359e8], eax
mov eax, dword [0x53598c]
mov dword [0x5359f8], eax
mov eax, dword [0x5359e8]
cmp eax, dword [0x5359f8]
jge 0x4ffa13
xor eax, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [0x535a50]
call fcn.004071f4
mov dword [0x535a50], eax
mov eax, dword [0x5359e8]
cmp eax, dword [0x535a50]
jle 0x4ff962
mov eax, dword [0x535a40]
mov dword [0x535894], eax
inc dword [ebp - 0x6c]
cmp dword [ebp - 0x6c], 3
jne 0x4ff93c
mov eax, dword [0x535884]
mov dword [0x5358d4], eax
mov eax, dword [0x5358d4]
cmp eax, dword [0x535894]
jle 0x4ff99c
mov eax, dword [ebp - 0x4c]
add eax, 0x26
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.0040762c
mov dword [ebp - 0x38], eax
mov eax, dword [0x53599c]
mov edx, 0x501760
call fcn.0040aba0
jne 0x4ff9b9
imul eax, dword [ebp - 0x70], 0xad
mov dword [ebp - 0x3c], eax
jmp 0x4ffa09
mov eax, dword [0x5359b4]
sub eax, dword [0x53595c]
cmp eax, dword [0x5359d8]
jne 0x4ff9ef
xor eax, eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x4ffa09
inc dword [ebp - 0x64]
lea eax, [ebp - 8]
mov edx, 0x501784
call fcn.0040a01c
cmp dword [ebp - 0x64], 0
jl 0x4ff9d7
jmp 0x4ffa09
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.00407638
mov dword [ebp - 0x34], eax
mov eax, dword [0x535a38]
mov dword [0x53597c], eax
mov eax, dword [ebp - 0x30]
imul dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 5
jge 0x4ffa61
inc dword [ebp - 0x44]
mov eax, dword [0x535a50]
call fcn.004071f4
mov dword [0x535a50], eax
mov eax, dword [0x5358d4]
cmp eax, dword [0x535a50]
jle 0x4ffa51
mov eax, dword [ebp - 0x68]
add eax, 0x5a
mov dword [ebp - 0x28], eax
jmp 0x4ffa5b
mov eax, dword [0x535864]
mov dword [0x5358e4], eax
cmp dword [ebp - 0x44], 5
jl 0x4ffa27
mov eax, dword [0x535964]
call fcn.004071f4
mov dword [0x535964], eax
mov eax, 0xa2
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x5359e0]
add eax, 0x6e
mov dword [0x535a38], eax
push 0x14
mov eax, dword [ebp - 0x7c]
push eax
call dword [0x5359ec]
test eax, eax
jne 0x501690
mov eax, dword [0x5359bc]
cmp eax, dword [0x53595c]
jle 0x4ffb00
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x28]
cmp eax, edx
jle 0x4ffaf7
xor eax, eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xa
jge 0x4ffaf7
inc dword [ebp - 0x68]
mov eax, dword [0x535a50]
mov dword [0x535a50], eax
mov eax, dword [0x53598c]
mov dword [0x535874], eax
mov eax, dword [0x535874]
cmp eax, dword [0x535a50]
jle 0x4ffaf1
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x68], 0xa
jl 0x4ffac4
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [0x5359d0]
mov dword [0x5359e0], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
jmp 0x4ffb29
mov eax, 0x93
sub eax, dword [0x5359e8]
cmp eax, 0xf
jge 0x4ffb44
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040a01c
mov eax, dword [ebp - 0x24]
mov edx, eax
shl eax, 6
add eax, edx
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 0x6c], 0xd1
mov dword [ebp - 0x18], eax
mov eax, 0xb7
sub eax, dword [0x5358d4]
mov dword [0x5359e0], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0xc], 0
jne 0x4ffd3f
fild dword [ebp - 0x48]
call fcn.00407638
mov dword [ebp - 0x30], eax
mov eax, dword [0x5358b4]
mov dword [0x5358ec], eax
mov eax, dword [0x53586c]
mov dword [0x5358fc], eax
mov eax, dword [0x535904]
call fcn.004071f4
mov dword [0x535904], eax
mov eax, dword [0x535904]
cmp eax, dword [0x5358fc]
jle 0x4ffc1b
mov eax, dword [ebp - 0x38]
add eax, 0xe2
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xd
jge 0x4ffc53
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x4c]
cmp eax, 0x81
jge 0x4ffc09
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 9
jge 0x4ffc13
inc dword [ebp - 0x54]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040abd8
cmp dword [ebp - 0x54], 9
jl 0x4ffbe8
jmp 0x4ffc13
mov eax, dword [0x535884]
mov dword [0x5358d4], eax
cmp dword [ebp - 0x4c], 0xd
jl 0x4ffbcd
jmp 0x4ffc53
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 5
jge 0x4ffc53
inc dword [ebp - 0x64]
mov eax, dword [0x535a20]
mov edx, 0x5017b8
call fcn.0040aba0
jne 0x4ffc4d
mov eax, dword [0x535a08]
mov dword [0x53587c], eax
cmp dword [ebp - 0x64], 5
jl 0x4ffc2f
fild dword [ebp - 0x18]
call fcn.00407638
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jge 0x4ffc7c
inc dword [ebp - 0x70]
mov eax, dword [0x53588c]
mov dword [0x53596c], eax
cmp dword [ebp - 0x70], 0
jl 0x4ffc69
mov eax, dword [0x53597c]
mov dword [0x5359ac], eax
jmp 0x501690
mov eax, dword [0x5359ac]
mov dword [0x535874], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [0x53589c]
mov dword [0x53589c], eax
mov eax, dword [0x5358a4]
call fcn.004071f4
mov dword [0x5358a4], eax
mov eax, dword [0x5358a4]
cmp eax, dword [0x53589c]
jle 0x4ffd80
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
jmp 0x4ffd89
mov eax, dword [ebp - 0x50]
sub eax, 0x7c
mov dword [ebp - 0x40], eax
mov eax, dword [0x535964]
call fcn.004071f4
mov dword [0x535964], eax
mov eax, dword [ebp - 0x5c]
imul dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x74]
push eax
call dword [0x5359b8]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x4fff4b
mov eax, dword [ebp - 0x38]
imul dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [0x5358f4]
call fcn.004071f4
mov dword [0x5358f4], eax
mov eax, dword [ebp - 0x34]
add eax, 0xf6
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xd
jge 0x4ffe0f
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
add eax, 0xd8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x44], 0xd
jl 0x4ffdfb
mov eax, dword [ebp - 0x68]
sub eax, 0x64
mov dword [ebp - 0x5c], eax
mov byte [ebp - 1], 0
mov eax, dword [ebp - 0x6c]
sub eax, 0x37
mov dword [ebp - 0x2c], eax
mov eax, dword [0x53596c]
mov dword [0x5358d4], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x34]
cmp eax, 0x70
jge 0x4ffe5d
mov eax, dword [ebp - 0x48]
add eax, 0x67
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.0040762c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
sub eax, 0x6f
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 5
jge 0x501690
inc dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xa
jge 0x4ffebb
inc dword [ebp - 0x60]
mov eax, dword [0x5359f8]
mov dword [0x535a48], eax
mov eax, dword [0x53586c]
call fcn.004071f4
mov dword [0x53586c], eax
mov eax, dword [0x53586c]
cmp eax, dword [0x535a48]
jle 0x4ffeb5
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x60], 0xa
jl 0x4ffe83
cmp dword [ebp - 0x54], 5
jl 0x4ffe75
jmp 0x501690
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040a01c
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x4fff87
inc dword [ebp - 0x20]
imul eax, dword [ebp - 0x4c], 0x7e
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5358b4]
mov dword [0x5358d4], eax
mov eax, dword [0x535a18]
mov dword [0x5358f4], eax
jmp 0x4fff87
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [0x53594c]
call fcn.004071f4
mov dword [0x53594c], eax
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 6
jne 0x4fff8c
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
add eax, 0xc9
mov dword [ebp - 0x38], eax
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 9
jne 0x4fffa9
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
add eax, 0xf5
mov dword [ebp - 0x68], eax
xor eax, eax
push ebp
push 0x50000d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
inc eax
push eax
mov eax, dword [ebp + 8]
add eax, 8
mov ecx, 1
mov edx, dword [0x4eb488]
call fcn.0040bf84
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x500245
mov eax, dword [0x535a08]
mov dword [0x5359d0], eax
mov eax, dword [0x5359d8]
call fcn.004071f4
mov dword [0x5359d8], eax
mov eax, dword [0x5359d0]
cmp eax, dword [0x5359d8]
jge 0x5002bf
xor eax, eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x50029e
inc dword [ebp - 0x64]
mov eax, dword [0x535a20]
mov edx, dword [0x5359c8]
call fcn.0040aba0
jne 0x500298
lea eax, [ebp - 8]
mov edx, 0x501860
call fcn.0040a01c
cmp dword [ebp - 0x64], 2
jl 0x500276
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xf
jge 0x5002c6
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x70]
add eax, 0x87
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x30], 0xf
jl 0x5002a9
jmp 0x5002c6
imul eax, dword [ebp - 0x6c], 0x35
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xf
jge 0x50030e
inc dword [ebp - 0x58]
mov ecx, 1
mov edx, dword [ebp - 0x14]
mov eax, 0x501884
call fcn.0040ade8
cmp eax, 0xb5
je 0x50030e
mov eax, dword [ebp - 0x38]
lea eax, [eax + eax*2]
mov dword [ebp - 0x20], eax
jmp 0x50030e
imul eax, dword [ebp - 0x24], 0x7b
mov dword [ebp - 0x54], eax
mov eax, 0x59
sub eax, dword [0x53589c]
cmp eax, 0x39
jge 0x5003ad
mov eax, dword [ebp - 0x34]
imul dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [0x5359e0]
add eax, dword [0x535a28]
cmp eax, dword [0x535a28]
jle 0x5003a1
xor eax, eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 9
jge 0x5003ba
inc dword [ebp - 0x40]
mov ecx, 1
mov edx, dword [0x535a20]
mov eax, 0x5018b4
call fcn.0040ade8
cmp eax, 0x77
je 0x50038d
mov eax, dword [0x5358fc]
add eax, 4
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.00407638
mov dword [0x535904], eax
jmp 0x500399
imul eax, dword [0x5358e4], 0x77
mov dword [0x5359e0], eax
cmp dword [ebp - 0x40], 9
jl 0x500350
jmp 0x5003ba
mov eax, dword [0x5359e8]
mov dword [0x535874], eax
jmp 0x5003ba
mov eax, dword [0x535974]
add eax, 0x3d
mov dword [0x535934], eax
mov eax, dword [0x535a30]
mov dword [0x535974], eax
mov eax, dword [0x535a18]
add eax, 4
mov dword [0x5359e0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov ecx, dword [ebp - 0x88]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp + 8]
inc dword [eax + 0xc]
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 0
je 0x500686
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.00407638
mov dword [ebp - 0x50], eax
mov eax, dword [0x535a40]
mov dword [0x5359b4], eax
mov eax, dword [0x5359e0]
mov dword [0x5359c4], eax
mov eax, dword [0x53597c]
mov dword [0x5359d8], eax
mov eax, dword [ebp - 0x3c]
imul dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.0040abd8
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
mov eax, dword [0x53586c]
mov dword [0x5358bc], eax
mov eax, dword [ebp - 0x68]
add eax, 0xf7
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [0x535864]
mov dword [0x53590c], eax
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
sub eax, 0x3e
mov dword [ebp - 0x48], eax
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 6
jne 0x500474
lea eax, [ebp - 0x10]
mov edx, 0x5018d8
call fcn.0040a01c
mov eax, dword [0x5359f0]
mov edx, 0x50190c
call fcn.0040aba0
jne 0x5004f1
xor eax, eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 9
jge 0x5004fb
inc dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040abd8
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 6
jne 0x5004ca
cmp dword [ebp - 0x6c], 9
jl 0x5004c2
jmp 0x5004fb
imul eax, dword [ebp - 0x4c], 0x9f
mov dword [ebp - 0x44], eax
mov eax, dword [0x535a28]
mov dword [0x53595c], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [0x535a40]
call fcn.004071f4
mov dword [0x535a40], eax
mov eax, dword [0x53594c]
mov dword [0x535a50], eax
mov eax, dword [0x535a50]
cmp eax, dword [0x535a40]
jle 0x500582
mov eax, dword [0x535a50]
mov dword [0x53587c], eax
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
add eax, 0xb0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.0040a01c
xor eax, eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 5
jge 0x500582
inc dword [ebp - 0x50]
mov eax, 0xb7
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x50], 5
jl 0x50056e
xor eax, eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xa
jge 0x5005e5
inc dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x5005df
inc dword [ebp - 0x60]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x5005c1
mov eax, dword [ebp - 0x90]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x5a
jle 0x5005d9
mov eax, dword [0x53586c]
call fcn.004071f4
mov dword [0x53586c], eax
cmp dword [ebp - 0x60], 1
jl 0x50059b
cmp dword [ebp - 0x5c], 0xa
jl 0x50058d
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 5
jge 0x500614
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x54]
imul dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x30], 5
jl 0x5005f0
mov eax, dword [0x53587c]
inc eax
mov dword [0x5358cc], eax
mov eax, dword [0x5358e4]
call fcn.004071f4
mov dword [0x5358e4], eax
mov eax, dword [0x5358e4]
cmp eax, dword [0x535a40]
jle 0x50064d
mov eax, dword [0x5358ac]
sub eax, 0x64
mov dword [0x53597c], eax
jmp 0x5008d3
mov eax, dword [0x53598c]
add eax, dword [0x5359d0]
cmp eax, dword [0x5359d0]
jne 0x500671
imul eax, dword [0x53598c], 0x5f
mov dword [0x53587c], eax
jmp 0x5008d3
fild dword [0x53588c]
call fcn.0040762c
mov dword [0x5358f4], eax
jmp 0x5008d3
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, 0xbb
sub eax, dword [0x535a00]
cmp eax, 0xcd
jge 0x5006f4
xor eax, eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x5006ce
inc dword [ebp - 0x64]
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040a01c
cmp dword [ebp - 0x64], 1
jl 0x5006ba
mov eax, dword [0x53589c]
sub eax, dword [0x535a38]
cmp eax, 0x84
jge 0x5006eb
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x2c], eax
jmp 0x500731
imul eax, dword [ebp - 0x18], 0x36
mov dword [ebp - 0x40], eax
jmp 0x500731
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x34]
jle 0x500728
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x500731
inc dword [ebp - 0x38]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040abd8
cmp dword [ebp - 0x38], 4
jl 0x500707
jmp 0x500731
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x54]
cmp eax, edx
jge 0x500793
mov eax, dword [0x5359c4]
mov dword [0x5359d8], eax
mov eax, dword [0x535964]
mov dword [0x5359e8], eax
mov eax, dword [0x5359d8]
cmp eax, dword [0x5359e8]
jge 0x5007d4
mov eax, dword [0x5359b4]
mov dword [0x535a40], eax
mov eax, dword [0x5359d8]
cmp eax, dword [0x535a40]
jge 0x500788
lea eax, [ebp - 8]
mov edx, 0x501934
call fcn.0040a01c
jmp 0x5007d4
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
jmp 0x5007d4
mov eax, dword [0x5359d0]
add eax, dword [0x535a40]
cmp eax, dword [0x535a40]
jle 0x5007ca
xor eax, eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x5007ca
inc dword [ebp - 0x60]
mov eax, dword [0x5358ec]
sub eax, dword [0x535894]
mov dword [0x53593c], eax
cmp dword [ebp - 0x60], 3
jl 0x5007b1
mov eax, dword [0x535a50]
mov dword [0x5359d0], eax
fild dword [0x535974]
call fcn.0040762c
mov dword [0x5358a4], eax
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], 0x10
jne 0x50069d
mov eax, dword [0x5359c4]
imul dword [0x535904]
mov dword [0x53594c], eax
mov eax, dword [0x535974]
call fcn.004071f4
mov dword [0x535974], eax
mov eax, dword [0x5358b4]
mov dword [0x53597c], eax
mov eax, dword [0x53597c]
cmp eax, dword [0x535974]
jge 0x50085f
mov eax, dword [0x5359bc]
cmp eax, dword [0x5359bc]
jle 0x50085f
mov eax, dword [0x5359e0]
add eax, dword [0x5358f4]
mov edx, dword [0x535894]
add edx, dword [0x5359e0]
cmp eax, edx
jge 0x50085f
fild dword [0x5359ac]
call fcn.00407638
mov dword [0x53587c], eax
mov eax, dword [0x5359e0]
mov dword [0x53592c], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [0x535874]
call fcn.004071f4
mov dword [0x535874], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040a01c
imul eax, dword [ebp - 0x18], 0x72
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x58]
imul dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x48]
call fcn.00407638
mov dword [ebp - 0x30], eax
mov eax, dword [0x5358f4]
add eax, 0x77
cmp eax, dword [0x5359b4]
jge 0x5008ca
fild dword [ebp - 0x34]
call fcn.00407638
mov dword [ebp - 0x40], eax
jmp 0x5008d3
mov eax, dword [ebp - 0x54]
shl eax, 3
mov dword [ebp - 0x50], eax
mov eax, dword [0x535874]
call fcn.004071f4
mov dword [0x535874], eax
mov eax, dword [ebp - 0x5c]
add eax, 0xcf
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.00407638
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040abd8
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x501256
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x38], 3
jl 0x500932
jmp 0x501256
mov eax, dword [0x535874]
call fcn.004071f4
mov dword [0x535874], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, 0x5d
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x50]
call fcn.00407638
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov eax, dword [0x53597c]
mov dword [0x53590c], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x9c]
call fcn.00409bf4
xor eax, eax
push ebp
push 0x5009d2
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x91], 0x80
setne byte [ebp - 0x95]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5009d9
lea eax, [ebp - 0x9c]
call fcn.00409bf4
ret
mov eax, dword [ebp - 0x80]
cmp dword [eax], 0
jne 0x500949
push 0x535984
push 0x5358ec
push 0x535a30
mov ecx, 0x5358d4
mov edx, 0x53593c
lea eax, [ebp - 0x44]
call fcn.004fd388
mov dword [0x535a50], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
add eax, 0x79
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jge 0x5012c1
inc dword [ebp - 0x40]
imul eax, dword [ebp - 0x70], 0xaf
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x40], 0
jl 0x5012ae
mov eax, dword [0x535a20]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x5012e6
mov eax, dword [ebp - 0x104]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x7f
jne 0x50132f
xor eax, eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 7
jge 0x501312
inc dword [ebp - 0x6c]
mov eax, dword [0x53586c]
call fcn.004071f4
mov dword [0x53586c], eax
cmp dword [ebp - 0x6c], 7
jl 0x5012fa
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jge 0x50132f
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x54]
add eax, 0x16
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x24], 4
jl 0x50131d
mov eax, dword [0x53594c]
call fcn.004071f4
mov dword [0x53594c], eax
mov eax, dword [0x535874]
mov dword [0x53595c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [0x5359b4]
mov eax, dword [0x535964]
call fcn.004f8cf4
mov dword [0x5359d0], eax
mov eax, dword [0x5358ec]
imul dword [0x535a38]
mov dword [0x53586c], eax
cmp byte [ebp - 1], 0
jne 0x501412
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
imul dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x40]
mov eax, 0x5358c4
call fcn.004fbbf8
mov dword [0x5359e8], eax
mov eax, dword [0x5359f0]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x5013d8
mov eax, dword [ebp - 0x108]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x24
jle 0x5013ed
mov eax, dword [0x53586c]
mov dword [0x5358ac], eax
jmp 0x5013f7
mov eax, dword [0x535864]
mov dword [0x5358fc], eax
mov eax, dword [ebp - 0x70]
add eax, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x88]
push eax
call dword [0x5359c0]
jmp 0x501690
mov eax, dword [ebp - 0x5c]
add eax, 0xea
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x53587c]
mov dword [0x5358dc], eax
mov eax, dword [0x535a30]
mov dword [0x5358e4], eax
mov eax, dword [0x5358dc]
cmp eax, dword [0x5358e4]
jle 0x5014aa
mov eax, dword [ebp - 0x48]
imul dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x6c]
add eax, 0x1d
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [0x535a18]
mov dword [0x5359bc], eax
mov eax, dword [0x5359bc]
cmp eax, dword [0x5358e4]
jge 0x501496
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 8
jge 0x50149f
inc dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040a01c
cmp dword [ebp - 0x34], 8
jl 0x501480
jmp 0x50149f
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x70], eax
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 4
jne 0x50145e
jmp 0x5014b4
mov eax, dword [0x535884]
mov dword [0x535974], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov eax, dword [0x5359bc]
add eax, dword [0x5358dc]
mov dword [0x535864], eax
fild dword [0x5358a4]
call fcn.00407638
mov dword [0x5358dc], eax
add dword [ebp - 0x7c], 0x14
mov eax, dword [0x535a48]
mov dword [0x5359c4], eax
mov eax, dword [ebp - 0x58]
add eax, 0xb
cmp eax, dword [ebp - 0x70]
jge 0x50156f
xor eax, eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 7
jge 0x501536
inc dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040abd8
jmp 0x50152a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x60], 7
jl 0x501501
mov eax, dword [0x5359c4]
mov dword [0x5358dc], eax
mov eax, dword [0x535964]
mov dword [0x5358ec], eax
mov eax, dword [0x5358ec]
cmp eax, dword [0x5358dc]
jle 0x501566
mov eax, dword [0x53593c]
call fcn.004071f4
mov dword [0x53593c], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [0x5359c4]
cmp eax, dword [0x53594c]
jle 0x501620
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x60]
cmp eax, edx
jge 0x5015b0
xor eax, eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xd
jge 0x5015ba
inc dword [ebp - 0x64]
mov eax, dword [0x535a50]
mov dword [0x53585c], eax
cmp dword [ebp - 0x64], 0xd
jl 0x50159b
jmp 0x5015ba
imul eax, dword [ebp - 0x70], 0xfa
mov dword [ebp - 0x28], eax
mov eax, dword [0x53591c]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x5015df
mov eax, dword [ebp - 0x10c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x61
jne 0x501604
mov eax, dword [ebp - 0x50]
add eax, 4
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
call fcn.00407638
mov dword [ebp - 0x40], eax
jmp 0x50160e
imul eax, dword [ebp - 0x18], 0xaf
mov dword [ebp - 0x54], eax
fild dword [0x5359bc]
call fcn.0040762c
mov dword [0x535a48], eax
jmp 0x501645
fild dword [ebp - 0x44]
call fcn.0040762c
mov dword [ebp - 0x30], eax
mov eax, dword [0x53588c]
imul dword [0x535974]
mov dword [0x535984], eax
mov eax, dword [0x5359e0]
mov dword [0x5359bc], eax
mov eax, dword [0x53587c]
shl eax, 2
lea eax, [eax + eax*4]
mov dword [0x53585c], eax
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x501a98
call fcn.0040ade8
cmp eax, 0xd8
je 0x50167e
fild dword [0x5358fc]
call fcn.00407638
mov dword [0x5358e4], eax
lea eax, [ebp - 0xc]
mov edx, 0x501acc
call fcn.0040a01c
jmp 0x4ff90d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5016cd
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.00409c54
lea eax, [ebp - 0x9c]
call fcn.00409bf4
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00409c54
ret