Function at 0x4d2b00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4d2b08
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x4d2e83
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4d2e44
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 4]
call fcn.00478724
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00478a48
cmp dword [ebp - 8], 0
je 0x4d2b82
xor eax, eax
push ebp
push 0x4d2b78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x50a794]
mov edx, dword [ebp - 8]
call fcn.00407ecc
mov eax, dword [ebp - 8]
call fcn.004be77c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d2b82
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x4d2ea0
mov edx, 0x4d2ec8
mov eax, 0x80000002
call fcn.0046195c
test al, al
je 0x4d2e3a
lea eax, [ebp - 0x10]
mov ecx, 0x4d2f04
mov edx, dword [ebp - 0xc]
call fcn.00408bdc
mov eax, dword [ebp - 0x10]
call fcn.0046feec
test al, al
je 0x4d2e3a
xor ecx, ecx
push ebp
push 0x4d2e30
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4c7a74]
call fcn.004cb1bc
mov dword [ebp - 0x30], eax
xor ecx, ecx
push ebp
push 0x4d2e1f
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov edx, 0x4d2f34
mov eax, dword [ebp - 0x30]
call fcn.004cb890
mov ebx, eax
cmp dword [ebx + 8], 0
jbe 0x4d2e09
lea ecx, [ebp - 0x20]
mov edx, 0x4d2fb4
mov eax, ebx
call fcn.004cc7b4
mov edx, 0x4d2fd0
mov eax, dword [ebp - 0x30]
call fcn.004cb6f4
cmp dword [ebp - 0x2c], 0
je 0x4d2dbf
lea eax, [ebp - 0x14]
mov edx, 0x4d3098
call fcn.00407f14
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4d2dbf
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.00408ef8
test eax, eax
jle 0x4d2db7
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
call dword [esi + 0xc]
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x4d2ca4
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x44]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x44]
mov eax, 0x4d30f0
call fcn.00408ef8
mov edx, eax
add edx, 2
mov ecx, esi
mov eax, dword [ebp - 0x28]
call fcn.00408d4c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x18]
call fcn.0041d498
mov edx, dword [ebp - 0x18]
mov eax, 0x4d3104
call fcn.00408ef8
dec eax
jne 0x4d2dbf
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, 1
call fcn.00408d94
mov edx, dword [ebp - 0x18]
mov eax, 0x4d3114
call fcn.00408ef8
test eax, eax
jle 0x4d2dbf
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x4d2d23
sub edx, 4
mov edx, dword [edx]
lea ecx, [ebp - 0x18]
xchg ecx, eax
xchg ecx, edx
call fcn.00408d94
movzx eax, byte [0x4d311c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4d312c
mov edx, 0x4d3140
mov eax, 0x4d3150
call fcn.00425110
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00408ef8
test eax, eax
jne 0x4d2dbf
cmp dword [ebp - 0x18], 0
je 0x4d2d70
lea eax, [ebp - 0x18]
mov edx, 0x4d3190
call fcn.00408b84
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x4d31a0
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00408c64
push dword [ebp - 0x14]
push 0x4d3104
push dword [ebp - 0x18]
push 0x4d3114
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.00408c64
mov ecx, dword [ebp - 0x48]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
call dword [esi + 0x20]
jmp 0x4d2dbf
inc ebx
dec esi
jne 0x4d2c58
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.00424d38
push dword [ebp - 0x4c]
push 0x4d31b0
push 0x4d3150
push 0x4d31d4
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00408c64
mov eax, dword [ebp - 0x24]
call fcn.0046feec
test al, al
je 0x4d2e09
call fcn.00421208
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x24]
call fcn.004d2a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2e26
mov eax, dword [ebp - 0x30]
call fcn.00405f00
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d2e4e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2e8a
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00407b4c
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00407b4c
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00407b4c
ret