Function at 0x639960
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x639968
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x639c30
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x4ac]
call fcn.00448cdc
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov esi, dword [ebx + 0x458]
mov ecx, dword [esi + 0x22c]
mov edx, 8
mov eax, esi
call fcn.004c1a18
mov edx, dword [ebp - 0xc]
pop eax
call fcn.00404f34
jne 0x6399f8
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x494]
call fcn.00448cdc
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov edi, dword [ebx + 0x458]
mov ecx, dword [edi + 0x22c]
mov edx, 3
mov eax, edi
call fcn.004c1a18
mov edx, dword [ebp - 0x14]
pop eax
call fcn.00404f34
je 0x639bbb
lea eax, [ebp - 0x18]
push eax
mov esi, dword [ebx + 0x458]
mov ecx, dword [esi + 0x22c]
mov edx, 8
mov eax, esi
call fcn.004c1a18
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x4ac]
call fcn.00448d0c
lea eax, [ebp - 0x1c]
push eax
mov esi, dword [ebx + 0x458]
mov ecx, dword [esi + 0x22c]
mov edx, 3
mov eax, esi
call fcn.004c1a18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x494]
call fcn.00448d0c
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x4ac]
call fcn.00448cdc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004094e8
cmp dword [ebp - 0x20], 0
je 0x639bbb
mov eax, ebx
call fcn.0063260c
lea eax, [ebp - 4]
mov edx, 0x639c48
call fcn.00404bd0
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x494]
call fcn.00448cdc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004094e8
cmp dword [ebp - 0x28], 0
je 0x639acd
push dword [ebp - 4]
push 0x639c9c
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x494]
call fcn.00448cdc
push dword [ebp - 0x30]
push 0x639cb4
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404eb0
push dword [ebp - 4]
push 0x639cc0
push 0x639ce0
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404eb0
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 - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x4ac]
call fcn.00448cdc
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00405bc0
lea eax, [ebp - 0x40]
push eax
mov eax, esi
call fcn.004d6c60
mov edx, 0x639cf8
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, esi
call fcn.00483d80
mov edx, 0x639d10
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x48]
mov eax, ebx
call fcn.00632834
mov edx, 0x639d20
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, eax
mov eax, dword [ebx + 0x444]
call fcn.0050c728
mov esi, 1
lea edx, [ebp - 0x50]
mov eax, esi
call fcn.00409838
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x639d2c
call fcn.00404e3c
mov edx, dword [ebp - 0x4c]
mov eax, ebx
call fcn.00422090
xor edx, edx
call fcn.00448d0c
inc esi
cmp esi, 0xd
jne 0x639b83
mov eax, ebx
call fcn.00633324
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x639c37
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404b5c
lea eax, [ebp - 0x44]
call fcn.00404b38
lea eax, [ebp - 0x40]
call fcn.00405c34
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x28]
call fcn.00404b38
lea eax, [ebp - 0x24]
call fcn.00404b38
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404b5c
lea eax, [ebp - 0x10]
call fcn.00404b38
lea eax, [ebp - 0xc]
call fcn.00404b38
lea eax, [ebp - 8]
call fcn.00404b38
lea eax, [ebp - 4]
call fcn.00404b38
ret