Function at 0x503a14
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
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 - 0x18], eax
xor eax, eax
push ebp
push 0x505acb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
push ebp
push 0x5059a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5348e4]
call fcn.004071f4
mov dword [0x5348e4], eax
mov eax, 0x95
sub eax, dword [0x5348e4]
mov dword [0x534934], eax
mov eax, dword [0x534984]
add eax, 4
mov dword [0x534974], eax
mov eax, dword [0x534a40]
imul dword [0x5348ac]
mov dword [0x5349bc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040abd8
mov eax, dword [0x5349d0]
mov dword [0x53488c], eax
mov eax, dword [0x5348bc]
sub eax, 0x27
mov dword [0x5348b4], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jle 0x503ae0
fild dword [0x5348b4]
call fcn.0040762c
mov dword [0x534904], eax
jmp 0x503af0
mov eax, dword [0x5348ac]
sub eax, dword [0x5349d8]
mov dword [0x534974], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x503b07
mov eax, dword [ebp - 0x40]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7f
jle 0x503b29
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jge 0x503b36
mov eax, dword [0x534894]
sub eax, 0xb9
mov dword [0x534a48], eax
jmp 0x503b36
lea eax, [ebp - 8]
mov edx, 0x505aec
call fcn.0040a01c
mov eax, dword [0x5348cc]
mov dword [0x5348dc], eax
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x5a4d
je 0x503d5b
mov eax, dword [0x534a28]
mov dword [0x5349d0], eax
mov eax, dword [0x5349bc]
mov dword [0x5349e0], eax
mov eax, dword [0x5349d0]
cmp eax, dword [0x5349e0]
jge 0x503b97
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x503c1b
inc dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040a01c
cmp dword [ebp - 0x1c], 3
jl 0x503b7e
jmp 0x503c1b
mov eax, dword [0x534a50]
add eax, 0x78
mov dword [0x5348d4], eax
mov eax, dword [0x5348dc]
add eax, 0x10
mov dword [0x534904], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x503bc8
mov eax, dword [ebp - 0x44]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x82
jne 0x503bff
mov eax, dword [0x534a40]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x5349ac], eax
mov eax, dword [0x534884]
sub eax, dword [0x53485c]
mov dword [0x5349f8], eax
mov eax, dword [0x534874]
add eax, 0xa4
mov dword [0x53485c], eax
mov eax, dword [0x5348b4]
add eax, 4
mov dword [0x53489c], eax
mov eax, dword [0x534864]
sub eax, dword [0x53489c]
mov dword [0x5348fc], eax
mov eax, 0x9f
sub eax, dword [0x53494c]
mov dword [0x53493c], eax
mov eax, dword [0x5348a4]
mov dword [0x53495c], eax
mov eax, dword [0x5349d0]
cmp eax, dword [0x53495c]
jge 0x503c62
mov eax, dword [0x5348e4]
add eax, dword [0x53496c]
mov dword [0x5349b4], eax
mov eax, dword [0x5348dc]
mov dword [0x534a18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505ab0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x534a00]
add eax, dword [0x53497c]
mov dword [0x5348f4], eax
mov eax, dword [0x53489c]
add eax, dword [0x534a48]
mov dword [0x53493c], eax
mov eax, dword [0x53498c]
add eax, 0x18
mov dword [0x53496c], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040abd8
mov eax, dword [0x534984]
sub eax, 0x7d
mov dword [0x5349d8], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x4550
je 0x503edd
mov eax, dword [0x5348cc]
push eax
mov eax, dword [0x534884]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x5348d4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
call fcn.004fa7e4
mov dword [ebp - 0x1c], eax
mov eax, dword [0x53496c]
sub eax, 0xaa
mov dword [0x5348e4], eax
mov eax, dword [0x534a18]
add eax, 0x42
mov dword [0x534934], eax
mov edx, 0x534964
mov eax, 0x5349c4
call fcn.00503608
mov dword [0x534a08], eax
mov eax, dword [0x534a08]
add eax, 0xa7
mov dword [0x53498c], eax
mov eax, dword [0x53494c]
mov dword [0x5349bc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505ab0
mov eax, dword [0x53492c]
call fcn.004071f4
mov dword [0x53492c], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.0040a01c
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x53489c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
call fcn.004fb1d0
mov dword [0x534864], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x503f3d
inc dword [ebp - 0x1c]
imul eax, dword [0x53492c], 0x5e
mov dword [0x5349d0], eax
imul eax, dword [0x534974], 0x5c
mov dword [0x534a30], eax
cmp dword [ebp - 0x1c], 4
jl 0x503f1c
mov eax, dword [0x53496c]
imul dword [0x5348c4]
mov dword [0x534884], eax
mov eax, dword [0x53488c]
sub eax, dword [0x534974]
cmp eax, dword [0x53488c]
jge 0x503f79
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5349e8]
call fcn.004f7d84
mov dword [0x5349d8], eax
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040abd8
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x503fbc
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x1c]
mov eax, 0x53488c
call fcn.004fcb28
mov dword [0x5349d0], eax
cmp dword [ebp - 0x1c], 3
jl 0x503f9a
mov eax, 0xe6
sub eax, dword [0x5348ec]
mov dword [0x534904], eax
mov eax, dword [0x5349ac]
add eax, 0x7e
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.0040762c
mov dword [0x53495c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x5348a4]
mov edx, dword [0x5349e0]
mov eax, dword [ebp - 0x1c]
call fcn.004fd708
mov eax, dword [0x534934]
add eax, dword [0x53498c]
mov dword [0x5349d0], eax
mov eax, dword [ebp - 0x24]
cmp word [eax + 4], 0x14c
je 0x504083
mov eax, dword [0x5348e4]
push eax
mov ecx, dword [0x5349ac]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x53490c]
call fcn.004f7d84
mov dword [ebp - 0x1c], eax
fild dword [0x5348bc]
call fcn.0040762c
mov dword [0x5348ec], eax
imul eax, dword [0x5348fc], 0xdb
mov dword [0x534944], eax
mov eax, dword [0x534a18]
sub eax, 0xd
mov dword [0x534974], eax
call fcn.004f8768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505ab0
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040a01c
mov eax, dword [0x534a48]
mov dword [0x53488c], eax
fild dword [0x5348d4]
call fcn.00407638
mov dword [0x5348c4], eax
mov eax, dword [0x5349e0]
add eax, 0x9f
mov dword [0x5348ec], eax
mov eax, dword [0x534884]
add eax, 0x37
mov dword [0x53493c], eax
mov eax, dword [0x53490c]
mov dword [0x534974], eax
mov eax, dword [ebp - 0x24]
test byte [eax + 0x38], 1
je 0x504237
mov eax, dword [0x534924]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x5040f4
mov eax, dword [ebp - 0x50]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x81
jle 0x504109
mov eax, dword [0x534a08]
mov dword [0x534874], eax
jmp 0x504150
push 0x534904
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1c]
call fcn.004f8500
mov dword [0x534a40], eax
mov eax, dword [0x5348e4]
imul dword [0x53485c]
mov dword [0x5348ec], eax
mov eax, dword [0x53498c]
imul dword [0x5348f4]
mov dword [0x53493c], eax
mov eax, dword [0x53495c]
call fcn.004071f4
mov dword [0x53495c], eax
mov eax, dword [0x5349ac]
cmp eax, dword [0x534984]
jle 0x504177
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x1c]
cmp eax, edx
jle 0x504177
mov eax, dword [0x534884]
mov dword [0x534a40], eax
mov eax, dword [0x534864]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x53494c], eax
call fcn.004f8280
mov dword [0x53497c], eax
mov eax, dword [0x5348a4]
sub eax, dword [0x5348ec]
mov dword [0x5349ac], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505ab0
push 4
push 0x3000
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
push eax
call dword [0x534980]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x5044fc
mov eax, dword [0x534984]
add eax, dword [0x53493c]
mov dword [0x53490c], eax
mov eax, dword [0x534a40]
add eax, dword [0x534a00]
mov dword [0x534964], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x14]
call fcn.0040a01c
mov eax, dword [0x534a38]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x5349d0], eax
mov eax, dword [0x5349e0]
call fcn.004071f4
mov dword [0x5349e0], eax
mov eax, dword [0x53490c]
mov dword [0x534a00], eax
mov eax, dword [0x5348c4]
mov dword [0x534a18], eax
mov eax, dword [0x534a18]
cmp eax, dword [0x534a00]
jge 0x504309
mov eax, dword [0x5349d0]
mov dword [0x534a48], eax
mov eax, dword [0x534a18]
cmp eax, dword [0x534a48]
jge 0x5042fc
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040a01c
jmp 0x504309
mov eax, dword [0x53486c]
sub eax, 0x38
mov dword [0x5348cc], eax
push 4
push 0x3000
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x50]
push eax
push 0
call dword [0x534980]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xf
jge 0x504399
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x504347
mov eax, dword [ebp - 0x58]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xb0
jne 0x50435a
mov eax, dword [0x53497c]
mov dword [0x53487c], eax
mov eax, dword [0x5349d8]
imul dword [0x5348cc]
mov dword [0x5348c4], eax
mov eax, dword [0x53490c]
mov dword [0x5348dc], eax
mov eax, 0xf9
sub eax, dword [0x5349d0]
mov dword [0x53492c], eax
mov eax, dword [0x534944]
call fcn.004071f4
mov dword [0x534944], eax
cmp dword [ebp - 0x1c], 0xf
jl 0x50432d
mov eax, dword [0x53495c]
add eax, dword [0x5349c4]
mov dword [0x53498c], eax
mov eax, dword [0x5349d0]
sub eax, dword [0x534864]
cmp eax, dword [0x5349d0]
jne 0x5043e6
mov eax, dword [0x53494c]
mov dword [0x534a00], eax
mov eax, dword [0x534a00]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x534a48], eax
jmp 0x504410
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040a01c
mov eax, dword [0x53489c]
call fcn.004071f4
mov dword [0x53489c], eax
mov eax, dword [0x5348dc]
sub eax, dword [0x5348b4]
mov dword [0x5348c4], eax
mov eax, dword [0x53488c]
add eax, 4
mov dword [0x53493c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [0x5349d0]
push eax
mov ecx, dword [0x53496c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x534a28]
call fcn.004fa7e4
mov dword [0x534a08], eax
mov eax, dword [0x5348dc]
add eax, dword [0x534984]
cmp eax, dword [0x534984]
jne 0x504468
mov eax, 0x1f
sub eax, dword [0x534904]
mov dword [0x5349e0], eax
jmp 0x504477
imul eax, dword [0x5348fc], 0x83
mov dword [0x534a48], eax
cmp dword [ebp - 0x28], 0
jne 0x5044fc
imul eax, dword [0x53493c], 0xaf
mov dword [0x5349b4], eax
mov eax, dword [0x534894]
mov dword [0x5349d8], eax
mov eax, dword [0x534a48]
mov dword [0x5349e0], eax
mov eax, dword [0x5349d8]
cmp eax, dword [0x5349e0]
jge 0x5044bc
mov eax, dword [0x534a38]
sub eax, 0x45
mov dword [0x534a48], eax
jmp 0x5044d5
call fcn.004f8768
mov dword [0x534944], eax
mov eax, dword [0x53489c]
call fcn.004071f4
mov dword [0x53489c], eax
mov eax, dword [0x5348fc]
add eax, dword [0x53488c]
mov dword [0x53492c], eax
mov eax, dword [0x53486c]
mov dword [0x53494c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505ab0
lea eax, [ebp - 8]
mov edx, 0x505b38
call fcn.0040a01c
mov eax, dword [0x534934]
add eax, 0x6c
mov dword [0x5348a4], eax
mov eax, dword [0x5349e0]
add eax, 5
mov dword [0x5348d4], eax
mov eax, dword [0x5348f4]
call fcn.004071f4
mov dword [0x5348f4], eax
mov eax, dword [0x5348cc]
mov dword [0x5348fc], eax
mov eax, dword [0x5348f4]
cmp eax, dword [0x5348fc]
jle 0x504567
mov eax, dword [0x53490c]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x534964], eax
mov eax, dword [0x53496c]
imul dword [0x5349e0]
mov dword [0x5349bc], eax
mov eax, dword [0x5348bc]
mov dword [0x5349d8], eax
push 0x1c
push 8
call dword [0x5349dc]
push eax
call dword [0x534970]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x534a00]
sub eax, 0x95
mov dword [0x5348b4], eax
mov eax, dword [0x53489c]
add eax, 0x2d
mov dword [0x5348e4], eax
mov eax, dword [0x53498c]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x53490c], eax
imul eax, dword [0x534a48], 0xf8
mov dword [0x534964], eax
mov eax, dword [0x5348d4]
shl eax, 4
lea eax, [eax + eax*8]
mov dword [0x5349ac], eax
mov eax, dword [0x5349e0]
add eax, 0xc2
mov dword [0x5349d8], eax
cmp dword [ebp - 0x3c], 0
jne 0x5046fb
call fcn.0050153c
mov dword [ebp - 0x1c], eax
imul eax, dword [0x53486c], 0x23
mov dword [0x5348cc], eax
mov eax, dword [0x5348f4]
add eax, 0xbc
mov dword [0x534904], eax
call fcn.004f8768
mov eax, dword [0x5349b4]
add eax, 0x54
mov dword [0x53494c], eax
mov eax, dword [0x5348cc]
sub eax, dword [0x5348ec]
cmp eax, dword [0x534974]
jne 0x50465b
mov eax, dword [0x53485c]
mov dword [0x53498c], eax
jmp 0x504688
mov eax, 0x59
sub eax, dword [ebp - 0x1c]
cmp eax, 0x39
jge 0x504679
mov eax, dword [0x5348dc]
add eax, 0xe9
mov dword [0x534a48], eax
jmp 0x504688
mov eax, dword [0x53488c]
call fcn.004071f4
mov dword [0x53488c], eax
push 0x8000
push 0
mov eax, dword [ebp - 0x28]
push eax
call dword [0x5349a8]
mov eax, dword [0x5348b4]
add eax, 4
mov dword [0x5349c4], eax
mov eax, dword [0x5349e0]
call fcn.004071f4
mov dword [0x5349e0], eax
lea eax, [ebp - 0x1c]
push eax
push 0x5348f4
mov ecx, 0x534a40
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1c]
call fcn.004f80d8
mov eax, dword [0x534864]
sub eax, dword [0x534a40]
mov dword [0x534a38], eax
fild dword [0x5348ec]
call fcn.0040762c
mov dword [0x534874], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505ab0
fild dword [0x5349e0]
call fcn.00407638
mov dword [0x53495c], eax
mov eax, dword [0x534974]
call fcn.004071f4
mov dword [0x534974], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jle 0x504743
mov eax, dword [0x534a08]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x53492c], eax
mov eax, dword [0x53485c]
sub eax, dword [0x534874]
mov dword [0x534974], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5349e0]
mov dword [0x53485c], eax
mov eax, dword [0x53497c]
mov dword [0x53486c], eax
mov eax, dword [0x53486c]
cmp eax, dword [0x53485c]
jle 0x50478c
mov eax, dword [0x534884]
mov dword [0x534894], eax
mov eax, dword [0x534974]
mov dword [0x5348bc], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 5
jne 0x504761
mov eax, dword [0x5349d0]
add eax, 4
mov dword [0x5348fc], eax
mov eax, dword [0x534904]
mov dword [0x53492c], eax
mov eax, dword [0x5348bc]
mov dword [0x53493c], eax
imul eax, dword [0x5349c4], 0xc4
mov dword [0x53496c], eax
mov eax, 0x5c
sub eax, dword [0x53486c]
mov dword [0x5349bc], eax
lea eax, [ebp - 0x90]
push eax
call dword [0x5349e4]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040a01c
mov eax, dword [0x53489c]
mov dword [0x53486c], eax
mov eax, dword [0x53498c]
add eax, 0xf1
mov dword [0x534894], eax
mov eax, dword [0x534894]
mov dword [0x5348bc], eax
mov eax, dword [0x5349e8]
add eax, 0xef
mov dword [0x5348d4], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0x18], edx
mov eax, dword [0x534884]
mov dword [0x53497c], eax
mov eax, dword [0x534a38]
mov dword [0x534984], eax
mov eax, dword [0x534984]
cmp eax, dword [0x53497c]
jge 0x5048ba
mov eax, 0xf3
sub eax, dword [0x534a38]
cmp eax, 0xcf
jge 0x50489d
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x1c]
cmp eax, edx
jge 0x5048ac
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 9
jge 0x5048ac
inc dword [ebp - 0x1c]
mov eax, dword [0x53487c]
call fcn.004071f4
mov dword [0x53487c], eax
cmp dword [ebp - 0x1c], 9
jl 0x504883
jmp 0x5048ac
mov eax, dword [0x5348f4]
call fcn.004071f4
mov dword [0x5348f4], eax
imul eax, dword [0x53489c], 0x7c
mov dword [0x53494c], eax
jmp 0x5048ca
mov eax, dword [0x534a48]
imul dword [0x5348b4]
mov dword [0x5349d0], eax
mov eax, dword [0x53488c]
mov dword [0x534a28], eax
mov eax, dword [0x53492c]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x534864], eax
mov eax, dword [0x53496c]
sub eax, dword [0x534a50]
mov dword [0x5348a4], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebp - 0x28]
push eax
call dword [0x534980]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x534a08]
sub eax, 0x3d
mov dword [0x5349b4], eax
mov eax, dword [0x5348a4]
add eax, 0xd5
mov dword [0x5349e8], eax
mov eax, dword [0x5348e4]
add eax, 4
mov dword [0x534a48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x50495d
mov eax, dword [ebp - 0x5c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x22
jle 0x50496f
mov eax, dword [0x53498c]
mov dword [0x53487c], eax
jmp 0x504974
call fcn.004f8280
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x60]
call fcn.00406fb0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x3a
cmp eax, dword [ebp - 0x1c]
jge 0x504a87
mov eax, dword [0x5349c4]
mov dword [0x5349e8], eax
mov eax, dword [0x5349c4]
mov dword [0x5349e8], eax
mov eax, dword [0x5349e8]
cmp eax, dword [0x5349e8]
jge 0x504a00
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5349bc]
mov dword [0x534a50], eax
mov eax, dword [0x5349e8]
cmp eax, dword [0x534a50]
jle 0x5049f5
fild dword [0x53494c]
call fcn.0040762c
mov dword [0x5348b4], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 1
jne 0x5049ce
jmp 0x504a45
mov eax, dword [0x534984]
mov dword [0x534964], eax
mov eax, dword [0x534a40]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x5349b4], eax
mov eax, dword [0x5349d0]
cmp eax, dword [0x53497c]
jle 0x504a45
mov eax, dword [0x53490c]
sub eax, dword [0x5348fc]
mov dword [0x534a48], eax
mov eax, dword [0x5348bc]
add eax, 4
mov dword [0x5348ac], eax
mov eax, dword [0x534964]
imul dword [0x534894]
mov dword [0x5348dc], eax
mov eax, dword [0x5349f8]
sub eax, dword [0x5348b4]
cmp eax, dword [0x5348fc]
jne 0x504ac2
mov eax, 0x20
sub eax, dword [0x53494c]
mov dword [0x534944], eax
jmp 0x504ac2
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x1c]
cmp eax, edx
jle 0x504aa3
mov eax, dword [0x5348dc]
mov dword [0x534a30], eax
jmp 0x504ab2
mov eax, dword [0x53486c]
call fcn.004071f4
mov dword [0x53486c], eax
mov eax, dword [0x5349e0]
sub eax, dword [0x5349bc]
mov dword [0x5348ac], eax
mov eax, dword [0x5349d8]
add eax, 0x4a
mov dword [0x5348fc], eax
mov eax, dword [0x5348c4]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x53493c], eax
mov eax, dword [0x534964]
add eax, dword [0x534894]
mov dword [0x534974], eax
mov eax, dword [0x534a18]
add eax, dword [0x53494c]
mov dword [0x5349c4], eax
mov eax, dword [0x5349d8]
add eax, dword [0x534a08]
cmp eax, dword [0x534a08]
jle 0x504b32
fild dword [0x534a08]
call fcn.00407638
mov dword [0x534a30], eax
jmp 0x504b3d
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040a01c
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
call fcn.004f8f20
test al, al
jne 0x504c5f
mov eax, dword [0x53497c]
call fcn.004071f4
mov dword [0x53497c], eax
mov eax, dword [0x53497c]
mov dword [0x5349bc], eax
mov eax, dword [0x5348c4]
mov dword [0x5349d8], eax
mov eax, dword [0x5349e8]
sub eax, dword [0x53488c]
cmp eax, 0x10
jge 0x504b96
mov eax, dword [0x534874]
imul dword [0x5348a4]
mov dword [0x534a50], eax
mov eax, dword [0x5348fc]
imul dword [0x53495c]
mov dword [0x534884], eax
mov eax, dword [0x5348a4]
call fcn.004071f4
mov dword [0x5348a4], eax
call fcn.004f807c
mov eax, dword [0x53485c]
sub eax, dword [0x5348e4]
mov dword [0x534964], eax
mov eax, dword [0x53489c]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x5349bc], eax
mov eax, dword [0x5349e8]
add eax, dword [0x53498c]
mov edx, dword [0x53486c]
add edx, dword [0x5349e8]
cmp eax, edx
jge 0x504c14
imul eax, dword [0x5349e0], 0xfc
mov dword [0x534a40], eax
jmp 0x504c2a
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040abd8
mov eax, dword [0x5348a4]
call fcn.004071f4
mov dword [0x5348a4], eax
mov eax, dword [0x53490c]
mov dword [0x5348b4], eax
mov eax, dword [0x5348a4]
cmp eax, dword [0x5348b4]
jle 0x504c5f
imul eax, dword [0x534904], 0x91
mov dword [0x5348fc], eax
mov eax, dword [0x5349d8]
sub eax, dword [0x5348f4]
mov edx, dword [0x53498c]
sub edx, dword [0x5348f4]
cmp eax, edx
jle 0x504cf3
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xd
jge 0x504cda
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.0040aba0
jne 0x504ca6
mov eax, dword [0x53487c]
call fcn.004071f4
mov dword [0x53487c], eax
jmp 0x504cb6
mov eax, dword [0x534934]
add eax, dword [0x53492c]
mov dword [0x5348dc], eax
mov eax, dword [0x53493c]
push eax
mov ecx, dword [0x534a28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5349bc]
call fcn.004f8cdc
mov dword [0x534a08], eax
cmp dword [ebp - 0x1c], 0xd
jl 0x504c85
mov eax, dword [0x53490c]
add eax, 0xea
mov dword [0x5349b4], eax
mov eax, dword [0x5349d0]
mov dword [0x5349e8], eax
mov eax, dword [0x534a28]
add eax, 0x81
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.0040762c
mov dword [0x534a48], eax
lea eax, [ebp - 8]
mov edx, 0x505b5c
call fcn.0040a01c
call fcn.0050153c
mov dword [0x534864], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [0x5348dc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5349c4]
call fcn.0050388c
mov eax, dword [0x5348ec]
mov dword [0x5348c4], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
sub edx, dword [eax + 0x34]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x504f25
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x504dab
inc dword [ebp - 0x1c]
mov eax, dword [0x534994]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x504d93
mov eax, dword [ebp - 0x64]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x2e
jne 0x504dab
mov eax, dword [0x534a38]
mov dword [0x534874], eax
jmp 0x504dab
mov eax, dword [0x534a30]
mov dword [0x5348c4], eax
mov eax, dword [0x5348b4]
sub eax, 0x73
mov dword [0x5348f4], eax
mov eax, dword [0x53495c]
sub eax, 0xb
mov dword [0x534944], eax
mov eax, dword [0x534964]
call fcn.004071f4
mov dword [0x534964], eax
mov eax, dword [0x534964]
cmp eax, dword [0x5348c4]
jge 0x504e09
mov eax, dword [0x5348ec]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x5349c4], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
call fcn.004fd9ec
mov edx, dword [ebp - 0x3c]
mov byte [edx + 0x15], al
mov eax, dword [0x5348d4]
lea eax, [eax + eax*2]
mov dword [0x5348d4], eax
mov eax, dword [0x5348dc]
call fcn.004071f4
mov dword [0x5348dc], eax
mov eax, dword [0x534a40]
mov dword [0x5348ec], eax
mov eax, dword [0x5348ec]
cmp eax, dword [0x5348dc]
jle 0x504e8b
mov eax, dword [0x53487c]
add eax, 0xcd
mov dword [0x534944], eax
mov eax, dword [0x5348bc]
add eax, 4
mov dword [0x5349ac], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x1c]
cmp eax, edx
jge 0x504e96
mov eax, dword [0x534a18]
imul dword [0x5349c4]
mov dword [0x534a30], eax
jmp 0x504e96
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040a01c
mov eax, dword [0x53485c]
mov dword [0x5348c4], eax
mov eax, 0x5e
sub eax, dword [0x53489c]
mov dword [0x53490c], eax
mov eax, dword [0x534a50]
mov dword [0x53492c], eax
mov eax, dword [0x53493c]
sub eax, dword [0x534a18]
cmp eax, 0xfe
jge 0x504ee1
mov eax, dword [0x534a40]
add eax, dword [0x53496c]
mov dword [0x534984], eax
jmp 0x50508f
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jne 0x504f11
mov eax, dword [0x53487c]
add eax, 0x8b
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.0040762c
mov dword [0x534a50], eax
jmp 0x50508f
mov eax, dword [0x534874]
sub eax, 0xef
mov dword [0x53489c], eax
jmp 0x50508f
mov eax, dword [0x5349f8]
sub eax, dword [0x534964]
cmp eax, 0x23
jge 0x504f63
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x504f96
inc dword [ebp - 0x1c]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040abd8
jmp 0x504f96
mov eax, dword [0x534974]
add eax, 0x16
mov dword [0x5348f4], eax
mov eax, dword [0x5349d0]
sub eax, 0x15
mov dword [0x53494c], eax
mov eax, dword [0x534874]
add eax, 0xad
mov dword [0x53498c], eax
call fcn.004eb8cc
mov dword [0x534884], eax
mov eax, dword [0x5349b4]
sub eax, dword [0x5348a4]
mov dword [0x534a28], eax
mov eax, dword [0x534a50]
call fcn.004071f4
mov dword [0x534a50], eax
mov eax, dword [0x5349ac]
add eax, 0x42
mov dword [0x53487c], eax
mov eax, dword [0x534a50]
add eax, 0xda
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.0040762c
mov dword [0x5348b4], eax
mov eax, dword [ebp - 0x3c]
mov byte [eax + 0x15], 1
mov eax, dword [0x53492c]
add eax, 4
mov dword [0x5349b4], eax
mov eax, dword [0x534974]
sub eax, 0xd4
mov dword [0x534a00], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jle 0x50505f
mov eax, dword [0x534a30]
mov dword [0x534a48], eax
mov eax, dword [0x534a50]
call fcn.004071f4
mov dword [0x534a50], eax
mov eax, dword [0x534a50]
cmp eax, dword [0x534a48]
jle 0x505055
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x5349e8]
mov edx, dword [0x534944]
mov eax, dword [ebp - 0x1c]
call fcn.004f7d84
mov dword [0x53486c], eax
jmp 0x50505f
mov eax, dword [0x534864]
mov dword [0x5348dc], eax
mov eax, dword [0x5349ac]
add eax, 0xff
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.0040762c
mov dword [0x534964], eax
mov eax, dword [0x534a50]
sub eax, dword [0x534984]
mov dword [0x5349b4], eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004fe778
test al, al
jne 0x505187
mov eax, dword [0x534a30]
mov dword [0x5348c4], eax
mov eax, 0xf7
sub eax, dword [0x534904]
mov dword [0x5348ec], eax
mov eax, dword [0x534964]
sub eax, 0xf6
mov dword [0x534944], eax
mov eax, dword [0x5348fc]
mov dword [0x53495c], eax
mov eax, dword [0x534a18]
sub eax, 0x8e
mov dword [0x534984], eax
call fcn.004f807c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x534a00]
mov dword [0x53485c], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jne 0x5050ec
mov eax, dword [0x534a50]
imul dword [0x5349b4]
mov dword [0x53489c], eax
fild dword [0x5348d4]
call fcn.00407638
mov dword [0x5348d4], eax
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov eax, 0x505b94
call fcn.0040ade8
cmp eax, 0xb2
jge 0x50514a
mov eax, dword [0x5349d8]
add eax, dword [0x53488c]
mov dword [0x53496c], eax
jmp 0x505154
mov eax, dword [0x53487c]
mov dword [0x5349b4], eax
mov eax, dword [0x53496c]
mov dword [0x5349e0], eax
mov eax, dword [0x5349e0]
cmp eax, dword [0x5349b4]
jge 0x50517a
mov eax, dword [0x534964]
sub eax, 0xb3
mov dword [0x534a48], eax
mov eax, dword [0x534a18]
add eax, 0x4c
mov dword [0x534884], eax
mov eax, dword [0x53498c]
imul dword [0x5348f4]
mov dword [0x534944], eax
fild dword [0x534a48]
call fcn.00407638
mov dword [0x534984], eax
mov edx, 0x534a28
lea eax, [ebp - 0x1c]
call fcn.00502c1c
mov dword [0x5349e0], eax
call fcn.00500764
mov dword [0x5348d4], eax
mov eax, dword [0x53488c]
mov dword [0x5349e0], eax
imul eax, dword [0x53497c], 0x44
mov dword [0x534a18], eax
mov eax, dword [ebp - 0x3c]
call fcn.004fb3e4
test al, al
jne 0x50524b
mov eax, dword [0x534874]
add eax, dword [0x534974]
mov dword [0x5348ec], eax
imul eax, dword [0x5348fc], 0xd7
mov dword [0x53493c], eax
mov eax, dword [0x5349b4]
add eax, 0x6f
mov dword [0x53497c], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x53493c
lea eax, [ebp - 0x1c]
call fcn.004f8500
mov dword [0x5348c4], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1c]
call fcn.004f8500
mov eax, dword [0x5348e4]
mov dword [0x534a08], eax
call fcn.004f807c
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
call fcn.00502dbc
test al, al
jne 0x50534e
mov eax, dword [0x534a38]
add eax, 4
mov dword [0x53493c], eax
mov eax, dword [0x53494c]
call fcn.004071f4
mov dword [0x53494c], eax
mov eax, dword [0x53490c]
mov dword [0x53496c], eax
imul eax, dword [0x534a30], 0xfe
mov dword [0x5349ac], eax
mov eax, dword [0x5348fc]
add eax, 0x30
mov dword [0x5349d8], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.0040a01c
call fcn.004f807c
mov eax, dword [0x534904]
imul eax, dword [0x5348a4]
mov dword [0x5348a4], eax
fild dword [0x534944]
call fcn.00407638
mov dword [0x5348d4], eax
mov eax, dword [0x53489c]
mov dword [0x5348f4], eax
mov eax, dword [0x534a50]
mov dword [0x5348fc], eax
mov eax, dword [0x5348fc]
cmp eax, dword [0x5348f4]
jge 0x5052ff
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.0040a01c
jmp 0x505315
lea eax, [ebp - 8]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040abd8
mov eax, dword [0x5348fc]
add eax, 0xee
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.0040762c
mov dword [0x5348bc], eax
mov eax, dword [0x53486c]
mov dword [0x5348dc], eax
mov eax, dword [0x53495c]
add eax, 0xec
mov dword [0x534904], eax
mov eax, dword [0x5349d0]
cmp eax, dword [0x5349ac]
jle 0x50537c
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 5
jge 0x50537c
inc dword [ebp - 0x1c]
mov eax, dword [0x5348d4]
add eax, 0x7f
mov dword [0x534a50], eax
cmp dword [ebp - 0x1c], 5
jl 0x505366
mov eax, dword [0x5348cc]
mov dword [0x5348a4], eax
mov eax, dword [0x534884]
mov dword [0x5348b4], eax
push 0x5349e8
push 0x5349ac
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1c]
call fcn.004f80d8
mov eax, dword [0x5348c4]
add eax, dword [0x5348dc]
mov dword [0x5348f4], eax
imul eax, dword [0x53496c], 0xe1
mov dword [0x534944], eax
mov eax, dword [ebp - 0x3c]
call fcn.004fcd10
test al, al
jne 0x5054a5
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x534a50]
call fcn.004071f4
mov dword [0x534a50], eax
mov eax, dword [0x5349b4]
mov dword [0x534864], eax
mov eax, dword [0x534864]
cmp eax, dword [0x534a50]
jle 0x50542c
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [0x5348b4]
push eax
mov eax, dword [0x5349bc]
push eax
mov ecx, dword [0x5348d4]
mov edx, dword [0x53497c]
mov eax, dword [ebp - 0x1c]
call fcn.0050388c
jmp 0x50544a
mov eax, dword [0x534934]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x53492c], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x5053dc
mov eax, dword [0x534a38]
sub eax, dword [0x534a50]
mov dword [0x5349c4], eax
fild dword [0x5348c4]
call fcn.0040762c
mov dword [0x534a00], eax
lea eax, [ebp - 0x18]
mov edx, 0x505bc8
call fcn.0040a01c
mov eax, dword [0x5348bc]
sub eax, dword [0x534904]
mov dword [0x534864], eax
mov eax, dword [0x534964]
add eax, dword [0x5349e0]
mov dword [0x53489c], eax
call fcn.004f807c
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x5058ff
mov eax, 0xd1
sub eax, dword [ebp - 0x1c]
cmp eax, 0xe8
jge 0x50552e
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xc
jge 0x5054e8
inc dword [ebp - 0x1c]
mov eax, dword [0x53485c]
call fcn.004071f4
mov dword [0x53485c], eax
jmp 0x5054e8
mov eax, dword [0x5349d8]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x5348bc], eax
mov eax, dword [0x53487c]
add eax, dword [0x5349d8]
mov dword [0x5348ec], eax
mov eax, dword [0x534a50]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x534a48]
call fcn.004f7d84
jmp 0x50553e
fild dword [0x53495c]
call fcn.0040762c
mov dword [0x534984], eax
mov eax, dword [0x5349d8]
call fcn.004071f4
mov dword [0x5349d8], eax
mov eax, dword [0x5349b4]
mov dword [0x5349e8], eax
mov eax, dword [0x5349d8]
cmp eax, dword [0x5349e8]
jge 0x50557b
mov eax, dword [0x5349ac]
imul dword [0x534974]
mov dword [0x534a48], eax
call fcn.004eb8cc
jmp 0x50559a
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x534984]
mov edx, dword [0x534864]
mov eax, dword [0x5348ac]
call fcn.004fe5d0
mov dword [0x53489c], eax
mov eax, dword [0x534934]
add eax, dword [0x534864]
mov dword [0x5348fc], eax
imul eax, dword [0x5349d8], 0xea
mov dword [0x53494c], eax
call fcn.00500764
mov dword [0x5349bc], eax
mov eax, 0xf1
sub eax, dword [0x53490c]
cmp eax, 0x6f
jge 0x505659
mov eax, dword [0x5349d0]
mov dword [0x5349bc], eax
mov eax, dword [0x5349bc]
cmp eax, dword [0x5349e8]
jge 0x50563b
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jne 0x505619
mov eax, dword [0x53486c]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x53485c], eax
jmp 0x505659
lea eax, [ebp - 0x1c]
push eax
push 0x534a40
lea ecx, [ebp - 0x1c]
mov edx, 0x534a38
mov eax, 0x534934
call fcn.004f9fcc
mov dword [0x5348ac], eax
jmp 0x505659
mov eax, dword [0x534944]
add eax, 0x47
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.0040762c
mov dword [0x53493c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [0x5348ac]
imul dword [0x53497c]
mov dword [0x53498c], eax
lea eax, [ebp - 0x14]
mov edx, 0x505bf0
call fcn.0040a01c
mov eax, dword [0x53489c]
add eax, 4
mov dword [0x534a00], eax
mov eax, dword [0x53493c]
sub eax, dword [0x534864]
mov dword [0x534a40], eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040abd8
mov eax, dword [0x534984]
mov dword [0x53488c], eax
push 0
push 1
mov eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0x34]
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x35], al
mov eax, dword [0x5348c4]
mov dword [0x534964], eax
fild dword [0x53496c]
call fcn.00407638
mov dword [0x5349b4], eax
imul eax, dword [0x534a28], 0xc8
mov dword [0x5349e8], eax
push 0x534a48
mov ecx, 0x53497c
mov edx, 0x53490c
lea eax, [ebp - 0x1c]
call fcn.004f8500
mov dword [0x53492c], eax
mov eax, dword [0x534a08]
imul dword [0x5348dc]
mov dword [0x534a50], eax
fild dword [0x5348a4]
call fcn.00407638
mov dword [0x53488c], eax
cmp byte [ebp - 0x35], 0
jne 0x5057f3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505ab0
mov eax, dword [0x53496c]
add eax, 0x47
mov dword [0x53492c], eax
mov eax, dword [0x5348bc]
mov dword [0x534944], eax
imul eax, dword [0x5349c4], 0x45
mov dword [0x534974], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jle 0x50583e
mov eax, dword [ebp - 0x1c]
add eax, 0x18
cmp eax, dword [ebp - 0x1c]
jge 0x50585d
mov eax, dword [0x534a08]
add eax, dword [0x534904]
mov dword [0x534a40], eax
jmp 0x50585d
mov eax, dword [0x534884]
call fcn.004071f4
mov dword [0x534884], eax
fild dword [0x5348e4]
call fcn.0040762c
mov dword [0x5348bc], eax
mov eax, dword [0x534934]
add eax, dword [0x5348ac]
mov dword [0x5348fc], eax
mov eax, dword [0x5349e0]
add eax, dword [0x534964]
mov dword [0x53494c], eax
mov eax, dword [ebp - 0x3c]
mov byte [eax + 0x14], 1
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xe
jge 0x5058cb
inc dword [ebp - 0x1c]
mov ecx, 1
mov edx, dword [ebp - 0x18]
mov eax, 0x505c6c
call fcn.0040ade8
cmp eax, 0xc8
jge 0x5058c5
push 0x534a40
lea ecx, [ebp - 0x1c]
mov edx, 0x53498c
lea eax, [ebp - 0x1c]
call fcn.004fcb28
mov dword [0x5349e8], eax
cmp dword [ebp - 0x1c], 0xe
jl 0x50588f
mov eax, dword [0x5348f4]
mov dword [0x5348e4], eax
mov eax, dword [0x5348ac]
mov dword [0x5348f4], eax
mov eax, dword [0x5349b4]
imul dword [0x5349e8]
mov dword [0x534934], eax
fild dword [0x534a50]
call fcn.00407638
mov dword [0x53496c], eax
mov eax, dword [0x5349d0]
mov dword [0x5348f4], eax
mov eax, dword [0x534874]
add eax, 4
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
call fcn.00407638
mov dword [0x53493c], eax
fild dword [0x534a00]
call fcn.0040762c
mov dword [0x534a28], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x5348d4]
mov edx, dword [0x534874]
mov eax, dword [ebp - 0x1c]
call fcn.004fb1d0
mov dword [0x5348dc], eax
mov eax, dword [0x534a20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x50596d
mov eax, dword [ebp - 0x6c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x22
jle 0x50597d
mov eax, dword [0x53498c]
mov dword [0x53488c], eax
mov eax, dword [0x534a48]
imul dword [0x5348cc]
mov dword [0x5348bc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505ad2
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00409c54
ret