Function at 0x433d50
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x434082
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.00434460
mov eax, dword [esp + 0x20]
test eax, eax
je 0x434026
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 + 0x1b8]
mov dword [esp + 0x54], ecx
nop
mov dword [esp], ecx
call fcn.0040a140
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0x1bc], eax
mov eax, dword [ecx + 0x1c8]
test eax, eax
jne 0x433e53
movzx eax, byte [0x7f8aaa]
test al, al
je 0x433e53
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.00434370
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0x1c8], eax
test eax, eax
je 0x433fcb
nop
nop
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0040a340
lea edi, [esp + 0x34]
xor eax, eax
call fcn.004645c9
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.00434320
mov eax, dword [esp + 0x10]
test eax, eax
je 0x433f70
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 0x433ee6
sub ebx, eax
add ebx, 0xffffc000
cmp ebx, 0x4000000
ja 0x433ee6
mov dword [edx], ecx
add eax, 0x4ba0
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
call fcn.004641c0
add esp, 0x58
ret
call fcn.004388b0
lea eax, [0x61fe09]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61a736]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61a767]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004391b0
call fcn.00438920
lea eax, [0x61cee6]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00436e90
call fcn.00465090
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
call fcn.004388b0
lea eax, [0x626de8]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00438e30
call fcn.00438ad0
call fcn.00438920
lea eax, [0x62629a]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00436e90
call fcn.00465090
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
call fcn.004388b0
lea eax, [0x6290ad]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00438e30
call fcn.00438ad0
call fcn.00438920
lea eax, [0x629988]
mov dword [esp], eax
mov dword [esp + 4], 0x30
call fcn.00436e90
call fcn.00465090
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
call fcn.004388b0
lea eax, [0x629080]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00438e30
call fcn.00438ad0
call fcn.00438920
lea eax, [0x62739f]
mov dword [esp], eax
mov dword [esp + 4], 0x25
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.00433d50