Function at 0x506420
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x24
push 0
push 0
dec ecx
jne 0x506429
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404ba4
xor eax, eax
push ebp
push 0x5079e6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x354]
call fcn.00440b8c
mov eax, dword [ebp - 0x1c]
mov edx, 0x507a00
call fcn.00404b00
jne 0x506486
lea eax, [ebp - 0x14]
mov edx, 0x507a0c
call fcn.0040479c
jmp 0x506493
lea eax, [ebp - 0x14]
mov edx, 0x507a1c
call fcn.0040479c
lea eax, [ebp - 0xc]
mov edx, 0x507a2c
call fcn.0040479c
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
call fcn.0042fcc4
call fcn.0042f624
mov dword [ebp - 0x18], eax
mov eax, ebx
call fcn.004ae954
mov eax, ebx
call fcn.004c6240
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004c4674
mov edx, 0x508120
call fcn.004bc77c
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
call fcn.0040578c
lea edx, [ebp - 0x2c]
pop eax
call fcn.004bda24
mov eax, ebx
call fcn.004ae948
lea eax, [ebp - 0x30]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404c14
mov eax, dword [ebp - 0x30]
mov edx, 0x508134
call fcn.00404b00
je 0x507832
mov edx, 0x508140
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp dword [ebp - 0x34], 0
jne 0x50654f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov edx, 0x508154
call fcn.004251c0
jmp 0x506571
mov edx, 0x508140
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.004251c0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov dl, byte [0x50815c]
call fcn.00425264
mov edx, 0x508168
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x3c]
mov edx, 0x50817c
call fcn.00404b00
jne 0x5065b3
call fcn.0042fcc4
mov dl, 1
call fcn.0042f6d0
jmp 0x5065bf
call fcn.0042fcc4
xor edx, edx
call fcn.0042f6d0
call fcn.0042fcc4
mov edx, dword [ebp - 8]
call fcn.0042f658
call fcn.0042fcc4
call fcn.0042f248
jmp 0x507832
lea eax, [ebp - 0x40]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404c14
mov eax, dword [ebp - 0x40]
mov edx, 0x508134
call fcn.00404b00
je 0x506694
mov edx, 0x508188
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.00425238
mov edx, 0x50819c
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x44]
push eax
mov edx, 0x5081ac
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
add eax, dword [esi + 0x6ac]
push eax
mov edx, 0x5081cc
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.004260a4
lea eax, [ebp - 0x10]
call fcn.00404704
mov edx, 0x5081e0
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00408fd4
cmp dword [ebp - 0x50], 0
je 0x50782b
mov edx, 0x5081e0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
cmp eax, 0x2a
ja case.0x5066df.0
jmp dword [eax*4 + 0x5066e6]
lea edx, [ebp - 0x10]
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x344]
call fcn.00440b8c
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, dword [0x518fc0]
mov edx, dword [edx + 0x718]
call fcn.0040479c
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, dword [0x518fc0]
mov edx, dword [edx + 0x724]
call fcn.0040479c
jmp case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x360]
call fcn.00440b8c
jmp case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x364]
call fcn.00440b8c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
jne 0x50682e
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x358]
call fcn.00440b8c
jmp case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x30c]
call fcn.00440b8c
jmp case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x350]
call fcn.00440b8c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
jne 0x506882
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x35c]
call fcn.00440b8c
jmp case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00440b8c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
jne 0x5068bd
lea eax, [ebp - 0x10]
mov edx, 0x50817c
call fcn.0040479c
jmp case.0x5066df.0
lea edx, [ebp - 0x58]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
call fcn.00440b8c
mov eax, dword [ebp - 0x58]
call fcn.00506224
fstp qword [ebp - 0x60]
wait
lea edx, [ebp - 0x64]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.00440b8c
mov eax, dword [ebp - 0x64]
call fcn.00506224
fadd qword [ebp - 0x60]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x10]
call fcn.0040a9ac
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
jne 0x506934
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x690]
call fcn.0040479c
jmp case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
call fcn.00440b8c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
jne 0x50696f
lea eax, [ebp - 0x10]
mov edx, 0x50817c
call fcn.0040479c
jmp case.0x5066df.0
lea edx, [ebp - 0x68]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.00440b8c
mov eax, dword [ebp - 0x68]
call fcn.00506224
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x10]
call fcn.0040a9ac
jmp case.0x5066df.0
lea edx, [ebp - 0x6c]
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x354]
call fcn.00440b8c
mov eax, dword [ebp - 0x6c]
mov edx, 0x507a00
call fcn.00404b00
jne 0x5069d4
lea eax, [ebp - 0x10]
mov edx, 0x5081fc
call fcn.0040479c
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, 0x508208
call fcn.0040479c
jmp case.0x5066df.0
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x728]
mov edx, 0x507a00
call fcn.00404b00
jne case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
jne 0x506a22
lea eax, [ebp - 0x10]
mov edx, 0x508214
call fcn.0040479c
jmp case.0x5066df.0
lea edx, [ebp - 0x70]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x31c]
call fcn.00440b8c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x10]
mov ecx, 0x508224
call fcn.00404a08
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x714]
mov ecx, 7
mov edx, 1
call fcn.00404c14
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, dword [0x518fc0]
mov edx, dword [edx + 0x71c]
call fcn.0040479c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
je case.0x5066df.0
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x506ac1
lea eax, [ebp - 0x10]
mov edx, 0x508230
call fcn.0040479c
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, 0x50824c
call fcn.0040479c
jmp case.0x5066df.0
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
call fcn.004ae954
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
call fcn.004ae948
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
mov edx, 0x508268
call fcn.004af95c
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
jmp case.0x5066df.0
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x72c]
mov edx, 0x507a00
call fcn.00404b00
jne case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, 0x508278
call fcn.0040479c
jmp case.0x5066df.0
mov eax, dword [0x518fc0]
mov eax, dword [eax + 0x728]
mov edx, 0x507a00
call fcn.00404b00
jne case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
je 0x506b98
lea eax, [ebp - 0x10]
mov edx, 0x508214
call fcn.0040479c
jmp case.0x5066df.0
lea edx, [ebp - 0x78]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x3b4]
call fcn.00440b8c
mov eax, dword [ebp - 0x78]
call fcn.00506224
fld xword [0x508288]
fmulp st(1)
fstp xword [ebp - 0x84]
wait
lea edx, [ebp - 0x88]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x31c]
call fcn.00440b8c
mov eax, dword [ebp - 0x88]
call fcn.00506224
fld xword [ebp - 0x84]
fsubp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x74]
call fcn.0040a9ac
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x10]
mov ecx, 0x508224
call fcn.00404a08
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x730]
call fcn.0040479c
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x734]
call fcn.0040479c
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x738]
call fcn.0040479c
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x73c]
call fcn.0040479c
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x740]
call fcn.0040479c
jmp case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x3f4]
call fcn.00440b8c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
je case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00440b8c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
je case.0x5066df.0
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x394]
cmp byte [eax + 0x170], 0
je 0x506ce8
lea eax, [ebp - 0x10]
mov edx, 0x508134
call fcn.0040479c
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x398]
cmp byte [eax + 0x170], 0
je 0x506d0b
lea eax, [ebp - 0x10]
mov edx, 0x50829c
call fcn.0040479c
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
cmp byte [eax + 0x170], 0
je case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, 0x5082a8
call fcn.0040479c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
je case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x388]
call fcn.00440b8c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
je case.0x5066df.0
lea edx, [ebp - 0x10]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x390]
call fcn.00440b8c
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
jne 0x506db8
lea eax, [ebp - 0x10]
mov ecx, dword [esi + 0x690]
mov edx, 0x5082b4
call fcn.00404a08
jmp case.0x5066df.0
lea edx, [ebp - 0x8c]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
call fcn.00440b8c
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x10]
mov edx, 0x5082b4
call fcn.00404a08
jmp case.0x5066df.0
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
jne 0x506e0f
lea eax, [ebp - 0x10]
mov ecx, dword [esi + 0x690]
mov edx, 0x5082b4
call fcn.00404a08
jmp case.0x5066df.0
lea edx, [ebp - 0x94]
mov eax, dword [0x516864]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.00440b8c
mov eax, dword [ebp - 0x94]
call fcn.00506224
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x90]
call fcn.0040a9ac
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x10]
mov edx, 0x5082b4
call fcn.00404a08
jmp case.0x5066df.0
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x6fc]
call fcn.0040479c
jmp case.0x5066df.0
mov eax, dword [esi + 0x464]
mov eax, dword [eax + 0x168]
call fcn.004282d0
push eax
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
push eax
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
push eax
call fcn.0042fcc4
call fcn.0042f624
pop edx
pop ecx
call fcn.00425d3c
jmp case.0x5066df.0
mov edx, 0x5082e4
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [esi + 0x468]
call fcn.00440344
mov edx, 0x5082f8
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [esi + 0x468]
call fcn.00440320
mov eax, dword [esi + 0x468]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0xc]
push eax
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
push eax
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
push eax
call fcn.0042fcc4
call fcn.0042f624
pop edx
pop ecx
call fcn.00425d3c
jmp case.0x5066df.0
mov edx, 0x5082e4
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [esi + 0x46c]
call fcn.00440344
mov edx, 0x5082f8
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [esi + 0x46c]
call fcn.00440320
mov eax, dword [esi + 0x46c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0xc]
push eax
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
push eax
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
push eax
call fcn.0042fcc4
call fcn.0042f624
pop edx
pop ecx
call fcn.00425d3c
lea eax, [ebp - 0x98]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404c14
mov eax, dword [ebp - 0x98]
mov edx, 0x508134
call fcn.00404b00
jne 0x50718f
mov edx, 0x5082e4
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
push 0x508304
push 0x508310
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
push 0x508318
lea eax, [esi + 0x6e0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004056e0
add esp, 0x14
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004056e0
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
push 0
call fcn.004056e0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x508324
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
push 0x508318
lea eax, [esi + 0x6e0]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.004056e0
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
push 0
call fcn.004056e0
add esp, 0x10
jmp 0x50782b
mov edx, 0x5081e0
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0xcc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xcc]
mov edx, 0x508338
call fcn.00404b00
jne 0x5072fc
mov eax, dword [ebp - 4]
mov edx, 0x5081f0
call fcn.00404b00
jne 0x507278
lea eax, [ebp - 0xd4]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [esi + 0x714]
call fcn.00404c14
push dword [ebp - 0xd4]
lea eax, [ebp - 0xd8]
push eax
mov ecx, 6
mov edx, 5
mov eax, dword [esi + 0x714]
call fcn.00404c14
push dword [ebp - 0xd8]
lea edx, [ebp - 0xe0]
mov eax, dword [esi + 0x35c]
call fcn.00440b8c
mov eax, dword [ebp - 0xe0]
call fcn.00506158
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xdc]
mov eax, 0x508344
call fcn.0040aa7c
push dword [ebp - 0xdc]
push 0x508354
lea eax, [ebp - 0xd0]
mov edx, 4
call fcn.00404a7c
mov edx, dword [ebp - 0xd0]
mov eax, dword [esi + 0x3a4]
call fcn.004688bc
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [esi + 0x3a4]
call fcn.0046890c
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
add edx, dword [esi + 0x6ac]
mov eax, dword [esi + 0x3a4]
call fcn.004688f8
call fcn.0042fcc4
call fcn.0042f624
mov edx, eax
mov eax, dword [esi + 0x3a4]
call fcn.0046853c
jmp 0x50782b
mov edx, 0x5081e0
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0xe4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xe4]
mov edx, 0x508360
call fcn.00404b00
je 0x507352
mov edx, 0x5081e0
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xe8]
mov edx, 0x50836c
call fcn.00404b00
jne 0x50756b
mov edx, 0x5082e4
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
call fcn.004255b0
mov edx, 0x5081e0
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0xec]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xec]
mov edx, 0x508360
call fcn.00404b00
jne 0x507484
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
add eax, dword [esi + 0x6ac]
push eax
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.00425f00
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edi, eax
mov edx, 0x5082f8
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
add edi, eax
push edi
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xf0], eax
fild dword [ebp - 0xf0]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov ecx, eax
add ecx, dword [esi + 0x6ac]
mov eax, dword [ebp - 0x18]
pop edx
call fcn.00425ea0
jmp 0x50782b
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
add eax, dword [esi + 0x6ac]
push eax
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.00425f00
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edi, eax
mov edx, 0x5082f8
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
add edi, eax
add edi, dword [esi + 0x6ac]
push edi
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xf0], eax
fild dword [ebp - 0xf0]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.00425ea0
jmp 0x50782b
mov edx, 0x5081e0
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0xf4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xf4]
mov edx, 0x508378
call fcn.00404b00
je 0x5075c1
mov edx, 0x5081e0
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0xf8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xf8]
mov edx, 0x508384
call fcn.00404b00
jne 0x5077af
mov edx, 0x5081e0
mov eax, ebx
call fcn.004af95c
lea edx, [ebp - 0xfc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xfc]
mov edx, 0x508378
call fcn.00404b00
jne 0x5075f9
lea eax, [ebp - 0xc]
mov edx, 0x508390
call fcn.0040479c
jmp 0x507606
lea eax, [ebp - 0xc]
mov edx, 0x508424
call fcn.0040479c
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
call fcn.004ae954
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
call fcn.004c6240
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
call fcn.004c4674
mov edx, 0x5084b4
call fcn.004bc77c
push eax
lea eax, [ebp - 0x10c]
mov edx, dword [0x516864]
mov edx, dword [edx]
mov edx, dword [edx + 0x3c8]
call fcn.0040578c
lea edx, [ebp - 0x10c]
pop eax
call fcn.004bda24
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
call fcn.004ae948
xor edi, edi
jmp 0x507796
cmp edi, 0xb
jg 0x507786
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov edx, 0x5084cc
call fcn.004af95c
lea edx, [ebp - 0x110]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x110]
push 0x5084dc
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov edx, 0x5084e8
call fcn.004af95c
lea edx, [ebp - 0x114]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x114]
push 0x5084f4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404a7c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov edx, 0xa
call fcn.00425238
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
cdq
push edx
push eax
push 0
push 0xc
mov dword [ebp - 0x48], edi
fild dword [ebp - 0x48]
fdiv dword [0x5084f8]
call fcn.00402b0c
call fcn.00405838
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
fild qword [ebp - 0x60]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
add eax, dword [esi + 0x6ac]
push eax
mov eax, edi
and eax, 0x80000001
jns 0x507762
dec eax
or eax, 0xfffffffe
inc eax
imul eax, eax, 0x78
add eax, 0x14
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.004260a4
inc edi
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
call fcn.004b1004
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
cmp byte [eax + 0xa1], 0
je 0x507681
jmp 0x50782b
mov edx, 0x5082e4
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.00425238
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x5082c0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
add eax, dword [esi + 0x6ac]
push eax
mov edx, 0x5082d0
mov eax, ebx
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fld xword [0x5081b8]
fmulp st(1)
call fcn.00402b0c
mov edx, eax
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.004260a4
mov eax, ebx
call fcn.004b1004
cmp byte [ebx + 0xa1], 0
je 0x5065db
lea eax, [ebp - 0x118]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404c14
mov eax, dword [ebp - 0x118]
mov edx, 0x508134
call fcn.00404b00
jne 0x5078c2
push 0x508504
push 0x508510
push 0x508520
lea eax, [esi + 0x6e0]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.004056e0
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
call fcn.004056e0
add esp, 0x10
mov ebx, dword [ebp - 8]
test ebx, ebx
jle 0x5078cc
push 0x508530
lea eax, [esi + 0x6e0]
push eax
push 0
call fcn.004056e0
add esp, 0xc
dec ebx
jne 0x5078a7
jmp 0x5078cc
call fcn.0042fcc4
call fcn.0042f2d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5079f0
lea eax, [ebp - 0x128]
call fcn.00405800
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.00404728
lea eax, [ebp - 0x10c]
call fcn.00405800
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.00404728
lea eax, [ebp - 0xec]
mov edx, 3
call fcn.00404728
lea eax, [ebp - 0xe0]
call fcn.00404704
lea eax, [ebp - 0xdc]
mov edx, 5
call fcn.00404728
lea eax, [ebp - 0xc8]
mov edx, dword [0x40113c]
mov ecx, 3
call fcn.004052f8
lea eax, [ebp - 0x98]
call fcn.00404704
lea eax, [ebp - 0x94]
call fcn.00404704
lea eax, [ebp - 0x90]
call fcn.00404704
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.00404728
lea eax, [ebp - 0x78]
call fcn.00404704
lea eax, [ebp - 0x74]
call fcn.00404704
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.00404728
lea eax, [ebp - 0x58]
call fcn.00404704
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00404728
lea eax, [ebp - 0x44]
mov edx, 6
call fcn.00404728
lea eax, [ebp - 0x2c]
call fcn.00405800
lea eax, [ebp - 0x1c]
call fcn.00404704
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404728
lea eax, [ebp - 4]
call fcn.00404704
ret