Function at 0x42c327
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x4e05a0
call fcn.004baf44
sub esp, 0xc28
push esi
mov esi, ecx
call fcn.0042c744
test al, al
je 0x42c658
push ebx
push edi
push dword [esi + 0x960]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.0040c644
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [edi]
call dword [eax + 0x1c]
push eax
mov ecx, edi
call dword [ebx + 0x44]
push dword [esi + 0x960]
mov dword [ebp - 0x20], eax
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ebx, eax
test ebx, ebx
jne 0x42c3af
push 0x2839
push 0x50d0b8
push 0x50c9bc
push 0x509ec4
push 0x508530
call fcn.00401466
add esp, 0x14
jmp 0x42c4c9
mov al, byte [0x5265c8]
mov ecx, 0xff
mov byte [ebp - 0x434], al
xor eax, eax
lea edi, [ebp - 0x433]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push eax
lea eax, [ebp - 0x434]
push 0x50f51c
push eax
call fcn.004bafeb
mov al, byte [0x5265c8]
mov ecx, 0xff
mov byte [ebp - 0x834], al
xor eax, eax
lea edi, [ebp - 0x833]
add esp, 0xc
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x834]
push 0x400
push ecx
lea ecx, [ebp - 0x434]
stosb byte es:[edi], al
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
test al, al
je 0x42c4c9
lea eax, [ebp - 0x834]
push eax
call fcn.004bc2a0
pop ecx
xor edi, edi
push edi
push eax
push eax
mov dword [ebp - 0x28], eax
push 0x109a02
push 0x50f4c4
lea eax, [ebp - 0x434]
push 0x400
push eax
call fcn.004bb643
mov eax, dword [ebx]
add esp, 0x1c
lea ecx, [ebp - 0x434]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test al, al
jne 0x42c480
push 0x2848
push 0x50d0b8
push 0x50f4ac
jmp 0x42c398
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x109a02
mov dword [ebp - 0x24], eax
push dword [ebp - 0x28]
push eax
call fcn.0048a836
add esp, 0x2c
push dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x434]
push 0x50f478
push eax
call fcn.004bafeb
mov eax, dword [ebx]
add esp, 0x10
lea ecx, [ebp - 0x434]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
and dword [ebp - 4], 0
lea eax, [ebp - 0xd]
push eax
push 0x50f46c
lea ecx, [ebp - 0x1c]
call fcn.00403ed8
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 1
lea edi, [esi + 8]
call dword [eax + 0x1c]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
push eax
lea eax, [ebp - 0xc34]
push eax
call fcn.004bafeb
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00403d38
mov eax, dword [edi]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc34]
push 1
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [ebp - 0x20], 0
je 0x42c587
lea eax, [ebp - 0xd]
mov edi, 0x50f460
push eax
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 3
call fcn.00403ed8
lea eax, [ebp - 0x1c]
push 1
push eax
mov byte [ebp - 4], 4
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0042c665
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00403d38
jmp 0x42c616
mov al, byte [0x5265c8]
mov ecx, 0xff
mov byte [ebp - 0x834], al
xor eax, eax
lea edi, [ebp - 0x833]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xd]
mov edi, 0x50f460
push eax
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 6
call fcn.00403ed8
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 7
call dword [eax + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
push eax
lea eax, [ebp - 0x834]
push 0x50f428
push eax
call fcn.004bafeb
add esp, 0x10
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x1c]
call fcn.00407799
mov eax, dword [ebx]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x834]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
lea eax, [ebp - 0xe]
lea ecx, [ebp - 0x34]
push eax
push edi
mov dword [ebp - 4], 9
call fcn.00403ed8
lea eax, [ebp - 0x34]
push 1
push eax
mov byte [ebp - 4], 0xa
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
push eax
mov ecx, esi
call fcn.0042c665
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.00403d38
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret