Function at 0x434700
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x298]
cmp eax, dword [ecx + 8]
jbe 0x434b31
sub esp, 0x318
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x31c]
cmp dword [eax + 0x18], ecx
je 0x434b1a
test byte [ecx], al
lea eax, [ecx + 0x1cc]
mov dword [esp + 0x314], eax
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00402390
movzx eax, byte [esp + 0xc]
test al, al
je 0x434a9b
mov eax, dword [esp + 0x31c]
lea ecx, [eax + 0x1b8]
mov dword [esp + 0x30c], ecx
nop
mov dword [esp], ecx
call fcn.0040a140
mov eax, dword [esp + 0x31c]
mov ecx, dword [eax + 0x1bc]
test ecx, ecx
jne 0x4347ee
nop
nop
mov eax, dword [esp + 0x30c]
mov dword [esp], eax
call fcn.0040a340
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004025b0
nop
mov eax, dword [esp + 0x31c]
add eax, 0x1b0
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004024e0
add esp, 0x318
ret
mov dword [esp + 0x24], 0
mov ecx, dword [sym.imp.kernel32.dll_DuplicateHandle]
mov edx, dword [eax + 0x1bc]
lea ebx, [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 2
call fcn.00434460
mov eax, dword [esp + 0x20]
test eax, eax
je 0x434abf
nop
nop
mov eax, dword [esp + 0x30c]
mov dword [esp], eax
call fcn.0040a340
mov dword [esp + 0x2d], 0
lea edi, [esp + 0x30]
mov ecx, 0xb6
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
and eax, 0xfffffff0
mov dword [esp + 0x310], eax
mov dword [eax], 0x10001
nop
lea ecx, [0x7f8bb4]
mov dword [esp], ecx
call fcn.0040a140
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_SuspendThread]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434280
cmp dword [esp + 8], 0xffffffff
je 0x434a3b
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_GetThreadContext]
mov edx, dword [esp + 0x310]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004342d0
nop
lea eax, [0x7f8bb4]
mov dword [esp], eax
call fcn.0040a340
mov eax, dword [esp + 0x310]
mov ecx, dword [eax + 0xc4]
mov edx, dword [esp + 0x31c]
mov ebx, dword [edx]
test ebx, ebx
je 0x434907
cmp dword [ebx], ecx
jae 0x434907
cmp dword [ebx + 4], ecx
ja 0x434929
mov ebx, dword [edx + 0x30]
test ebx, ebx
je 0x434917
cmp dword [ebx], ecx
jae 0x434917
cmp dword [ebx + 4], ecx
ja 0x434929
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x434927
cmp dword [ebx], ecx
jae 0x434927
cmp dword [ebx + 4], ecx
ja 0x434929
xor ebx, ebx
test ebx, ebx
jne 0x434931
xor ecx, ecx
jmp 0x43495c
mov dword [esp + 0x308], ebx
mov dword [esp], ebx
call fcn.00438340
movzx eax, byte [esp + 4]
mov edx, dword [esp + 0x31c]
mov ebx, dword [esp + 0x308]
mov ecx, eax
mov eax, dword [esp + 0x310]
test cl, cl
je 0x4349d4
mov ecx, dword [eax + 0xb8]
mov edx, dword [eax + 0xc4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.004383b0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
test al, al
je 0x4349d4
mov eax, dword [esp + 0x310]
mov edx, dword [eax + 0xc4]
add edx, 0xfffffffc
mov ebx, edx
lea ebp, [0x464e60]
nop
mov dword [edx], ecx
nop
mov dword [eax + 0xc4], ebx
nop
mov dword [eax + 0xb8], ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [sym.imp.kernel32.dll_SetThreadContext]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004342d0
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004025b0
nop
mov eax, dword [esp + 0x31c]
add eax, 0x1b0
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004024e0
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_ResumeThread]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434280
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434280
add esp, 0x318
ret
nop
lea eax, [0x7f8bb4]
mov dword [esp], eax
call fcn.0040a340
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434280
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004025b0
nop
mov eax, dword [esp + 0x31c]
add eax, 0x1b0
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004024e0
add esp, 0x318
ret
nop
mov eax, dword [esp + 0x31c]
add eax, 0x1b0
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004024e0
add esp, 0x318
ret
call fcn.00465090
mov eax, dword [esp]
mov dword [esp + 0x28], eax
call fcn.004388b0
lea eax, [0x629b08]
mov dword [esp], eax
mov dword [esp + 4], 0x30
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00438e30
call fcn.00438ad0
call fcn.00438920
lea eax, [0x627f6a]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00436e90
lea eax, [0x61d072]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.00434700