Function at 0xb4a720
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0xb4a729
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
call fcn.0040569c
xor eax, eax
push ebp
push 0xb4b155
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x12], 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x661654]
call fcn.00662c60
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 8]
call fcn.00692cf0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x64fe28]
call fcn.006505ec
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.00672a4c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x38]
cmp byte [ebp - 0x11], 0
jne 0xb4a7af
lea eax, [ebp - 0x28]
mov edx, 0xb4b170
call fcn.00405284
cmp byte [ebp - 0x11], 1
jne 0xb4a7c2
lea eax, [ebp - 0x28]
mov edx, 0xb4b1ac
call fcn.00405284
push 0
lea edx, [ebp - 0x58]
mov eax, dword [ebp + 0xc]
call fcn.0040ae2c
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 0xb4b220
call fcn.004054f8
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x118]
mov ecx, 0xb4b230
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov byte [ebp - 0x29], al
push 0
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 0xc]
call fcn.0040ae2c
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0xb4b220
call fcn.004054f8
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x118]
mov ecx, 0xb4b24c
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x34], eax
cmp byte [ebp - 0x29], 0
je 0xb4a956
cmp dword [ebp - 0x34], 0
jle 0xb4a956
lea eax, [ebp - 0x28]
mov edx, 0xb4b268
call fcn.004054b4
mov eax, dword [ebp - 0x34]
test eax, eax
jle 0xb4a8ed
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 1
push dword [ebp - 0x28]
push 0xb4b278
push 0
push 0xb4b290
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x30]
call fcn.0040ae2c
push dword [ebp - 0x6c]
push 0xb4b2a4
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.0040556c
mov eax, dword [ebp - 0x68]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call fcn.0040ae2c
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0xb4b220
call fcn.004054f8
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x118]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x64]
call fcn.0040ae2c
push dword [ebp - 0x64]
push 0xb4b2b8
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040556c
inc dword [ebp - 0x30]
dec dword [ebp - 0x50]
jne 0xb4a864
mov eax, dword [ebp - 0x28]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.0040574c
mov eax, dword [ebp - 0x28]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.0040574c
mov eax, dword [ebp - 0x28]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.0040574c
mov eax, dword [ebp - 0x28]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.0040574c
lea eax, [ebp - 0x28]
mov edx, 0xb4b2c8
call fcn.004054b4
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xac], 0
je 0xb4aa97
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xb0]
mov ecx, 0xb4b2d4
mov eax, dword [0x6f00bc]
call fcn.006f0118
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0xb4aa8f
lea eax, [ebp - 0x28]
mov edx, 0xb4b268
call fcn.004054b4
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0xb4aa26
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0
xor eax, eax
push ebp
push 0xb4a9e7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x78]
call fcn.0040af68
mov dword [ebp - 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb4a9f6
push dword [ebp - 0x28]
push 0xb4b2e0
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x34]
call fcn.0040ae2c
push dword [ebp - 0x7c]
push 0xb4b2b8
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040556c
inc dword [ebp - 0x30]
dec dword [ebp - 0x50]
jne 0xb4a9b6
mov eax, dword [ebp - 0x28]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.0040574c
mov eax, dword [ebp - 0x28]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.0040574c
mov eax, dword [ebp - 0x28]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.0040574c
mov eax, dword [ebp - 0x28]
call fcn.004054ac
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.0040574c
lea eax, [ebp - 0x28]
mov edx, 0xb4b2c8
call fcn.004054b4
mov eax, dword [ebp - 0x44]
call fcn.0040429c
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x1b0], 0
je 0xb4aac9
push dword [ebp - 0x28]
push 0xb4b2f8
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x48]
call fcn.0040ae2c
push dword [ebp - 0x80]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040556c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c4]
sub eax, 1
jb 0xb4aade
je 0xb4aaed
dec eax
je 0xb4aafc
jmp 0xb4ab09
lea eax, [ebp - 0x28]
mov edx, 0xb4b314
call fcn.004054b4
jmp 0xb4ab09
lea eax, [ebp - 0x28]
mov edx, 0xb4b338
call fcn.004054b4
jmp 0xb4ab09
lea eax, [ebp - 0x28]
mov edx, 0xb4b358
call fcn.004054b4
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x1c8], 0
je 0xb4ab22
lea eax, [ebp - 0x28]
mov edx, 0xb4b374
call fcn.004054b4
mov eax, dword [ebp - 0x24]
call fcn.00652ce4
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp byte [ebp - 0x11], 0
jne 0xb4ab6d
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0040b020
test al, al
jne 0xb4ab55
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, 0xb4b384
mov eax, dword [ebp - 0x24]
call fcn.00652db0
call fcn.00682a78
cmp byte [ebp - 0x11], 1
jne 0xb4aba6
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x50
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040570c
mov eax, dword [ebp - 0x84]
push eax
mov edx, 0xb4b398
mov eax, dword [ebp - 0x24]
call fcn.00652db0
pop edx
call fcn.0068332c
mov eax, dword [ebp - 0x24]
call fcn.004e35a4
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0xb4b0f3
mov eax, dword [ebp - 0x24]
call fcn.004e35b0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x24]
call fcn.0040429c
mov eax, dword [ebp - 8]
call fcn.0040429c
jmp 0xb4b127
mov edx, 0xb4b3ac
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x5c], eax
mov edx, 0xb4b384
mov eax, dword [ebp - 0x24]
call fcn.004e481c
lea edx, [ebp - 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x88]
call fcn.0040afdc
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], edx
mov edx, 0xb4b3c4
mov eax, dword [ebp - 0x24]
call fcn.004e481c
lea edx, [ebp - 0x8c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xc]
add eax, 0x4c
call fcn.00405240
mov edx, 0xb4b3d8
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 0xc]
fistp qword [eax + 0x50]
wait
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x1c9], 0
je 0xb4ac90
mov edx, 0xb4b3ec
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x48], eax
mov edx, 0xb4b404
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x58], eax
mov edx, 0xb4b418
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xa8], eax
mov eax, dword [ebp - 0xc]
add eax, 0x68
mov edx, dword [ebp - 0x10]
call fcn.00405240
mov edx, 0xb4b42c
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xb8], eax
mov edx, 0xb4b448
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0xb4], al
mov edx, 0xb4b460
mov eax, dword [ebp - 0x24]
call fcn.004e481c
lea edx, [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xc]
add eax, 0xa0
call fcn.00405240
mov edx, 0xb4b478
mov eax, dword [ebp - 0x24]
call fcn.004e481c
lea edx, [ebp - 0x94]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xc]
add eax, 0xa4
call fcn.00405240
mov edx, 0xb4b48c
mov eax, dword [ebp - 0x24]
call fcn.004e481c
lea edx, [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xc]
add eax, 0xbc
call fcn.00405240
mov edx, 0xb4b4a4
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 0xc]
fistp qword [eax + 0xc0]
wait
mov edx, 0xb4b4b8
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 0xc]
fistp qword [eax + 0xc8]
wait
mov edx, 0xb4b4d0
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 0xc]
fistp qword [eax + 0x88]
wait
mov edx, 0xb4b4e4
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xdc], eax
mov edx, 0xb4b500
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xe4], eax
mov edx, 0xb4b51c
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 0xc]
fistp qword [eax + 0x100]
wait
mov edx, 0xb4b538
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x108], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov eax, dword [0x71bd84]
call fcn.0071cfec
mov dword [ebp - 0x48], eax
mov cl, 1
mov dl, 1
mov eax, dword [0x714bb4]
call fcn.007151a8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xe0], 0
je 0xb4ae95
xor edx, edx
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x4c]
call fcn.007152ec
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xe1], 0
je 0xb4aeba
mov edx, 1
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x4c]
call fcn.007152ec
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xe2], 0
je 0xb4aedf
mov edx, 2
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x4c]
call fcn.007152ec
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xe3], 0
je 0xb4af04
mov edx, 3
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x4c]
call fcn.007152ec
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xe4], 0
je 0xb4af29
mov edx, 4
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x4c]
call fcn.007152ec
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xe5], 0
je 0xb4af4e
mov edx, 5
mov eax, dword [0x714b54]
call fcn.007150c8
mov edx, eax
mov eax, dword [ebp - 0x4c]
call fcn.007152ec
mov eax, dword [ebp - 0x48]
call fcn.0040429c
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 8], 1
jne 0xb4af77
xor edx, edx
mov eax, dword [ebp - 0x4c]
call fcn.007152c8
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xe0], eax
jmp 0xb4af84
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xe0], 0xffffffff
mov edx, 0xb4b558
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0xb5], al
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xb5], 0
je 0xb4afb8
mov eax, dword [ebp - 0x24]
call fcn.004e5fbc
jmp 0xb4b0f3
mov edx, 0xb4b56c
mov eax, dword [ebp - 0x24]
call fcn.004e48a4
test eax, eax
je 0xb4afe7
mov edx, 0xb4b56c
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 0xc]
fistp qword [eax + 0xf0]
wait
jmp 0xb4affc
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xf0], 0x2710
xor edx, edx
mov dword [eax + 0xf4], edx
mov edx, 0xb4b57c
mov eax, dword [ebp - 0x24]
call fcn.004e48a4
test eax, eax
je 0xb4b03a
mov edx, 0xb4b57c
mov eax, dword [ebp - 0x24]
call fcn.004e481c
lea edx, [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xc]
add eax, 0xf8
call fcn.00405240
jmp 0xb4b047
mov eax, dword [ebp - 0xc]
add eax, 0xf8
call fcn.004051ec
push ebp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
call fcn.00b4a5ec
pop ecx
fistp qword [ebp - 0x40]
wait
mov edx, 0xb4b590
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
fild qword [ebp - 0x40]
fsubp st(1)
mov eax, dword [ebp + 8]
fistp qword [eax]
wait
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa8], 1
jne 0xb4b0a7
mov eax, dword [ebp + 8]
fild qword [eax]
fcomp dword [0xb4b59c]
fnstsw ax
sahf
jbe 0xb4b0a7
mov eax, dword [ebp + 8]
fild qword [eax]
mov eax, dword [ebp - 0xc]
fild qword [eax + 0x1a0]
faddp st(1)
mov eax, dword [ebp + 8]
fistp qword [eax]
wait
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x199], 0
jne 0xb4b103
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xb4], 0
jne 0xb4b103
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x2c], 0
jne 0xb4b103
mov eax, dword [ebp - 0xc]
fild qword [eax + 0x38]
mov eax, dword [ebp - 0xc]
fild qword [eax + 0xf0]
fmulp st(1)
mov eax, dword [ebp + 8]
fild qword [eax]
fmul dword [0xb4b5a0]
fcompp
fnstsw ax
sahf
jae 0xb4b103
mov eax, dword [ebp - 0x24]
call fcn.004e5fbc
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0xa1], 0
je 0xb4abe6
mov eax, dword [ebp - 0x24]
call fcn.004e35b0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x24]
call fcn.0040429c
mov eax, dword [ebp - 8]
call fcn.0040429c
mov byte [ebp - 0x12], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb4b15c
lea eax, [ebp - 0x9c]
mov edx, 0x13
call fcn.00405210
lea eax, [ebp - 0x28]
call fcn.004051ec
lea eax, [ebp - 0x10]
call fcn.004051ec
ret