Function at 0xb4b738
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0xb4b741
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 0xd], cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
call fcn.0040569c
xor eax, eax
push ebp
push 0xb4cc18
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xe], 0
xor eax, eax
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x661654]
call fcn.00662c60
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.00692cf0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x64fe28]
call fcn.006505ec
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
call fcn.00672a4c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6633e4]
call fcn.00663758
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x34]
call fcn.0068acc4
cmp byte [ebp - 0xd], 0
jne 0xb4b811
lea eax, [ebp - 0x2c]
mov edx, 0xb4cc34
call fcn.00405284
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4cc70
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
cmp byte [ebp - 0xd], 1
jne 0xb4b856
lea eax, [ebp - 0x2c]
mov edx, 0xb4cc90
call fcn.00405284
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4cd04
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
push 0
lea edx, [ebp - 0x70]
mov eax, dword [ebp + 0x14]
call fcn.0040ae2c
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0xb4cd28
call fcn.004054f8
mov edx, dword [ebp - 0x6c]
mov ecx, 0xb4cd38
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x118]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov byte [ebp - 0x35], al
push 0
lea edx, [ebp - 0x78]
mov eax, dword [ebp + 0x14]
call fcn.0040ae2c
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 0xb4cd28
call fcn.004054f8
mov edx, dword [ebp - 0x74]
mov ecx, 0xb4cd54
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x118]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x35], 0
je 0xb4ba2e
cmp dword [ebp - 0x18], 0
jle 0xb4ba2e
lea eax, [ebp - 0x2c]
mov edx, 0xb4cd70
call fcn.004054b4
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0xb4b993
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x14], 1
push dword [ebp - 0x2c]
push 0xb4cd80
push 0
push 0xb4cd98
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x14]
call fcn.0040ae2c
push dword [ebp - 0x84]
push 0xb4cdac
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.0040556c
mov eax, dword [ebp - 0x80]
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp + 0x14]
call fcn.0040ae2c
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0xb4cd28
call fcn.004054f8
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x118]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x7c]
call fcn.0040ae2c
push dword [ebp - 0x7c]
push 0xb4cdc0
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.0040556c
inc dword [ebp - 0x14]
dec dword [ebp - 0x64]
jne 0xb4b8f8
mov eax, dword [ebp - 0x2c]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x2c]
mov ecx, 1
call fcn.0040574c
mov eax, dword [ebp - 0x2c]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x2c]
mov ecx, 1
call fcn.0040574c
mov eax, dword [ebp - 0x2c]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x2c]
mov ecx, 1
call fcn.0040574c
mov eax, dword [ebp - 0x2c]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x2c]
mov ecx, 1
call fcn.0040574c
lea eax, [ebp - 0x2c]
mov edx, 0xb4cdd0
call fcn.004054b4
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4cddc
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x30]
call fcn.00652ce4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp byte [ebp - 0xd], 0
jne 0xb4ba81
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b020
test al, al
jne 0xb4ba69
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov edx, 0xb4ce20
mov eax, dword [ebp - 0x30]
call fcn.00652db0
call fcn.00682a78
cmp byte [ebp - 0xd], 1
jne 0xb4baba
lea eax, [ebp - 0x90]
push eax
mov ecx, 0x50
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040570c
mov eax, dword [ebp - 0x90]
push eax
mov edx, 0xb4ce34
mov eax, dword [ebp - 0x30]
call fcn.00652db0
pop edx
call fcn.0068332c
mov eax, dword [ebp - 0x30]
call fcn.004e35a4
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
setg byte [ebp - 0x35]
cmp byte [ebp - 0x35], 0
je 0xb4bf81
mov edx, 0xb4ce48
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0x5c], eax
mov edx, 0xb4ce20
mov eax, dword [ebp - 0x30]
call fcn.004e481c
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x44]
call fcn.0040afdc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], edx
mov edx, 0xb4ce60
mov eax, dword [ebp - 0x30]
call fcn.004e481c
lea edx, [ebp - 0x94]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 8]
add eax, 0x4c
call fcn.00405240
mov edx, 0xb4ce74
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 8]
fistp qword [eax + 0x50]
wait
mov edx, 0xb4ce88
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov edx, 0xb4cea0
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0x58], eax
mov edx, 0xb4ceb4
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0xa8], eax
mov eax, dword [ebp - 8]
add eax, 0x68
mov edx, dword [ebp - 0xc]
call fcn.00405240
mov edx, 0xb4cec8
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 8]
mov byte [edx + 0xb4], al
mov edx, 0xb4cee0
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 8]
mov byte [edx + 0xb5], al
mov edx, 0xb4cef4
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0xb8], eax
mov edx, 0xb4cf10
mov eax, dword [ebp - 0x30]
call fcn.004e481c
lea edx, [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 8]
add eax, 0xa0
call fcn.00405240
mov edx, 0xb4cf28
mov eax, dword [ebp - 0x30]
call fcn.004e481c
lea edx, [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 8]
add eax, 0xa4
call fcn.00405240
mov edx, 0xb4cf3c
mov eax, dword [ebp - 0x30]
call fcn.004e481c
lea edx, [ebp - 0xa0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 8]
add eax, 0xbc
call fcn.00405240
mov edx, 0xb4cf54
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 8]
fistp qword [eax + 0xc0]
wait
mov edx, 0xb4cf68
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 8]
fistp qword [eax + 0xc8]
wait
mov edx, 0xb4cf80
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 8]
fistp qword [eax + 0x88]
wait
mov edx, 0xb4cf94
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0xdc], eax
mov edx, 0xb4cfb0
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0xe4], eax
mov edx, 0xb4cfcc
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 8]
fistp qword [eax + 0x100]
wait
mov edx, 0xb4cfe8
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0x108], eax
mov edx, 0xb4d008
mov eax, dword [ebp - 0x30]
call fcn.004e48a4
test eax, eax
je 0xb4bd78
mov edx, 0xb4d008
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 8]
fistp qword [eax + 0xf0]
wait
jmp 0xb4bd8d
mov eax, dword [ebp - 8]
mov dword [eax + 0xf0], 0x2710
xor edx, edx
mov dword [eax + 0xf4], edx
mov edx, 0xb4d018
mov eax, dword [ebp - 0x30]
call fcn.004e48a4
test eax, eax
je 0xb4bdcb
mov edx, 0xb4d018
mov eax, dword [ebp - 0x30]
call fcn.004e481c
lea edx, [ebp - 0xa4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 8]
add eax, 0xf8
call fcn.00405240
jmp 0xb4bdd8
mov eax, dword [ebp - 8]
add eax, 0xf8
call fcn.004051ec
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [0x71bd84]
call fcn.0071cfec
mov dword [ebp - 0x5c], eax
mov cl, 1
mov dl, 1
mov eax, dword [0x714bb4]
call fcn.007151a8
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0xe0], 0
je 0xb4be24
xor edx, edx
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x60]
call fcn.007152ec
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0xe1], 0
je 0xb4be49
mov edx, 1
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x60]
call fcn.007152ec
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0xe2], 0
je 0xb4be6e
mov edx, 2
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x60]
call fcn.007152ec
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0xe3], 0
je 0xb4be93
mov edx, 3
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x60]
call fcn.007152ec
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0xe4], 0
je 0xb4beb8
mov edx, 4
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x60]
call fcn.007152ec
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0xe5], 0
je 0xb4bedd
mov edx, 5
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x60]
call fcn.007152ec
mov eax, dword [ebp - 0x5c]
call fcn.0040429c
mov eax, dword [ebp - 0x60]
cmp dword [eax + 8], 1
jne 0xb4bf06
xor edx, edx
mov eax, dword [ebp - 0x60]
call fcn.007152c8
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
mov dword [edx + 0xe0], eax
jmp 0xb4bf13
mov eax, dword [ebp - 8]
mov dword [eax + 0xe0], 0xffffffff
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d02c
mov eax, dword [ebp - 8]
push dword [eax + 0x64]
push dword [eax + 0x60]
lea eax, [ebp - 0xac]
call fcn.0040af18
push dword [ebp - 0xac]
push 0xb4d044
mov eax, dword [ebp - 8]
push dword [eax + 0x4c]
lea eax, [ebp - 0xa8]
mov edx, 4
call fcn.0040556c
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 0x30]
call fcn.004e35b0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
cmp byte [ebp - 0x35], 0
jne 0xb4bfe6
mov eax, dword [ebp - 0x30]
call fcn.0040429c
mov eax, dword [ebp - 0x34]
call fcn.0040429c
mov eax, dword [ebp - 4]
call fcn.0040429c
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d050
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
jmp 0xb4cbe2
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d068
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 8]
cmp byte [eax + 0xb4], 0
je 0xb4c144
mov eax, dword [ebp - 0x30]
call fcn.0040429c
mov eax, dword [ebp - 0x34]
call fcn.0040429c
mov eax, dword [ebp - 4]
call fcn.0040429c
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0xf0], 0x2710
xor edx, edx
mov dword [eax + 0xf4], edx
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d094
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x48], 0
jne 0xb4c13b
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d104
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d130
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [0xae6e28]
call fcn.00ae7dd4
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0xb4c131
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x54]
call fcn.0040429c
jmp 0xb4c13b
mov eax, dword [ebp - 8]
mov dword [eax + 0x48], 1
mov byte [ebp - 0xe], 1
jmp 0xb4cbe2
mov eax, dword [ebp - 8]
cmp byte [eax + 0x2c], 0
je 0xb4c1aa
mov eax, dword [ebp - 0x30]
call fcn.0040429c
mov eax, dword [ebp - 0x34]
call fcn.0040429c
mov eax, dword [ebp - 4]
call fcn.0040429c
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d168
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov byte [ebp - 0xe], 1
jmp 0xb4cbe2
cmp dword [ebp + 0xc], 0
je 0xb4c280
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push ebp
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
call fcn.00b4b5a4
pop ecx
mov eax, dword [ebp + 8]
fistp qword [eax]
wait
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [0xae6e28]
call fcn.00ae7d4c
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0xb4c1fd
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x54]
call fcn.0040429c
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d1a0
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x20]
call fcn.0040ae2c
push dword [ebp - 0xb4]
push 0xb4d1e4
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.0040ae2c
push dword [ebp - 0xb8]
push 0xb4cdd0
lea eax, [ebp - 0xb0]
mov edx, 5
call fcn.0040556c
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
jmp 0xb4cac8
mov dl, 1
mov eax, dword [0x41ef98]
call fcn.0040426c
mov dword [ebp - 0x3c], eax
push 0
lea edx, [ebp - 0xc0]
mov eax, dword [ebp + 0x14]
call fcn.0040ae2c
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
mov edx, 0xb4cd28
call fcn.004054f8
mov edx, dword [ebp - 0xbc]
mov ecx, 0xb4d1f8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x118]
mov ebx, dword [eax]
call dword [ebx + 0x10]
test al, al
je 0xb4c3bc
push 0
lea edx, [ebp - 0xc8]
mov eax, dword [ebp + 0x14]
call fcn.0040ae2c
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
mov edx, 0xb4cd28
call fcn.004054f8
mov edx, dword [ebp - 0xc4]
mov ecx, 0xb4d210
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x118]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0xb4c3bc
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x14], 1
push 0
push 0xb4d228
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x14]
call fcn.0040ae2c
push dword [ebp - 0xd0]
push 0xb4d238
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.0040556c
mov eax, dword [ebp - 0xcc]
push eax
lea edx, [ebp - 0xd8]
mov eax, dword [ebp + 0x14]
call fcn.0040ae2c
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd4]
mov edx, 0xb4cd28
call fcn.004054f8
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x118]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x2c]
call fcn.0040ae2c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x14]
dec dword [ebp - 0x64]
jne 0xb4c32d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0xb4c5bf
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d248
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 0x30]
call fcn.00652ce4
mov edx, 0xb4d270
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb4d328
mov eax, dword [ebp - 0x30]
call fcn.00652db0
mov edx, dword [ebp - 0x44]
call fcn.0068332c
mov eax, dword [ebp - 0x30]
call fcn.004e35a4
jmp 0xb4c5a2
mov edx, 0xb4d340
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x58], eax
mov edx, 0xb4d350
mov eax, dword [ebp - 0x30]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x50]
wait
push 0xb4d364
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0x58]
call fcn.0040ae2c
push dword [ebp - 0xdc]
push 0xb4d374
fild qword [ebp - 0x50]
fdiv dword [0xb4d380]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0xe0]
call fcn.0040cb48
push dword [ebp - 0xe0]
push 0xb4d38c
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.0040556c
mov eax, dword [ebp - 8]
cmp dword [eax + 0xa8], 1
jne 0xb4c532
fild qword [ebp - 0x50]
fcomp dword [0xb4d390]
fnstsw ax
sahf
jbe 0xb4c532
fild qword [ebp - 0x50]
mov eax, dword [ebp - 8]
fild qword [eax + 0x1a0]
faddp st(1)
fistp qword [ebp - 0x50]
wait
push dword [ebp - 0x2c]
push 0xb4d39c
mov eax, dword [ebp - 8]
fild qword [eax + 0x1a0]
fdiv dword [0xb4d380]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0xe4]
call fcn.0040cb48
push dword [ebp - 0xe4]
push 0xb4d38c
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.0040556c
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 8]
fild qword [eax + 0x38]
mov eax, dword [ebp - 8]
fild qword [eax + 0xf0]
fmulp st(1)
fild qword [ebp - 0x50]
fmul dword [0xb4d380]
fcompp
fnstsw ax
sahf
jb 0xb4c59a
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 4], edx
jmp 0xb4c5b2
mov eax, dword [ebp - 0x30]
call fcn.004e5fbc
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0xa1], 0
je 0xb4c449
mov eax, dword [ebp - 0x30]
call fcn.004e35b0
jmp 0xb4c76f
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d3b0
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0xb4c76f
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xe8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xe8]
call fcn.0040af68
mov dword [ebp - 0x58], eax
push ebp
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x58]
call fcn.00b4b5a4
pop ecx
fistp qword [ebp - 0x50]
wait
push 0xb4d364
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 0x58]
call fcn.0040ae2c
push dword [ebp - 0xec]
push 0xb4d374
fild qword [ebp - 0x50]
fdiv dword [0xb4d380]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0xf0]
call fcn.0040cb48
push dword [ebp - 0xf0]
push 0xb4d38c
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.0040556c
mov eax, dword [ebp - 8]
cmp dword [eax + 0xa8], 1
jne 0xb4c6fb
fild qword [ebp - 0x50]
fcomp dword [0xb4d390]
fnstsw ax
sahf
jbe 0xb4c6fb
fild qword [ebp - 0x50]
mov eax, dword [ebp - 8]
fild qword [eax + 0x1a0]
faddp st(1)
fistp qword [ebp - 0x50]
wait
push dword [ebp - 0x2c]
push 0xb4d39c
mov eax, dword [ebp - 8]
fild qword [eax + 0x1a0]
fdiv dword [0xb4d380]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0xf4]
call fcn.0040cb48
push dword [ebp - 0xf4]
push 0xb4d38c
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.0040556c
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 8]
fild qword [eax + 0x38]
mov eax, dword [ebp - 8]
fild qword [eax + 0xf0]
fmulp st(1)
fild qword [ebp - 0x50]
fmul dword [0xb4d380]
fcompp
fnstsw ax
sahf
jb 0xb4c763
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 4], edx
jmp 0xb4c76f
inc dword [ebp - 0x14]
dec dword [ebp - 0x64]
jne 0xb4c60d
cmp dword [ebp - 0x20], 0
jne 0xb4ca0a
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d3e8
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x48], 0
jne 0xb4c8c8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0xae6e28]
call fcn.00ae6f6c
mov dword [ebp - 0x40], eax
mov edx, 0xb4d340
mov eax, dword [ebp - 0x40]
call fcn.00ae7134
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x3c]
mov edx, 0xb4d340
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [0xae6e28]
call fcn.00ae7d4c
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0xb4c82a
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x54]
call fcn.0040429c
mov eax, dword [ebp - 0x40]
call fcn.0040429c
push ebp
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
call fcn.00b4b5a4
pop ecx
mov eax, dword [ebp + 8]
fistp qword [eax]
wait
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d41c
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 0x20]
call fcn.0040ae2c
push dword [ebp - 0xfc]
push 0xb4d1e4
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.0040ae2c
push dword [ebp - 0x100]
push 0xb4d494
lea eax, [ebp - 0xf8]
mov edx, 5
call fcn.0040556c
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
jmp 0xb4cab8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [0xae6e28]
call fcn.00ae7d90
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0xb4c8fa
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
call fcn.0040429c
jmp 0xb4c974
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0xae6e28]
call fcn.00ae6f6c
mov dword [ebp - 0x40], eax
mov edx, 0xb4d340
mov eax, dword [ebp - 0x40]
call fcn.00ae7134
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x3c]
mov edx, 0xb4d340
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [0xae6e28]
call fcn.00ae7d4c
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0xb4c96c
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x54]
call fcn.0040429c
mov eax, dword [ebp - 0x40]
call fcn.0040429c
push ebp
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
call fcn.00b4b5a4
pop ecx
mov eax, dword [ebp + 8]
fistp qword [eax]
wait
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d4a0
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0x20]
call fcn.0040ae2c
push dword [ebp - 0x108]
push 0xb4d1e4
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.0040ae2c
push dword [ebp - 0x10c]
push 0xb4d494
lea eax, [ebp - 0x104]
mov edx, 5
call fcn.0040556c
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
jmp 0xb4cab8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [0xae6e28]
call fcn.00ae7d4c
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0xb4ca3a
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x54]
call fcn.0040429c
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x32f
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0xb4d4e0
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x20]
call fcn.0040ae2c
push dword [ebp - 0x114]
push 0xb4d1e4
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.0040ae2c
push dword [ebp - 0x118]
push 0xb4cdd0
lea eax, [ebp - 0x110]
mov edx, 5
call fcn.0040556c
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
call fcn.007213dc
mov eax, dword [ebp - 0x3c]
call fcn.0040429c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x30]
call fcn.00652ce4
mov edx, 0xb4d4f8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb4d328
mov eax, dword [ebp - 0x30]
call fcn.00652db0
mov edx, dword [ebp - 0x44]
call fcn.0068332c
mov edx, 0xb4d550
mov eax, dword [ebp - 0x30]
call fcn.00652db0
mov edx, dword [ebp - 0x20]
call fcn.00682cb8
mov eax, dword [ebp - 0x30]
call fcn.004e35a4
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
sete byte [ebp - 0x35]
mov eax, dword [ebp - 0x30]
call fcn.004e35b0
cmp byte [ebp - 0x35], 0
je 0xb4cbbe
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x80]
mov edx, 0xb4d564
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb4d550
mov eax, dword [ebp - 0x34]
call fcn.0068b2b0
mov edx, dword [ebp - 0x20]
call fcn.00682cb8
mov edx, 0xb4d328
mov eax, dword [ebp - 0x34]
call fcn.0068b2b0
mov edx, dword [ebp - 0x44]
call fcn.0068332c
push 0
push 0
mov edx, 0xb4d350
mov eax, dword [ebp - 0x34]
call fcn.0068b2b0
call fcn.00682ac0
push 0
push 0
mov edx, 0xb4d604
mov eax, dword [ebp - 0x34]
call fcn.0068b2b0
call fcn.00682ac0
push 0
push 0
mov edx, 0xb4d618
mov eax, dword [ebp - 0x34]
call fcn.0068b2b0
call fcn.00682ac0
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x30]
call fcn.0040429c
mov eax, dword [ebp - 0x34]
call fcn.0040429c
mov eax, dword [ebp - 4]
call fcn.0040429c
mov byte [ebp - 0xe], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb4cc1f
lea eax, [ebp - 0x118]
mov edx, 0x2d
call fcn.00405210
lea eax, [ebp - 0x44]
call fcn.004051ec
lea eax, [ebp - 0x2c]
call fcn.004051ec
lea eax, [ebp - 0xc]
call fcn.004051ec
ret