Function at 0x4bad30
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bb20c
sub esp, 0x3c
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 0xec]
test edx, edx
je 0x4bb155
mov dword [esp + 0x38], ecx
lea edx, [ecx + 0xec]
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 0x18]
movzx ebp, byte [ecx + 0x127]
mov dword [esp], edx
mov dword [esp + 4], ebx
xchg ebp, eax
mov byte [esp + 8], al
xchg ebp, eax
call fcn.004ba720
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4bb13d
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
test eax, eax
je 0x4bae00
mov ecx, dword [esp + 8]
lea edx, [0x78aa80]
cmp eax, edx
jne 0x4badec
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x789d50]
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
je 0x4bade4
mov eax, dword [esp + 0x40]
jmp 0x4bae16
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
add esp, 0x3c
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x1c]
movzx ecx, byte [ecx + 0x124]
test cl, cl
jne 0x4bb122
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x38]
movzx ebx, byte [edx + 0x127]
mov ebp, dword [esp + 0x34]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov byte [esp + 8], bl
call fcn.004ba840
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4bb028
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea edx, [0x78b040]
cmp eax, edx
jne 0x4bae81
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x93ed20]
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4baedf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
cmp dword [0x913c30], eax
jne 0x4baeb0
mov edx, dword [0x913c34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4baedf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
cmp dword [0x913c40], eax
jne 0x4bb1a3
mov edx, dword [0x913c44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
je 0x4bb1a3
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.004a2890
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4baf4b
lea edx, [0x78aa80]
cmp eax, edx
je 0x4baf13
mov ebx, 1
jmp 0x4baf53
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x789d58]
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x30]
lea edx, [0x78aa80]
mov ebx, eax
mov eax, dword [esp + 0x24]
jmp 0x4baf53
lea edx, [0x78aa80]
xor ebx, ebx
test bl, bl
jne 0x4bb190
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xec]
test ecx, ecx
je 0x4baf80
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0046a240
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
lea ecx, [eax + 0x5c]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
lea ecx, [eax + 0x58]
mov dword [esp + 0x10], ecx
call fcn.004b9680
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4bb009
mov ecx, dword [esp + 0x18]
lea edx, [0x78aa80]
cmp eax, edx
jne 0x4baff5
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x789d5c]
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
je 0x4bafed
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
jmp 0x4baff5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
add esp, 0x3c
ret
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x3c
ret
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
lea ecx, [eax + 0x5c]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
lea ecx, [eax + 0x58]
mov dword [esp + 0x10], ecx
call fcn.004b9680
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4bb103
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
lea edx, [0x78aa80]
cmp eax, edx
je 0x4bb078
xor ebx, ebx
jmp 0x4bb0a3
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x789ce4]
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x28]
lea edx, [0x78aa80]
mov ebx, eax
mov eax, dword [esp + 0x1c]
test bl, bl
jne 0x4bb0d8
cmp eax, edx
je 0x4bb0af
xor edx, edx
jmp 0x4bb0d4
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x789d54]
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x1c]
test dl, dl
je 0x4bb0ef
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 0x5c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
add esp, 0x3c
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
add esp, 0x3c
ret
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x3c
ret
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x3c
ret
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
add esp, 0x3c
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x72fcdf]
mov dword [eax], ecx
mov dword [esp + 0x48], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
ret
test eax, eax
je 0x4bb197
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046a9e0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x7290e4]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00450670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.004bad30