Function at 0x48f1d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x1c], 0
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
cmp byte [esi + 0x47], 0
jne 0x48f260
mov edx, dword [ebx]
test edx, edx
je 0x48f22e
cmp dword [esi + 0x1d8], 0
je 0x48f205
mov ecx, esi
call fcn.00426210
jmp 0x48f22e
cmp edx, dword [esi + 0x128]
jb 0x48f225
cmp edx, dword [esi + 0x12c]
jae 0x48f225
mov eax, dword [esi + 0x124]
mov dword [edx], eax
mov dword [esi + 0x124], edx
jmp 0x48f22e
push edx
call fcn.004261a0
add esp, 4
push 0
push 0x28
mov ecx, esi
call fcn.00426530
mov esi, eax
add esp, 8
test esi, esi
je 0x48f252
push 0x28
push 0x514bc0
push esi
call fcn.004b02d0
add esp, 0xc
mov dword [ebx], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xa4], 1
jle 0x48f2c9
mov ecx, dword [ebx]
test ecx, ecx
je 0x48f2ac
cmp dword [esi + 0x1d8], 0
je 0x48f283
mov edx, ecx
mov ecx, esi
call fcn.00426210
jmp 0x48f2ac
cmp ecx, dword [esi + 0x128]
jb 0x48f2a3
cmp ecx, dword [esi + 0x12c]
jae 0x48f2a3
mov eax, dword [esi + 0x124]
mov dword [ecx], eax
mov dword [esi + 0x124], ecx
jmp 0x48f2ac
push ecx
call fcn.004261a0
add esp, 4
push 0
push 0x2b
mov ecx, esi
call fcn.00426530
mov esi, eax
add esp, 8
test esi, esi
je 0x48f252
push 0x2b
push 0x514be8
jmp 0x48f249
mov eax, dword [esi + 0x1c]
movzx ecx, word [esi + 0x18]
mov edx, dword [ebp + 8]
or dword [esi + 0x18], 6
mov dword [ebp - 0x24], eax
and eax, 0xffffaf7f
or eax, 0x201
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x60]
shl edx, 4
mov dword [ebp - 0x2c], ecx
mov cl, byte [esi + 0x50]
mov byte [esi + 0x50], 0
mov edi, dword [eax + edx + 4]
mov byte [ebp - 2], cl
mov ecx, dword [eax + edx]
mov dword [ebp + 8], edx
mov edx, ebx
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], ecx
mov ecx, esi
push 0x514c14
mov eax, dword [eax]
mov al, byte [eax + 0xc]
mov byte [ebp - 1], al
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
call fcn.0048efa0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x48f5dc
mov eax, dword [ebp - 0x18]
shl eax, 4
add eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0xc], ebx
call fcn.0043bd20
mov cl, byte [edi + 9]
test cl, cl
je 0x48f372
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x48f372
mov ecx, edi
call fcn.00437fb0
mov cl, byte [edi + 9]
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x20]
sub edx, dword [eax + 0x24]
mov dword [ebp - 0x14], edx
test cl, cl
je 0x48f38f
add dword [edi + 0xc], 0xffffffff
jne 0x48f38f
mov ecx, edi
call fcn.00437f70
mov eax, dword [esi + 0x10]
mov ecx, ebx
mov edx, dword [ebp + 8]
mov edx, dword [eax + edx + 0xc]
mov edx, dword [edx + 0x50]
call fcn.0043a3c0
xor edx, edx
mov ecx, edi
call fcn.0043a440
mov edx, eax
mov ecx, ebx
call fcn.0043a440
mov edx, 0x21
mov ecx, ebx
call fcn.0043a540
mov edx, dword [ebp - 8]
mov ecx, esi
push 0x513590
call fcn.0048efa0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x48f5dc
push eax
lea edx, [eax + 2]
mov ecx, edi
call fcn.0043acf0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x48f5dc
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp byte [eax + 5], 5
jne 0x48f406
mov dword [esi + 0x54], ebx
mov edx, dword [edi + 4]
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
mov edx, dword [edx + 0x20]
push 0
push dword [ebp - 0x14]
call fcn.0043a610
add esp, 8
test eax, eax
jne 0x48f5d7
cmp byte [ebp - 1], al
jne 0x48f441
mov edx, dword [esi + 0x54]
mov ecx, ebx
push eax
push dword [ebp - 0x14]
call fcn.0043a610
add esp, 8
test eax, eax
jne 0x48f5d7
cmp byte [esi + 0x49], 0
jne 0x48f5d7
mov al, byte [esi + 0x4c]
test al, al
js 0x48f457
movsx eax, al
jmp 0x48f45e
mov ecx, edi
call fcn.0043a820
mov edx, eax
mov ecx, ebx
call fcn.0043a7a0
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
push 0x514c30
push dword [ebp - 8]
mov byte [esi + 0x9c], al
push esi
call fcn.0048f080
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x48f5dc
push dword [ebp - 0x10]
push 0x514c9c
push dword [ebp - 8]
push esi
call fcn.0048f080
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x48f5dc
push dword [ebp - 0x10]
mov byte [esi + 0x9c], al
push 0x514cd8
push dword [ebp - 8]
push esi
call fcn.0048f080
and dword [esi + 0x18], 0xfffffffb
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x48f5dc
push dword [ebp - 0x10]
push 0x514d70
push dword [ebp - 8]
push esi
call fcn.0048f080
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x48f5dc
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov cl, byte [edi + 9]
movzx ebx, byte [eax + 0x50a4d4]
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
test cl, cl
je 0x48f52a
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x48f52a
mov ecx, edi
call fcn.00437fb0
mov cl, byte [edi + 9]
mov eax, dword [ebp - 0x18]
cmp ebx, 0xf
jne 0x48f539
mov eax, dword [eax]
mov ebx, dword [eax + 0x64]
add ebx, dword [edi + 0x14]
jmp 0x48f545
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax + ebx*4 + 0x24]
bswap ebx
test cl, cl
je 0x48f556
add dword [edi + 0xc], 0xffffffff
jne 0x48f556
mov ecx, edi
call fcn.00437f70
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x50a4d5]
movzx edx, byte [ecx + 0x50a4d4]
add eax, ebx
mov ecx, dword [ebp - 0xc]
push eax
call fcn.00441d40
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x48f5dc
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
cmp eax, 0xa
jl 0x48f500
mov edx, dword [ebp - 0xc]
mov ecx, edi
call fcn.00443c40
mov ebx, eax
test ebx, ebx
jne 0x48f5dc
mov ecx, dword [ebp - 0xc]
call fcn.0043bd20
mov ebx, eax
test ebx, ebx
jne 0x48f5dc
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
call fcn.0043a820
mov edx, eax
mov ecx, edi
call fcn.0043a7a0
mov eax, dword [ebx + 4]
mov ecx, edi
push 1
push dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
call fcn.0043a610
add esp, 8
mov ebx, eax
jmp 0x48f5dc
mov ebx, 7
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
movzx eax, ax
mov ecx, edi
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x60], eax
mov al, byte [ebp - 2]
push 1
push 0xffffffffffffffff
mov byte [esi + 0x9c], 0
mov byte [esi + 0x50], al
call fcn.0043a610
mov edi, dword [ebp - 0x1c]
add esp, 8
mov byte [esi + 0x47], 1
test edi, edi
je 0x48f636
mov ecx, dword [edi + 4]
call fcn.0043a240
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov ecx, esi
call fcn.00467f80
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret