Function at 0x5f00e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x5f00e8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5f0bdb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebx + 0x3a4]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor edx, edx
mov eax, dword [ebx + 0x3a0]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x3a8]
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [ebp - 8]
mov edx, 0x5f0bf4
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov esi, dword [eax + 0x64]
mov eax, esi
call fcn.00483d8c
mov eax, esi
call fcn.004d882c
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x344]
call fcn.00488108
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00405bc0
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.004d6c60
mov edx, 0x5f0c30
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, esi
call fcn.00483d80
mov edx, 0x5f0c48
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5ed700]
call fcn.00461750
mov edx, dword [0x669d54]
mov dword [edx], eax
mov eax, dword [0x669a3c]
mov eax, dword [eax]
mov edx, dword [eax + 0x464]
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x3f0]
call fcn.00532d04
mov eax, dword [ebx + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
jne 0x5f0218
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x704]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x43c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
jne 0x5f0252
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x454]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x458]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x338]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov esi, dword [eax + 0x484]
mov eax, esi
call fcn.00483d8c
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.00405bc0
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.004d6c60
mov edx, 0x5f0c54
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, esi
call fcn.00483d80
mov eax, dword [ebp - 0xc]
mov edx, 0x5f0c6c
call fcn.00404f34
je 0x5f02cf
mov eax, dword [ebp - 0xc]
mov edx, 0x5f0c78
call fcn.00404f34
jne 0x5f02f0
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x4a8]
call fcn.004d882c
mov ecx, 0x5f0c84
mov edx, 9
mov esi, dword [eax]
call dword [esi + 0x20]
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov esi, dword [eax + 0x4a8]
mov eax, dword [ebx + 0x32c]
mov edx, dword [eax]
call dword [edx + 0xc4]
cmp al, 1
jne 0x5f0325
mov eax, esi
call fcn.004d882c
mov ecx, 0x5f0cb8
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0x20]
mov eax, dword [ebx + 0x330]
mov edx, dword [eax]
call dword [edx + 0xc4]
cmp al, 1
jne 0x5f034d
mov eax, esi
call fcn.004d882c
mov ecx, 0x5f0cd4
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0x20]
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x368]
call fcn.00448cdc
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004094e8
cmp dword [ebp - 0x38], 0
je 0x5f050a
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x370]
call fcn.00448cdc
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004094e8
cmp dword [ebp - 0x40], 0
je 0x5f0468
push 0x5f0cf0
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0x4c]
lea edx, [ebp - 0x58]
mov eax, dword [ebx + 0x368]
call fcn.00448cdc
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004094e8
mov eax, dword [ebp - 0x54]
call fcn.00662eac
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x50]
mov eax, 0x5f0d08
call fcn.0040b048
push dword [ebp - 0x50]
push 0x5f0d18
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0x60]
lea edx, [ebp - 0x6c]
mov eax, dword [ebx + 0x370]
call fcn.00448cdc
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.004094e8
mov eax, dword [ebp - 0x68]
call fcn.00662eac
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x64]
mov eax, 0x5f0d08
call fcn.0040b048
push dword [ebp - 0x64]
push 0x5f0d34
lea eax, [ebp - 0x48]
mov edx, 7
call fcn.00404eb0
mov eax, dword [ebp - 0x48]
push eax
mov eax, esi
call fcn.004d882c
mov edx, 6
pop ecx
mov edi, dword [eax]
call dword [edi + 0x20]
jmp 0x5f0624
push 0x5f0cf0
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0x74]
lea edx, [ebp - 0x80]
mov eax, dword [ebx + 0x368]
call fcn.00448cdc
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.004094e8
mov eax, dword [ebp - 0x7c]
call fcn.00662eac
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x78]
mov eax, 0x5f0d08
call fcn.0040b048
push dword [ebp - 0x78]
push 0x5f0d18
lea edx, [ebp - 0x84]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0x84]
push 0x5f0d40
push 0x5f0d34
lea eax, [ebp - 0x70]
mov edx, 7
call fcn.00404eb0
mov eax, dword [ebp - 0x70]
push eax
mov eax, esi
call fcn.004d882c
mov edx, 6
pop ecx
mov edi, dword [eax]
call dword [edi + 0x20]
jmp 0x5f0624
lea edx, [ebp - 0x8c]
mov eax, dword [ebx + 0x370]
call fcn.00448cdc
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.004094e8
cmp dword [ebp - 0x88], 0
je 0x5f05d5
push 0x5f0d50
lea edx, [ebp - 0x94]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0x94]
lea edx, [ebp - 0xa0]
mov eax, dword [ebx + 0x370]
call fcn.00448cdc
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.004094e8
mov eax, dword [ebp - 0x9c]
call fcn.00662eac
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x98]
mov eax, 0x5f0d08
call fcn.0040b048
push dword [ebp - 0x98]
push 0x5f0d34
lea eax, [ebp - 0x90]
mov edx, 4
call fcn.00404eb0
mov eax, dword [ebp - 0x90]
push eax
mov eax, esi
call fcn.004d882c
mov edx, 6
pop ecx
mov edi, dword [eax]
call dword [edi + 0x20]
jmp 0x5f0624
push 0x5f0d50
lea edx, [ebp - 0xa8]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0xa8]
push 0x5f0d40
push 0x5f0d34
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.00404eb0
mov eax, dword [ebp - 0xa4]
push eax
mov eax, esi
call fcn.004d882c
mov edx, 6
pop ecx
mov edi, dword [eax]
call dword [edi + 0x20]
mov eax, esi
call fcn.00483d8c
lea edx, [ebp - 0xbc]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
call fcn.00405bc0
lea eax, [ebp - 0xb8]
push eax
mov eax, esi
call fcn.004d6c60
mov edx, 0x5f0c54
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, esi
call fcn.00483d80
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov esi, dword [eax + 0x730]
mov eax, dword [ebx + 0x32c]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x5f06a7
mov eax, esi
call fcn.004d882c
mov ecx, 0x5f0d68
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0x20]
mov eax, dword [ebx + 0x330]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x5f06cf
mov eax, esi
call fcn.004d882c
mov ecx, 0x5f0d80
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0x20]
lea edx, [ebp - 0xc4]
mov eax, dword [ebx + 0x368]
call fcn.00448cdc
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call fcn.004094e8
cmp dword [ebp - 0xc0], 0
je 0x5f0809
push 0x5f0d9c
lea edx, [ebp - 0xcc]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0xcc]
lea edx, [ebp - 0xd8]
mov eax, dword [ebx + 0x368]
call fcn.00448cdc
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
call fcn.004094e8
mov eax, dword [ebp - 0xd4]
call fcn.00662eac
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xd0]
mov eax, 0x5f0d08
call fcn.0040b048
push dword [ebp - 0xd0]
push 0x5f0db4
lea edx, [ebp - 0xdc]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0xdc]
lea edx, [ebp - 0xe8]
mov eax, dword [ebx + 0x370]
call fcn.00448cdc
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.004094e8
mov eax, dword [ebp - 0xe4]
call fcn.00662eac
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xe0]
mov eax, 0x5f0d08
call fcn.0040b048
push dword [ebp - 0xe0]
push 0x5f0d34
lea eax, [ebp - 0xc8]
mov edx, 7
call fcn.00404eb0
mov eax, dword [ebp - 0xc8]
push eax
mov eax, esi
call fcn.004d882c
mov edx, 4
pop ecx
mov edi, dword [eax]
call dword [edi + 0x20]
jmp 0x5f08c4
push 0x5f0d9c
lea edx, [ebp - 0xf0]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0xf0]
lea edx, [ebp - 0xfc]
mov eax, dword [ebx + 0x368]
call fcn.00448cdc
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0xf8]
call fcn.004094e8
mov eax, dword [ebp - 0xf8]
call fcn.00662eac
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xf4]
mov eax, 0x5f0d08
call fcn.0040b048
push dword [ebp - 0xf4]
push 0x5f0db4
lea edx, [ebp - 0x100]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
push dword [ebp - 0x100]
push 0x5f0d40
push 0x5f0d34
lea eax, [ebp - 0xec]
mov edx, 7
call fcn.00404eb0
mov eax, dword [ebp - 0xec]
push eax
mov eax, esi
call fcn.004d882c
mov edx, 4
pop ecx
mov edi, dword [eax]
call dword [edi + 0x20]
mov eax, esi
call fcn.00483d8c
lea edx, [ebp - 0x114]
mov eax, dword [ebx + 0x34c]
call fcn.00448cdc
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
call fcn.00405bc0
lea eax, [ebp - 0x110]
push eax
mov eax, esi
call fcn.004d6c60
mov edx, 0x5f0c54
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, esi
call fcn.00483d80
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x4a8]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x5f0960
mov eax, 0x5f0dcc
call fcn.00661d7c
mov dl, 1
mov eax, dword [ebx + 0x3a0]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x3a4]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x669d54]
mov eax, dword [eax]
call fcn.00465a20
jmp 0x5f09eb
mov eax, dword [ebp - 4]
dec eax
je 0x5f096e
dec eax
je 0x5f0982
dec eax
je 0x5f0996
jmp 0x5f09c5
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.005274e8
jmp 0x5f09c5
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00527238
jmp 0x5f09c5
mov edx, dword [0x669a3c]
mov edx, dword [edx]
mov edx, dword [edx + 0x48c]
mov eax, dword [0x669d54]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax + 0x2d4]
mov dword [ecx + 0xc], edx
mov edx, dword [0x669d54]
call fcn.00527238
mov eax, dword [0x669d54]
mov eax, dword [eax]
call fcn.00465a20
mov dl, 1
mov eax, dword [ebx + 0x3a4]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x3a0]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f0be5
lea eax, [ebp - 0x114]
call fcn.00404b38
lea eax, [ebp - 0x110]
call fcn.00405c34
lea eax, [ebp - 0x100]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0xf0]
call fcn.00404b38
lea eax, [ebp - 0xec]
call fcn.00404b38
lea eax, [ebp - 0xe8]
call fcn.00404b38
lea eax, [ebp - 0xe4]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0xdc]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0xd4]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0xcc]
call fcn.00404b38
lea eax, [ebp - 0xc8]
call fcn.00404b38
lea eax, [ebp - 0xc4]
call fcn.00404b38
lea eax, [ebp - 0xc0]
call fcn.00404b38
lea eax, [ebp - 0xbc]
call fcn.00404b38
lea eax, [ebp - 0xb8]
call fcn.00405c34
lea eax, [ebp - 0xa8]
call fcn.00404b38
lea eax, [ebp - 0xa4]
call fcn.00404b38
lea eax, [ebp - 0xa0]
call fcn.00404b38
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x94]
call fcn.00404b38
lea eax, [ebp - 0x90]
call fcn.00404b38
lea eax, [ebp - 0x8c]
call fcn.00404b38
lea eax, [ebp - 0x88]
call fcn.00404b38
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x74]
call fcn.00404b38
lea eax, [ebp - 0x70]
call fcn.00404b38
lea eax, [ebp - 0x6c]
call fcn.00404b38
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x60]
call fcn.00404b38
lea eax, [ebp - 0x58]
call fcn.00404b38
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x4c]
call fcn.00404b38
lea eax, [ebp - 0x48]
call fcn.00404b38
lea eax, [ebp - 0x44]
call fcn.00404b38
lea eax, [ebp - 0x40]
call fcn.00404b38
lea eax, [ebp - 0x3c]
call fcn.00404b38
lea eax, [ebp - 0x38]
call fcn.00404b38
lea eax, [ebp - 0x34]
call fcn.00404b38
lea eax, [ebp - 0x30]
call fcn.00405c34
lea eax, [ebp - 0x20]
call fcn.00404b38
lea eax, [ebp - 0x1c]
call fcn.00405c34
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404b5c
ret