Function at 0x423320
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ca48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [0x530d78]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov bl, 2
push str.SELECT__FROM_USERS_WHERE_NAME
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0043fe2d
lea edx, [ebp + 8]
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
call fcn.0043fed3
push 0x460130
lea edx, [ebp - 0x20]
push eax
push edx
mov byte [ebp - 4], 3
call fcn.0043ff39
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0043fddd
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0043fca4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0043fca4
mov eax, str.ADODB.Recordset
mov byte [ebp - 4], 5
test eax, eax
je 0x423407
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042bac0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push str.ADODB.Recordset
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4233fa
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
jmp 0x423407
push 7
push 0
push edi
lea ecx, [ebp - 0x18]
call fcn.00404140
mov eax, dword [0x534c18]
mov word [ebp - 0x40], 9
mov dword [ebp - 0x38], eax
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x1c]
mov bl, 6
push eax
mov byte [ebp - 4], bl
mov esi, eax
mov word [ebp - 0x30], 8
call fcn.00436917
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x423446
test esi, esi
je 0x423446
push 0x8007000e
call fcn.0043686a
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
test eax, eax
jne 0x42345e
push 0x80004003
call fcn.0043686a
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x40]
push 1
push 3
push 3
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
sub esp, 0x10
mov esi, eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x3c]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x38]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x34]
mov dword [ecx + 0xc], edi
mov edi, dword [ebp - 0x30]
mov ecx, esp
push eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x2c]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x28]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x24]
mov dword [ecx + 0xc], edi
call dword [edx + 0xa0]
test eax, eax
jge 0x4234b7
push 0x460178
push esi
push eax
call fcn.00436878
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], bl
call esi
test eax, eax
jge 0x4234d0
push eax
call fcn.0043686a
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call esi
test eax, eax
jge 0x4234e4
push eax
call fcn.0043686a
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4234f8
push 0x80004003
call fcn.0043686a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x12]
push edx
push eax
mov esi, eax
call dword [ecx + 0x50]
test eax, eax
jge 0x423514
push 0x460178
push esi
push eax
call fcn.00436878
cmp word [ebp - 0x12], 0
je 0x423522
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x423536
push 0x80004003
call fcn.0043686a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x12]
push edx
push eax
mov esi, eax
call dword [ecx + 0x50]
test eax, eax
jge 0x423552
push 0x460178
push esi
push eax
call fcn.00436878
cmp word [ebp - 0x12], 0
jne 0x423560
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x423574
push 0x80004003
call fcn.0043686a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x80]
test eax, eax
jge 0x42358f
push 0x460178
push esi
push eax
call fcn.00436878
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 1
test eax, eax
je 0x4235a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0043fca4
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0043fca4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x5c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4