Function at 0x5182ac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd7c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x1a], cx
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x11], al
xor eax, eax
push ebp
push 0x519f71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x53397c]
mov dword [0x5338fc], eax
imul eax, dword [ebp - 0x34], 0x3b
mov dword [ebp - 0x40], eax
mov ecx, 1
mov edx, dword [ebp - 0x28]
mov eax, 0x519f90
call fcn.0040ade8
cmp eax, 0x90
jge 0x51831a
mov eax, dword [ebp - 0x54]
sub eax, 0x49
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
shl eax, 5
mov dword [ebp - 0x58], eax
mov eax, dword [0x533a00]
call fcn.004071f4
mov dword [0x533a00], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [0x533a18]
mov dword [0x53387c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
imul eax, dword [ebp - 0x3c], 0xf8
mov dword [ebp - 0x34], eax
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0xc
jne 0x518346
mov eax, dword [ebp - 0x4c]
sub eax, 0xc0
mov dword [ebp - 0x38], eax
mov eax, dword [0x533894]
add eax, 0x27
mov dword [0x533974], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040a01c
imul eax, dword [0x53392c], 0x23
mov dword [0x533a28], eax
xor eax, eax
push ebp
push 0x519e08
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x40]
call fcn.005172c8
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 9
jge 0x5183e7
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
add eax, 0xbf
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040abd8
cmp dword [ebp - 0x38], 9
jl 0x5183af
mov eax, dword [0x533a08]
mov dword [0x533964], eax
mov eax, dword [0x533974]
call fcn.004071f4
mov dword [0x533974], eax
mov eax, dword [0x533974]
cmp eax, dword [0x533964]
jge 0x518433
mov eax, dword [ebp - 0x34]
add eax, 0x38
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [ebp - 0x4c], eax
mov eax, dword [0x5339ac]
mov dword [0x5339e0], eax
jmp 0x518463
xor eax, eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 5
jge 0x518454
inc dword [ebp - 0x5c]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a01c
jmp 0x518454
mov eax, dword [0x5338b4]
call fcn.004071f4
mov dword [0x5338b4], eax
mov eax, dword [0x5338dc]
call fcn.004071f4
mov dword [0x5338dc], eax
mov eax, dword [0x5338dc]
cmp eax, dword [0x5338b4]
jle 0x51848c
mov eax, dword [ebp - 0x30]
sub eax, 0xbb
mov dword [ebp - 0x40], eax
jmp 0x5184aa
mov eax, dword [0x5338b4]
add eax, 0x10
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [0x5339e0], eax
mov eax, dword [0x533a08]
sub eax, dword [0x533a40]
mov dword [0x533864], eax
mov eax, dword [0x533a00]
add eax, 0xa5
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [0x5338b4], eax
push 0
push 1
push 2
call dword [0x5338d8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x53390c]
mov dword [0x533a08], eax
mov eax, dword [0x53390c]
mov dword [0x533a08], eax
mov eax, dword [0x533a08]
cmp eax, dword [0x533a08]
jge 0x518534
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [0x53396c]
mov dword [0x53385c], eax
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], 0xe
jne 0x518521
fild dword [ebp - 0x40]
call fcn.0040762c
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5338f4]
mov dword [0x533904], eax
cmp dword [ebp - 0x20], 0
ja 0x51859b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x519f4b
mov eax, dword [0x533874]
mov dword [0x53396c], eax
mov eax, dword [ebp - 0x58]
imul dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov ecx, 1
mov edx, dword [0x5339c8]
mov eax, 0x519fb4
call fcn.0040ade8
cmp eax, 0xb7
jge 0x518639
mov eax, dword [ebp - 0x54]
add eax, 0x2c
cmp eax, dword [ebp - 0x58]
jge 0x5185f5
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xb
jge 0x518600
inc dword [ebp - 0x44]
mov eax, dword [0x5339b4]
mov dword [0x53385c], eax
cmp dword [ebp - 0x44], 0xb
jl 0x5185e0
jmp 0x518600
mov eax, dword [ebp - 0x54]
add eax, eax
lea eax, [eax + eax*4]
mov dword [ebp - 0x38], eax
mov eax, 0x59
sub eax, dword [0x53389c]
cmp eax, 0x6d
jge 0x51861b
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
jmp 0x518639
mov eax, dword [0x533974]
add eax, 4
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.00407638
mov dword [0x5339d8], eax
mov eax, dword [0x53398c]
add eax, dword [0x533a40]
cmp eax, dword [0x533a40]
jne 0x51865b
lea eax, [ebp - 0x24]
mov edx, 0x519fdc
call fcn.0040a01c
jmp 0x51867b
mov eax, dword [0x53394c]
add eax, dword [0x5339d0]
mov dword [0x5338e4], eax
mov eax, dword [0x533944]
imul dword [0x5339e8]
mov dword [0x53394c], eax
imul eax, dword [0x533894], 0x76
mov dword [0x5339d8], eax
mov eax, dword [0x53388c]
imul dword [0x53396c]
mov dword [0x533a40], eax
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, 0x10
call fcn.0040772c
mov eax, dword [ebp - 0x50]
imul dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [0x533934]
call fcn.004071f4
mov dword [0x533934], eax
mov eax, dword [ebp - 0x44]
add eax, 0x76
cmp eax, dword [ebp - 0x34]
jge 0x5186fb
mov eax, dword [ebp - 0x58]
add eax, 4
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.00407638
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [0x5339d0]
call fcn.004071f4
mov dword [0x5339d0], eax
mov eax, dword [0x53389c]
add eax, 0xcf
mov dword [0x533874], eax
mov eax, dword [0x533a50]
mov dword [0x53387c], eax
mov eax, dword [0x53387c]
cmp eax, dword [0x5339d0]
jle 0x518748
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [0x5338a4]
push eax
mov eax, dword [0x53393c]
push eax
mov ecx, dword [0x533964]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x2c]
call fcn.00503b0c
jmp 0x518757
mov eax, dword [0x533974]
sub eax, 0xca
mov dword [0x53395c], eax
mov eax, dword [0x5338bc]
add eax, 0xfb
mov dword [0x5339e0], eax
mov word [ebp - 0x10], 2
push 0x53394c
lea ecx, [ebp - 0x44]
mov edx, 0x53390c
lea eax, [ebp - 0x30]
call fcn.004fa3bc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
add eax, 0xca
cmp eax, dword [ebp - 0x4c]
jge 0x51879c
mov eax, dword [ebp - 0x34]
imul dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
jmp 0x5187a5
mov eax, dword [ebp - 0x5c]
sub eax, 0x68
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040a01c
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [0x53390c]
add eax, dword [0x53386c]
mov dword [0x533864], eax
lea ecx, [ebp - 0x2c]
mov edx, 0x533964
mov eax, 0x5339e8
call fcn.005172c8
mov dword [0x5339b4], eax
mov ax, word [ebp - 0x1a]
push eax
call dword [0x5338d0]
mov word [ebp - 0xe], ax
mov eax, 0x1b
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [0x53392c]
push eax
mov ecx, dword [0x533a48]
mov edx, dword [0x533a28]
mov eax, dword [ebp - 0x3c]
call fcn.004fac14
mov dword [0x5338fc], eax
mov eax, dword [0x533944]
mov dword [0x5339d8], eax
mov eax, dword [0x5339e0]
call fcn.004071f4
mov dword [0x5339e0], eax
mov eax, dword [0x5339d8]
cmp eax, dword [0x5339e0]
jge 0x518882
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xf
jge 0x518882
inc dword [ebp - 0x58]
mov ecx, 1
mov edx, dword [ebp - 0x28]
mov eax, 0x51a000
call fcn.0040ade8
cmp eax, 0xdc
je 0x51887c
call fcn.005034e8
mov dword [0x533a38], eax
cmp dword [ebp - 0x58], 0xf
jl 0x518856
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [0x533974]
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x53390c]
call fcn.004f930c
mov dword [ebp - 0x4c], eax
mov eax, dword [0x5338c4]
mov dword [0x53395c], eax
lea edx, [ebp - 0x284]
mov eax, dword [ebp - 0x18]
call fcn.00516788
mov eax, dword [ebp - 0x284]
call fcn.0040a49c
push eax
call dword [0x5338c8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
call fcn.00516f18
lea eax, [ebp - 0x24]
mov edx, 0x51a024
call fcn.0040a01c
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
add eax, 0x71
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfa
mov dword [ebp - 0x38], eax
imul eax, dword [0x533984], 0x3a
mov dword [0x53396c], eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [0x5339bc]
call fcn.004071f4
mov dword [0x5339bc], eax
mov eax, dword [0x53397c]
mov dword [0x5339d8], eax
mov eax, dword [0x5339bc]
cmp eax, dword [0x5339d8]
jge 0x518954
imul eax, dword [0x5338bc], 0xcf
mov dword [0x53385c], eax
jmp 0x518961
xor eax, eax
sub eax, dword [0x533a18]
mov dword [0x5338cc], eax
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 6
jne 0x51891d
push 0x10
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [0x5338c0]
test eax, eax
je 0x519bfd
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [0x533a50]
call fcn.004071f4
mov dword [0x533a50], eax
mov eax, dword [0x5339e8]
mov dword [0x533864], eax
mov eax, dword [0x533864]
cmp eax, dword [0x533a50]
jle 0x5189c3
mov ecx, 0x5339bc
mov edx, 0x533984
mov eax, 0x5339f8
call fcn.004f8b78
jmp 0x5189ce
mov eax, dword [ebp - 0x30]
sub eax, 0x8e
mov dword [ebp - 0x3c], eax
mov ecx, 0x5339ac
mov edx, 0x533a30
mov eax, 0x53392c
call fcn.0050778c
mov dword [0x533a38], eax
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 5
jne 0x518987
mov eax, dword [0x533864]
push eax
mov eax, dword [0x533964]
push eax
mov ecx, dword [0x5339ac]
mov edx, dword [0x5339e8]
mov eax, dword [ebp - 0x50]
call fcn.004f847c
mov dword [0x533a18], eax
mov eax, dword [0x53386c]
mov dword [0x5339bc], eax
mov ecx, 1
mov edx, dword [ebp - 0x28]
mov eax, 0x51a070
call fcn.0040ade8
cmp eax, 0xb5
je 0x518a78
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x518a83
inc dword [ebp - 0x38]
mov eax, dword [0x533a20]
mov edx, dword [0x53399c]
call fcn.0040aba0
jne 0x518a67
lea eax, [ebp - 0x24]
mov edx, 0x51a090
call fcn.0040a01c
jmp 0x518a70
mov eax, dword [ebp - 0x58]
add eax, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], 3
jl 0x518a43
jmp 0x518a83
fild dword [ebp - 0x48]
call fcn.0040762c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x518a9a
mov eax, dword [ebp - 0x6c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x86
jne 0x518af3
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
mov edx, 0x51a0b8
call fcn.0040aba0
jne 0x518acc
mov edx, dword [0x5339d0]
mov eax, dword [ebp - 0x40]
call fcn.00502408
mov dword [0x53388c], eax
jmp 0x518aea
mov eax, dword [0x5338e4]
add eax, 0x11
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [0x533944], eax
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 5
jne 0x518aa8
mov eax, dword [0x5339e8]
mov dword [0x5339e0], eax
mov eax, dword [0x5339e0]
cmp eax, dword [0x5339bc]
jge 0x518b1b
imul eax, dword [0x53392c], 0xd9
mov dword [0x533864], eax
jmp 0x518b3d
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [0x53395c]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [0x53393c]
mov eax, dword [0x533884]
call fcn.00517450
mov dword [0x5338f4], eax
call dword [0x5338b8]
cmp eax, 0x2733
je 0x518cc3
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [0x53386c]
call fcn.004071f4
mov dword [0x53386c], eax
jmp 0x518b6d
mov eax, dword [ebp - 0x3c]
add eax, 0x33
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
call fcn.00502970
mov dword [0x5338c4], eax
mov eax, dword [ebp - 0x4c]
add eax, 0xcc
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
imul dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [0x53392c]
mov dword [0x533944], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [0x533900]
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [0x5339bc]
mov dword [0x53385c], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x533884]
sub eax, dword [0x5339d0]
cmp eax, 0xfe
jge 0x518c22
mov eax, dword [ebp - 0x54]
sub eax, 0xd6
mov dword [ebp - 0x34], eax
mov eax, dword [0x5338e4]
call fcn.004071f4
mov dword [0x5338e4], eax
mov eax, dword [ebp - 0x44]
add eax, 0x28
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [ebp - 0x3c], eax
jmp 0x518c4d
mov eax, dword [0x533984]
imul dword [0x533a30]
mov dword [0x5339d8], eax
imul eax, dword [0x53390c], 0x54
mov dword [0x533a50], eax
mov eax, dword [0x533874]
add eax, 0x84
mov dword [0x5338bc], eax
mov eax, dword [0x53390c]
call fcn.004071f4
mov dword [0x53390c], eax
mov eax, dword [0x53385c]
cmp eax, dword [0x53390c]
jle 0x518c78
mov eax, dword [0x5339b4]
add eax, 0x19
mov dword [0x5339ac], eax
jmp 0x518c85
mov eax, dword [0x5339e8]
sub eax, 0x7c
mov dword [0x533864], eax
mov ecx, 1
mov edx, dword [ebp - 0x24]
mov eax, 0x51a0ec
call fcn.0040ade8
cmp eax, 0x40
je 0x519b1b
mov eax, dword [0x5339d8]
add eax, 0x45
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [0x5338fc], eax
jmp 0x519b1b
mov eax, dword [0x5339bc]
mov dword [0x533a40], eax
mov eax, dword [0x533a50]
call fcn.004071f4
mov dword [0x533a50], eax
mov eax, dword [0x533a50]
cmp eax, dword [0x533a40]
jle 0x518d1d
lea eax, [ebp - 0x24]
mov edx, 0x51a134
call fcn.0040a01c
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xa
jge 0x518d13
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
add eax, 0x3b
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x30], 0xa
jl 0x518d01
mov eax, dword [0x533a48]
mov dword [0x533934], eax
mov eax, dword [ebp - 0x38]
imul dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xa
jge 0x518d7e
inc dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 7
jge 0x518d5b
inc dword [ebp - 0x34]
mov eax, dword [0x533a30]
mov dword [0x533864], eax
mov eax, dword [ebp - 0x2c]
imul dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x34], 7
jl 0x518d3f
mov eax, dword [0x53394c]
imul dword [0x5338b4]
mov dword [0x533934], eax
mov eax, dword [0x5338e4]
add eax, 0x61
mov dword [0x5339b4], eax
cmp dword [ebp - 0x54], 0xa
jl 0x518d31
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x54]
jne 0x518da7
mov eax, dword [0x5338d4]
add eax, 4
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.00407638
mov dword [0x533874], eax
lea ecx, [ebp - 0x34]
mov edx, 0x53397c
mov eax, 0x5338bc
call fcn.00507940
mov dword [0x5339ac], eax
mov eax, dword [0x533974]
mov dword [0x5338f4], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jge 0x518df4
inc dword [ebp - 0x58]
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040abd8
cmp dword [ebp - 0x58], 0
jl 0x518dd8
mov eax, dword [0x5339ac]
mov dword [0x533884], eax
mov eax, dword [0x533944]
mov dword [0x53388c], eax
mov eax, dword [0x533884]
cmp eax, dword [0x53388c]
jle 0x518e34
mov eax, dword [ebp - 0x54]
imul dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x5339d8]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov dword [0x533984], eax
mov eax, dword [0x533974]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
call fcn.004f8894
mov dword [0x533a48], eax
mov eax, dword [0x533a28]
add eax, dword [0x53395c]
mov dword [0x533a48], eax
mov eax, dword [0x53386c]
call fcn.004071f4
mov dword [0x53386c], eax
mov eax, dword [0x5338fc]
mov dword [0x533874], eax
cmp dword [ebp - 0x60], 0xa
jge 0x519840
lea eax, [ebp - 0x178]
call fcn.005173bc
mov eax, dword [0x5339ac]
call fcn.004071f4
mov dword [0x5339ac], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x40]
cmp eax, 0x7c
jge 0x518eee
mov eax, dword [0x5339e8]
cmp eax, dword [0x533934]
jle 0x518ed2
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xf
jge 0x518edb
inc dword [ebp - 0x58]
mov eax, dword [0x533a38]
mov dword [0x533874], eax
cmp dword [ebp - 0x58], 0xf
jl 0x518ebd
jmp 0x518edb
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x50]
imul dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
mov eax, dword [0x5338b4]
mov dword [0x53396c], eax
mov eax, dword [0x5339bc]
cmp eax, dword [0x53395c]
jle 0x518f43
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
cmp eax, edx
jle 0x518f2a
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x518f2a
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
sub eax, 0xeb
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x4c], 0
jl 0x518f16
mov eax, dword [0x533974]
sub eax, 0xfb
mov dword [0x53397c], eax
mov eax, dword [0x5338c4]
mov dword [0x5339ac], eax
fild dword [0x533a28]
call fcn.0040762c
mov dword [0x533a38], eax
mov eax, dword [0x53395c]
mov dword [0x533a50], eax
mov eax, dword [0x533874]
cmp eax, dword [0x533a50]
jle 0x518f7a
mov eax, dword [0x5338a4]
sub eax, dword [0x533874]
mov dword [0x5338bc], eax
mov eax, dword [0x533884]
add eax, dword [0x5338c4]
mov dword [0x533a50], eax
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 0x20]
call fcn.00517888
mov eax, dword [ebp - 0x34]
sub eax, 0x4d
mov dword [ebp - 0x44], eax
mov eax, dword [0x53397c]
call fcn.004071f4
mov dword [0x53397c], eax
mov eax, dword [ebp - 0x40]
add eax, 0x32
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xe
jge 0x519001
inc dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a01c
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 0x10
jne 0x518fdd
mov eax, dword [0x5339e8]
mov dword [0x53389c], eax
cmp dword [ebp - 0x58], 0xe
jl 0x518fd5
mov eax, dword [0x53387c]
sub eax, dword [0x5338dc]
mov dword [0x533934], eax
sub dword [0x5339c4], 0x74
lea eax, [ebp - 0x27c]
call fcn.005173bc
mov eax, dword [0x533884]
call fcn.004071f4
mov dword [0x533884], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
add eax, 0xab
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov edx, eax
shl eax, 5
sub eax, edx
mov dword [ebp - 0x3c], eax
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 9
jne 0x519037
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [0x53388c]
mov dword [0x53396c], eax
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0xe
jne 0x51905d
lea eax, [ebp - 0x28]
mov edx, 0x51a160
call fcn.0040a01c
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040a01c
lea edx, [ebp - 0x27c]
mov eax, dword [ebp - 0x20]
call fcn.00517888
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0x14
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x178]
push eax
push 0
push 0
call dword [0x5338a8]
sub eax, 1
jb 0x5190d7
je 0x519284
jmp 0x519833
mov eax, dword [0x5339f8]
mov dword [0x5339c4], eax
mov eax, dword [0x53393c]
mov dword [0x5339e0], eax
mov eax, dword [0x5339c4]
cmp eax, dword [0x5339e0]
jge 0x51923b
xor eax, eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040abd8
imul eax, dword [ebp - 0x54], 0xc2
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x51913c
inc dword [ebp - 0x34]
mov eax, dword [0x53387c]
mov dword [0x53390c], eax
cmp dword [ebp - 0x34], 4
jl 0x519129
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], 0xd
jne 0x519101
mov eax, dword [0x533864]
mov dword [0x5339e8], eax
mov eax, dword [0x5339e8]
cmp eax, dword [0x53390c]
jge 0x51919b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x51917c
mov eax, dword [ebp - 0x70]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x4b
jle 0x51918e
mov eax, dword [0x533944]
mov dword [0x53387c], eax
jmp 0x5191ab
mov eax, dword [ebp - 0x3c]
sub eax, 0xe9
mov dword [ebp - 0x38], eax
jmp 0x5191ab
mov eax, dword [0x533904]
imul dword [0x5339e0]
mov dword [0x533a00], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xe9
cmp eax, dword [ebp - 0x40]
jge 0x5191ca
mov eax, dword [0x533864]
imul dword [0x53396c]
mov dword [0x5338cc], eax
jmp 0x5191d4
mov eax, dword [0x53385c]
mov dword [0x533934], eax
mov eax, dword [0x53397c]
cmp eax, dword [0x53389c]
jle 0x51921c
mov eax, dword [0x5339bc]
sub eax, dword [0x53398c]
mov edx, dword [0x5338ec]
sub edx, dword [0x53398c]
cmp eax, edx
jle 0x51920b
mov eax, dword [0x5339d8]
add eax, 0x3d
mov dword [0x53386c], eax
jmp 0x51922c
mov eax, dword [0x5338bc]
add eax, 0xd4
mov dword [0x5338e4], eax
jmp 0x51922c
mov eax, 0xcf
sub eax, dword [0x5339b4]
mov dword [0x5339e8], eax
imul eax, dword [0x533a48], 0xcc
mov dword [0x53388c], eax
mov eax, dword [0x533884]
add eax, dword [0x53393c]
mov dword [0x533934], eax
fild dword [0x53396c]
call fcn.0040762c
mov dword [0x5339d0], eax
mov eax, dword [0x5338fc]
add eax, 0x90
mov dword [0x533a48], eax
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a01c
mov eax, 0x3e8
call fcn.00515f9c
jmp 0x519833
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 9
jge 0x5192ea
inc dword [ebp - 0x58]
mov eax, dword [0x533974]
mov dword [0x533864], eax
mov eax, dword [0x533884]
call fcn.004071f4
mov dword [0x533884], eax
mov eax, dword [0x533a30]
mov dword [0x53389c], eax
mov eax, dword [0x533884]
cmp eax, dword [0x53389c]
jle 0x5192ce
mov eax, dword [0x533a18]
mov dword [0x5338ec], eax
jmp 0x5192d9
mov eax, dword [ebp - 0x2c]
add eax, 0xf5
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
add eax, 0xe9
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x58], 9
jl 0x51928f
xor eax, eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xa
jge 0x51930f
inc dword [ebp - 0x5c]
imul eax, dword [ebp - 0x40], 0x52
mov dword [ebp - 0x34], eax
mov eax, dword [0x53397c]
mov dword [0x5338e4], eax
cmp dword [ebp - 0x5c], 0xa
jl 0x5192f5
mov eax, dword [0x533a28]
imul dword [0x533a48]
mov dword [0x533984], eax
mov eax, dword [0x5338f4]
add eax, 0xb
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [0x533a30], eax
mov eax, dword [0x5338ec]
add eax, 0x6f
mov dword [0x533884], eax
mov eax, dword [0x53389c]
add eax, dword [0x5339e0]
cmp eax, dword [0x5339e0]
jle 0x51936c
imul eax, dword [0x53393c], 0xd2
mov dword [0x53392c], eax
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 0x20]
call fcn.005175a0
test al, al
je 0x51941c
jmp 0x519840
mov eax, dword [ebp - 0x3c]
lea eax, [eax + eax*2]
mov dword [ebp - 0x38], eax
mov eax, dword [0x5339e8]
mov dword [0x5338e4], eax
mov eax, dword [0x533984]
mov dword [0x5338f4], eax
mov eax, dword [0x5338e4]
cmp eax, dword [0x5338f4]
jle 0x519451
mov eax, 0xd6
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov eax, 0x5e
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [0x53395c]
sub eax, 0x79
mov dword [0x53388c], eax
fild dword [0x5338ec]
call fcn.00407638
mov dword [0x5338ec], eax
mov eax, dword [0x53389c]
add eax, 0xe
mov dword [0x533964], eax
lea edx, [ebp - 0x27c]
mov eax, dword [ebp - 0x20]
call fcn.005175a0
test al, al
je 0x519687
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a01c
mov eax, dword [ebp - 0x5c]
add eax, 0xa1
mov dword [ebp - 0x34], eax
mov eax, dword [0x533924]
mov edx, dword [0x533994]
call fcn.0040aba0
jne 0x5194db
imul eax, dword [ebp - 0x58], 0xc5
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a01c
jmp 0x5194e2
imul eax, dword [ebp - 0x54], 0x2c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
imul dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5338e4]
mov dword [0x53385c], eax
imul eax, dword [0x533a48], 0x96
mov dword [0x5338c4], eax
push 0x274d
call dword [0x5338b0]
mov eax, dword [0x5339c4]
sub eax, dword [0x533904]
mov edx, dword [0x53389c]
sub edx, dword [0x533904]
cmp eax, edx
jle 0x519572
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 8
jge 0x519547
inc dword [ebp - 0x58]
mov eax, dword [ebp - 0x3c]
add eax, 0x5a
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x58], 8
jl 0x519535
mov eax, dword [0x5338dc]
sub eax, dword [0x5338ec]
cmp eax, dword [0x5338d4]
jne 0x519569
mov eax, dword [ebp - 0x4c]
mov edx, eax
shl eax, 4
add eax, edx
mov dword [ebp - 0x40], eax
jmp 0x519572
mov eax, dword [ebp - 0x5c]
add eax, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x48]
jle 0x51958a
mov eax, 0x81
sub eax, dword [0x533a28]
mov dword [0x5338d4], eax
imul eax, dword [0x5338a4], 0x7e
mov dword [0x53397c], eax
mov eax, dword [0x5339f8]
add eax, 4
mov dword [0x533a08], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x5c]
cmp eax, edx
jge 0x5195bf
mov eax, dword [0x533984]
mov dword [0x53387c], eax
jmp 0x5195cf
mov eax, dword [0x533a38]
add eax, dword [0x5338a4]
mov dword [0x5338fc], eax
mov eax, dword [0x53387c]
mov dword [0x533964], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [0x533900]
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040abd8
mov eax, dword [0x533a00]
mov dword [0x533894], eax
mov eax, dword [0x5338b4]
call fcn.004071f4
mov dword [0x5338b4], eax
mov eax, dword [0x533894]
cmp eax, dword [0x5338b4]
jle 0x519632
mov eax, dword [ebp - 0x4c]
add eax, 0xd2
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x30]
call fcn.00407638
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xf
jge 0x519667
inc dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x519661
inc dword [ebp - 0x5c]
mov eax, 0x39
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
jmp 0x519661
cmp dword [ebp - 0x58], 0xf
jl 0x51963d
imul eax, dword [0x53389c], 0x5d
mov dword [0x5339d0], eax
mov eax, dword [0x53397c]
sub eax, 0xf4
mov dword [0x533864], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xd4
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [ebp - 0x48], eax
mov eax, dword [0x5339b4]
call fcn.004071f4
mov dword [0x5339b4], eax
mov eax, dword [0x5339bc]
mov dword [0x5339d0], eax
mov eax, dword [0x5339d0]
cmp eax, dword [0x5339b4]
jge 0x5196ee
xor eax, eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040abd8
jmp 0x5196f7
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
mov edx, 0x51a184
call fcn.0040a01c
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [0x5339c4]
sub eax, dword [0x5338dc]
cmp eax, 0x50
jge 0x519738
xor eax, eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xa
jge 0x519747
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
add eax, 0x7b
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x50], 0xa
jl 0x519724
jmp 0x519747
mov eax, dword [0x533894]
add eax, 0xd8
mov dword [0x5339b4], eax
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0xf
jne 0x519709
mov eax, dword [0x533a40]
sub eax, dword [0x533984]
cmp eax, dword [0x533a40]
jge 0x519772
lea eax, [ebp - 0x24]
mov edx, 0x51a1ac
call fcn.0040a01c
jmp 0x519781
mov eax, dword [0x5338c4]
call fcn.004071f4
mov dword [0x5338c4], eax
mov eax, dword [0x53395c]
add eax, 0x9c
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [0x53395c], eax
mov eax, dword [0x53398c]
mov dword [0x53387c], eax
mov eax, dword [ebp - 0x3c]
imul dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
imul eax, dword [ebp - 0x5c], 0xfc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x38]
jge 0x5197d8
mov eax, dword [ebp - 0x54]
imul dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov eax, dword [0x5338b4]
add eax, 4
mov dword [0x533a28], eax
mov eax, dword [0x533a18]
mov dword [0x533a40], eax
mov eax, dword [0x5339bc]
mov dword [0x533a50], eax
mov eax, dword [0x533a40]
cmp eax, dword [0x533a50]
jle 0x519826
mov eax, dword [0x53385c]
add eax, 4
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.00407638
mov dword [0x5338dc], eax
jmp 0x519833
mov eax, dword [0x533894]
add eax, 0x53
mov dword [0x53398c], eax
inc dword [ebp - 0x60]
cmp dword [ebp - 0x60], 0xa
jl 0x518e80
imul eax, dword [ebp - 0x58], 0x4b
mov dword [ebp - 0x40], eax
mov eax, dword [0x5338f4]
mov dword [0x53394c], eax
mov eax, 0x44
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
sub eax, 0x6d
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
sub eax, 0x62
mov dword [ebp - 0x54], eax
fild dword [0x533934]
call fcn.00407638
mov dword [0x533874], eax
cmp dword [ebp - 0x60], 0xa
jne 0x519ab2
mov eax, dword [0x533944]
call fcn.004071f4
mov dword [0x533944], eax
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xb
jge 0x5199d3
inc dword [ebp - 0x48]
mov eax, dword [0x533a28]
mov dword [0x5339c4], eax
mov eax, dword [0x5339c4]
cmp eax, dword [0x533944]
jge 0x519936
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jge 0x5198fc
inc dword [ebp - 0x54]
lea eax, [ebp - 0x24]
mov edx, 0x51a1d0
call fcn.0040a01c
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 8
jge 0x5198f6
inc dword [ebp - 0x34]
imul eax, dword [ebp - 0x5c], 0x42
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x34], 8
jl 0x5198e6
cmp dword [ebp - 0x54], 3
jl 0x5198cb
mov eax, dword [0x5338cc]
mov dword [0x5339d0], eax
mov eax, dword [0x5339d0]
cmp eax, dword [0x533944]
jge 0x51992b
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [0x5339d0]
mov dword [0x533864], eax
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], 7
jne 0x519918
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
jmp 0x519982
mov eax, dword [0x5339f8]
add eax, 4
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.00407638
mov dword [0x5339d8], eax
mov eax, dword [0x5338dc]
mov dword [0x533a08], eax
mov eax, dword [0x5338e4]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [0x5339e8]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x40]
call fcn.00508504
mov dword [0x533984], eax
call fcn.005034e8
mov dword [0x533a08], eax
mov eax, dword [0x533994]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x5199a5
mov eax, dword [ebp - 0x74]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xd9
jne 0x5199ba
imul eax, dword [0x533874], 0x55
mov dword [0x53392c], eax
mov eax, dword [0x53395c]
add eax, 0xec
mov dword [0x5339c4], eax
cmp dword [ebp - 0x48], 0xb
jl 0x5198a6
fild dword [0x5339ac]
call fcn.00407638
mov dword [0x53387c], eax
mov eax, dword [0x53393c]
add eax, 0x19
mov dword [0x5338d4], eax
mov eax, dword [0x5338f4]
call fcn.004071f4
mov dword [0x5338f4], eax
mov eax, dword [0x533864]
cmp eax, dword [0x5338f4]
jle 0x519a1b
mov eax, dword [0x533974]
sub eax, 0x7c
mov dword [0x533984], eax
jmp 0x519a61
mov eax, dword [0x5339d0]
mov dword [0x5339e8], eax
mov eax, dword [0x5339e8]
cmp eax, dword [0x5338f4]
jge 0x519a41
mov eax, dword [0x5338b4]
sub eax, 0x11
mov dword [0x53387c], eax
jmp 0x519a61
mov eax, dword [0x5338a4]
add eax, 0xda
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [0x533934], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [0x533900]
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x3c], eax
imul eax, dword [ebp - 0x50], 0x1d
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
mov eax, dword [0x53398c]
call fcn.004071f4
mov dword [0x53398c], eax
mov eax, dword [ebp - 0x48]
add eax, eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x58], eax
mov eax, dword [0x533a00]
call fcn.004071f4
mov dword [0x533a00], eax
xor eax, eax
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x5c]
call fcn.0040762c
mov dword [ebp - 0x38], eax
mov eax, dword [0x533994]
mov edx, 0x51a200
call fcn.0040aba0
jne 0x519ad9
fild dword [ebp - 0x4c]
call fcn.0040762c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov eax, dword [0x53387c]
mov dword [0x5339b4], eax
xor eax, eax
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 9
jge 0x519b05
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 9
jl 0x519afc
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], 0xc
jne 0x519af1
lea eax, [ebp - 0x28]
mov edx, 0x51a1ac
call fcn.0040a01c
mov ecx, 1
mov edx, dword [ebp - 0x28]
mov eax, 0x51a230
call fcn.0040ade8
cmp eax, 0x7a
je 0x519b3e
mov eax, dword [0x53396c]
mov dword [0x533874], eax
jmp 0x519b47
mov eax, dword [ebp - 0x58]
add eax, 0x4d
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x519b66
inc dword [ebp - 0x3c]
fild dword [ebp - 0x48]
call fcn.00407638
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x3c], 3
jl 0x519b52
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x5c]
sub eax, 0x87
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 4
jne 0x519b6b
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 8
jge 0x519be1
inc dword [ebp - 0x54]
mov ecx, 1
mov edx, dword [0x533914]
mov eax, 0x51a258
call fcn.0040ade8
cmp eax, 0xa3
jge 0x519bbb
fild dword [0x5339d8]
call fcn.00407638
mov dword [0x5338e4], eax
jmp 0x519bcb
mov eax, dword [0x5338bc]
add eax, dword [0x533894]
mov dword [0x533974], eax
mov eax, dword [0x53395c]
add eax, dword [0x533964]
mov dword [0x533a30], eax
cmp dword [ebp - 0x54], 8
jl 0x519b8a
imul eax, dword [0x5338a4], 0x6c
mov dword [0x53389c], eax
mov eax, dword [0x533a48]
sub eax, dword [0x5339ac]
mov dword [0x5338fc], eax
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 6
jge 0x519cd0
inc dword [ebp - 0x58]
mov eax, dword [0x533a30]
mov dword [0x533a40], eax
mov eax, dword [0x53396c]
mov dword [0x53385c], eax
mov eax, dword [0x53385c]
cmp eax, dword [0x533a40]
jle 0x519c99
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x50]
mov eax, dword [0x53393c]
call fcn.004f8894
mov dword [0x53385c], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
add edx, dword [ebp - 0x38]
cmp eax, edx
jge 0x519c61
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
jmp 0x519c6c
fild dword [ebp - 0x54]
call fcn.0040762c
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x519c90
inc dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a01c
cmp dword [ebp - 0x4c], 4
jl 0x519c7c
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0xe
jne 0x519c71
fild dword [0x5339d0]
call fcn.00407638
mov dword [0x533934], eax
mov eax, dword [0x533864]
imul dword [0x533984]
mov dword [0x5339d8], eax
mov eax, dword [0x533a00]
sub eax, 0x4e
mov dword [0x533a50], eax
cmp dword [ebp - 0x58], 6
jl 0x519c0c
mov eax, dword [0x53389c]
mov dword [0x53388c], eax
imul eax, dword [0x533894], 0x4b
mov dword [0x5338dc], eax
mov eax, dword [0x533a40]
imul dword [0x5339f8]
mov dword [0x53394c], eax
push 0x533a00
lea ecx, [ebp - 0x3c]
mov edx, 0x533a40
mov eax, 0x53389c
call fcn.00512514
mov eax, dword [0x533a08]
sub eax, dword [0x53390c]
cmp eax, dword [0x53397c]
jne 0x519d2a
mov eax, dword [0x533a30]
mov dword [0x5339bc], eax
cmp dword [ebp - 0x20], 0
je 0x519dfe
mov eax, dword [ebp - 0x44]
sub eax, 0x74
mov dword [ebp - 0x3c], eax
mov eax, dword [0x533904]
sub eax, dword [0x5338a4]
mov edx, dword [0x5338fc]
sub edx, dword [0x5338a4]
cmp eax, edx
jle 0x519d63
fild dword [ebp - 0x2c]
call fcn.00407638
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x519dc8
inc dword [ebp - 0x48]
mov eax, 0x11
sub eax, dword [0x5339e8]
cmp eax, 0xc9
jge 0x519da8
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x519dc2
inc dword [ebp - 0x34]
mov eax, dword [0x533864]
call fcn.004071f4
mov dword [0x533864], eax
cmp dword [ebp - 0x34], 3
jl 0x519d8e
jmp 0x519dc2
mov eax, dword [ebp - 0x5c]
add eax, 4
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.00407638
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x48], 2
jl 0x519d6e
mov eax, dword [0x533964]
call fcn.004071f4
mov dword [0x533964], eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [0x53386c]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [0x533884]
mov eax, dword [ebp - 0x30]
call fcn.004f930c
mov eax, dword [ebp - 0x20]
call fcn.005171e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x519e5c
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xe
jge 0x519e8d
inc dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [0x53386c]
call fcn.004071f4
mov dword [0x53386c], eax
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 7
jne 0x519e6f
cmp dword [ebp - 0x58], 0xe
jl 0x519e67
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x34]
jne 0x519ea1
mov eax, dword [ebp - 0x54]
imul dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [0x53389c]
mov dword [0x5338ec], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x519eca
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
add eax, 0xed
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x3c], 2
jl 0x519eb6
mov eax, dword [ebp - 0x28]
mov edx, 0x51a298
call fcn.0040aba0
jne 0x519ef9
mov eax, dword [0x53392c]
add eax, 0x1c
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [0x533a08], eax
jmp 0x519f2d
mov eax, dword [0x5339d8]
mov dword [0x533a50], eax
mov eax, dword [0x53386c]
cmp eax, dword [0x533a50]
jle 0x519f1d
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a01c
jmp 0x519f2d
mov eax, dword [0x53395c]
add eax, dword [0x5339d8]
mov dword [0x5338fc], eax
mov eax, dword [0x5339ac]
add eax, 0x46
mov dword [ebp - 0x280], eax
fild dword [ebp - 0x280]
call fcn.0040762c
mov dword [0x5339c4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519f78
lea eax, [ebp - 0x284]
call fcn.00409c18
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00409c54
ret