Function at 0x42e6d0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42ea02
sub esp, 0x58
mov dword [esp + 0x24], 0
mov eax, dword [sym.imp.kernel32.dll_DuplicateHandle]
lea ecx, [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0xfffffffe
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 2
call fcn.0042edd0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42e9a6
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], eax
test byte [eax], al
lea ecx, [eax + 0x1c4]
mov dword [esp + 0x54], ecx
nop
mov dword [esp], ecx
call fcn.00408ef0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0x1c8], eax
mov eax, dword [ecx + 0x1d4]
test eax, eax
jne 0x42e7d3
movzx eax, byte [0x7e81a9]
test al, al
je 0x42e7d3
mov eax, dword [sym.imp.kernel32.dll_CreateWaitableTimerExW]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x100003
call fcn.0042ece0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0x1d4], eax
test eax, eax
je 0x42e94b
nop
nop
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.004090f0
lea edi, [esp + 0x34]
xor eax, eax
call fcn.0045a179
mov eax, dword [sym.imp.kernel32.dll_VirtualQuery]
lea ecx, [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x1c
call fcn.0042ec90
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42e8f0
mov eax, dword [esp + 0x38]
lea ecx, [eax + 0x4000]
mov dword [esp + 0x28], ecx
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov ebx, dword [edx + 4]
mov dword [esp + 0x30], ebx
cmp ebx, ecx
jb 0x42e866
sub ebx, eax
add ebx, 0xffffc000
cmp ebx, 0x4000000
ja 0x42e866
mov dword [edx], ecx
add eax, 0x4ba0
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
call fcn.00459de0
add esp, 0x58
ret
call fcn.00433670
lea eax, [0x4e9b32]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00433f50
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00433dd0
lea eax, [0x4e650a]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00433f50
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00433dd0
lea eax, [0x4e6533]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00433f50
call fcn.004336e0
lea eax, [0x4e7d24]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00432150
call fcn.0045ac70
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
call fcn.00433670
lea eax, [0x4ee7b5]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00433f50
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00433bf0
call fcn.00433890
call fcn.004336e0
lea eax, [0x4ee0a0]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00432150
call fcn.0045ac70
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
call fcn.00433670
lea eax, [0x4efe70]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
call fcn.00433f50
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00433bf0
call fcn.00433890
call fcn.004336e0
lea eax, [0x4f034e]
mov dword [esp], eax
mov dword [esp + 4], 0x30
call fcn.00432150
call fcn.0045ac70
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
call fcn.00433670
lea eax, [0x4efe43]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
call fcn.00433f50
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00433bf0
call fcn.00433890
call fcn.004336e0
lea eax, [0x4eebd9]
mov dword [esp], eax
mov dword [esp + 4], 0x25
call fcn.00432150
nop
call fcn.00458b70
jmp fcn.0042e6d0