Function at 0x48b935
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4010c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x24], 0
mov ecx, dword [edi]
mov dword [ebp - 0xc], ecx
jne 0x48bbec
mov esi, dword [edi + 0xf4]
mov dword [ebp - 0x18], esi
mov edx, dword [esi + 0x3c]
call fcn.004a2c91
mov ecx, dword [ecx + 0x10]
mov edx, eax
mov ebx, dword [esi]
add edx, edx
mov dword [ebp - 0x14], eax
add ebx, 0x10
mov eax, dword [ecx + edx*8]
movsx ecx, word [esi + 0x22]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
mov ecx, esi
mov edx, eax
mov dword [ebp - 0x1c], eax
call fcn.00490862
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov esi, eax
call fcn.004901ec
pop ecx
push 0
mov ecx, edi
push dword [eax]
push dword [ebp - 0x10]
push 0x1a
pop edx
call fcn.0048fcdf
add esp, 0xc
test eax, eax
jne 0x48bbec
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0xe]
test al, 1
je 0x48b9e6
push 0x42f734
push edi
call fcn.0045c6d7
pop ecx
pop ecx
jmp 0x48bbec
mov edx, dword [ebp - 0x18]
cmp dword [edx + 8], 0
je 0x48b9f6
push 0x42f754
jmp 0x48b9d9
test al, 0x60
jne 0x48bab4
test esi, esi
je 0x48ba0d
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp byte [eax], 0x79
cmove esi, ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x20]
and eax, 0x4000
or eax, 0
je 0x48ba41
cmp dword [edx + 0x30], 0
je 0x48ba41
test esi, esi
je 0x48ba41
push ebx
push dword [ebp - 0x10]
push 0x42f770
push 0x42f70c
push edi
call fcn.0049012c
mov ecx, dword [ebp - 0xc]
add esp, 0x14
mov eax, dword [ebp - 0x1c]
test byte [eax + 4], 0xf
je 0x48ba59
test esi, esi
jne 0x48ba5d
push ebx
push dword [ebp - 0x10]
push 0x42f7ac
jmp 0x48bac1
test esi, esi
je 0x48bacf
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push ecx
push eax
push 0x41
push 1
mov edx, esi
call fcn.004740dd
add esp, 0x10
test eax, eax
jne 0x48bbec
mov esi, dword [ebp - 8]
test esi, esi
jne 0x48baa1
push ebx
push dword [ebp - 0x10]
push 0x42f7e4
push 0x42f70c
push edi
call fcn.0049012c
mov esi, dword [ebp - 8]
add esp, 0x14
test esi, esi
je 0x48bacf
mov ecx, esi
call fcn.004736d4
mov ecx, dword [esi + 0x14]
mov edx, esi
call fcn.004594d9
jmp 0x48bacf
test al, 0x40
je 0x48bacf
push ebx
push dword [ebp - 0x10]
push 0x42f814
push 0x42f70c
push edi
call fcn.0049012c
add esp, 0x14
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
push 0
push dword [eax + 4]
mov edx, dword [eax]
call fcn.004599e1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48bb34
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 4]
dec ecx
add ecx, esi
jmp 0x48bb0a
mov al, byte [ecx]
cmp al, 0x3b
je 0x48bb06
movzx eax, al
test byte [eax + 0x425178], 1
je 0x48bb0e
mov byte [ecx], 0
dec ecx
cmp ecx, esi
ja 0x48baf4
mov eax, dword [ebp - 0x18]
push ebx
push dword [eax + 0x2c]
push esi
push dword [eax + 0x2c]
push dword [ebp - 0x10]
push 0x42f830
push edi
call fcn.0049012c
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
mov edx, esi
call fcn.004594d9
mov ecx, edi
call fcn.004a5717
mov dword [ebp - 0xc], eax
test eax, eax
je 0x48bbec
mov ecx, edi
call fcn.0048b52b
mov ecx, dword [ebp - 0xc]
mov esi, eax
push 2
push esi
push dword [ebp - 0x14]
push 0x63
pop edx
call fcn.004746eb
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 0x14]
call fcn.00475211
mov ecx, dword [ebp - 0xc]
push 0
push 0xfffffffffffffffe
push esi
push 0x56
pop edx
call fcn.004746eb
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, dword [ecx + 0x6c]
push 0
add eax, 2
push eax
push esi
push 0x3b
pop edx
call fcn.004746eb
mov ecx, dword [ebp - 0xc]
add esp, 0xc
push 3
push 2
push dword [ebp - 0x14]
push 0x64
pop edx
call fcn.004746eb
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0048b54a
mov edx, dword [ebp - 0x14]
push 3
call fcn.0048b67a
mov eax, dword [ebp - 0x18]
pop ecx
cmp dword [eax + 0x10], 0
jne 0x48bbda
mov eax, dword [ebp - 0x1c]
test byte [eax + 4], 0xf
je 0x48bbec
test byte [eax + 0xe], 0x60
je 0x48bbec
push dword [ebp - 0x10]
push ebx
push 0x42f8c8
push edi
call fcn.0049012c
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caec8
leave
ret