Function at 0x100075a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100144f4
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x1001c018]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x1001c018]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
xor edi, edi
mov ebx, ecx
cmp esi, edi
je 0x100078c4
cmp dword [ebx + 0x10], edi
je 0x100078c4
push esi
call fcn.10007350
mov esi, dword [esi]
mov dword [esp + 0x28], esi
cmp esi, edi
je 0x100078c4
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x20], edi
call fcn.10007960
lea ecx, [esp + 0x3c]
push str.SELECT_ProcessId_FROM_Win32_Process_WHERE
push ecx
mov dword [esp + 0x168], edi
call fcn.10008550
add esp, 8
cmp byte [ebp + 0xc], 0
je 0x10007727
push ebx
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esp + 0xf8]
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], edi
mov byte [esp + 0xf8], 0
call fcn.10001930
mov eax, 0x100171a0
lea ecx, [esp + 0x118]
mov byte [esp + 0x160], 1
call fcn.10002530
mov eax, 0x10016510
lea ecx, [esp + 0x134]
mov byte [esp + 0x160], 2
call fcn.10002530
lea edx, [esp + 0x118]
push edx
lea ebx, [esp + 0x138]
lea eax, [esp + 0xf8]
mov byte [esp + 0x164], 3
call fcn.10007540
add esp, 4
mov esi, ebx
call fcn.100018b0
lea esi, [esp + 0x118]
mov byte [esp + 0x160], 1
call fcn.100018b0
push 0x100171a4
push ecx
lea eax, [esp + 0xfc]
push eax
push ecx
lea ecx, [esp + 0x4c]
push str.ExecutablePath_
push ecx
call fcn.10008550
add esp, 0xc
push eax
call fcn.100087a0
add esp, 0xc
push eax
call fcn.10008550
add esp, 8
lea esi, [esp + 0xf4]
mov byte [esp + 0x160], 0
call fcn.100018b0
jmp 0x10007753
push 0x100171a4
push ecx
push ebx
push ecx
lea edx, [esp + 0x4c]
push str.Name_
push edx
call fcn.10008550
add esp, 0xc
push eax
call fcn.100087a0
add esp, 0xc
push eax
call fcn.10008550
add esp, 8
lea ecx, [esp + 0xd8]
lea eax, [esp + 0x2c]
call fcn.10007a00
mov byte [esp + 0x160], 4
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x14], edi
mov edi, 0x10
cmp dword [esp + 0xec], edi
jae 0x1000778b
lea eax, [esp + 0xd8]
push eax
lea ebx, [esp + 0x28]
call fcn.100074b0
mov esi, eax
push 0x100171c4
lea ebx, [esp + 0x24]
mov byte [esp + 0x164], 5
call fcn.100074b0
mov byte [esp + 0x160], 6
mov ecx, dword [esi]
test ecx, ecx
je 0x100077bf
mov ecx, dword [ecx]
jmp 0x100077c1
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x100077cb
mov eax, dword [eax]
jmp 0x100077cd
xor eax, eax
mov edx, dword [esp + 0x28]
mov esi, dword [edx]
lea ebx, [esp + 0x14]
push ebx
push 0
push 0x30
push ecx
push eax
mov eax, dword [esi + 0x50]
push edx
call eax
lea ebx, [esp + 0x20]
call fcn.10007300
lea ebx, [esp + 0x24]
mov byte [esp + 0x160], 4
call fcn.10007300
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x10007877
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x14]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x1000786b
cmp eax, ebx
jl 0x10007863
cmp dword [esp + 0x18], ebx
jbe 0x10007863
mov edx, dword [ecx]
push ebx
push ebx
lea eax, [esp + 0xfc]
push eax
push ebx
push 0x100171c8
push ecx
mov ecx, dword [edx + 0x10]
call ecx
mov ecx, dword [esp + 0x10]
cmp eax, ebx
jl 0x10007863
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0xec], edi
jb 0x10007891
mov ecx, dword [esp + 0xd8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov dword [esp + 0x160], 0xffffffff
call fcn.100078f0
mov eax, dword [esp + 0x1c]
jmp 0x100078c6
xor eax, eax
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10012c5c
mov esp, ebp
pop ebp
ret 8