Function at 0x41f260
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x70d05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor esi, esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00401c90
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004022b0
mov dword [ebp - 0x14], esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push str.SELECT__FROM_Users_WHERE_UserName
push ecx
mov byte [ebp - 4], 2
call fcn.00403200
push 0x65cea0
push eax
lea edx, [ebp - 0x1c]
mov bl, 3
push edx
mov byte [ebp - 4], bl
call fcn.00403100
add esp, 0x18
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00402ef0
mov esi, dword [ebp - 0x1c]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
mov byte [ebp - 4], bl
jne 0x41f313
push str.nRefs___0
push 0
push 0x70
push str.c:Program_FilesMicrosoft_Visual_Studio_10.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.0060e3a0
add esp, 0x14
cmp eax, 1
jne 0x41f313
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41f329
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
mov byte [ebp - 4], 2
jne 0x41f35a
push str.nRefs___0
push 0
push 0x70
push str.c:Program_FilesMicrosoft_Visual_Studio_10.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.0060e3a0
add esp, 0x14
cmp eax, 1
jne 0x41f35a
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41f370
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], esp
mov dword [eax], esi
test esi, esi
je 0x41f394
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [ebp - 0x2c]
call fcn.004024a0
mov ebx, dword [eax]
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x41f3ef
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push ebx
mov dword [ebp - 0x20], ebx
call eax
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x50]
lea edx, [ebp - 0x18]
push edx
push ebx
mov dword [ebp - 0x18], 0
call eax
test eax, eax
jns 0x41f3d3
push 0x65b0b4
push ebx
push eax
call fcn.0063e140
cmp word [ebp - 0x18], 0
je 0x41f3f9
lea ecx, [ebp - 0x3c]
call fcn.0041f150
lea ecx, [ebp - 0x3c]
call fcn.0041e3b0
jmp 0x41f5eb
push 0x80004003
call fcn.0063e110
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 4]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x41f442
cmp dword [esi + 0xc], 0
jl 0x41f435
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41f435
push eax
call fcn.00401a60
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.004018e0
add ebx, 0x10
mov dword [edi + 4], ebx
mov ebx, dword [ebp - 0x1c]
jmp 0x41f442
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.00402da0
mov eax, 8
push 0x660c38
mov word [ebp - 0x3c], ax
call fcn.0063dc10
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00412ba0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00412e40
mov esi, dword [eax]
mov byte [ebp - 4], 8
test esi, esi
je 0x41f498
cmp dword [esi + 4], 0
jne 0x41f493
mov eax, dword [esi]
push eax
call fcn.0063deb0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x41f49a
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 8
test esi, esi
jne 0x41f4a8
xor eax, eax
jmp 0x41f4b9
mov eax, esi
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41f4b0
sub eax, edi
push eax
push esi
call fcn.00402da0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
test eax, eax
je 0x41f50c
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41f505
test esi, esi
je 0x41f505
mov eax, dword [esi]
test eax, eax
je 0x41f4ec
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x41f4fc
push eax
call fcn.0041f8d0
add esp, 4
push esi
call fcn.0041f890
add esp, 4
mov dword [ebp - 0x18], 0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x4c]
push ecx
call edi
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 5
call edi
mov eax, 8
push str.User_type
mov word [ebp - 0x3c], ax
call fcn.0063dc10
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.00412ba0
mov bl, 0xa
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00412e40
mov esi, dword [eax]
mov byte [ebp - 4], 0xb
test esi, esi
je 0x41f579
cmp dword [esi + 4], 0
jne 0x41f574
mov eax, dword [esi]
push eax
call fcn.0063deb0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x41f57b
xor esi, esi
push esi
call fcn.0060fcc0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
add esp, 4
mov byte [ebp - 4], bl
test eax, eax
je 0x41f5d5
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41f5ce
test esi, esi
je 0x41f5ce
mov eax, dword [esi]
test eax, eax
je 0x41f5b5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x41f5c5
push eax
call fcn.0041f8d0
add esp, 4
push esi
call fcn.0041f890
add esp, 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x4c]
push edx
call edi
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 5
call edi
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.00401ce0
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
mov byte [ebp - 4], 2
call edx
mov byte [ebp - 4], 1
test esi, esi
je 0x41f63b
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41f63b
mov eax, dword [esi]
test eax, eax
je 0x41f622
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x41f632
push eax
call fcn.0041f8d0
add esp, 4
push esi
call fcn.0041f890
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401cb0
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
mov dword [ebp - 4], 0xffffffff
jne 0x41f67b
push str.nRefs___0
push 0
push 0x70
push str.c:Program_FilesMicrosoft_Visual_Studio_10.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.0060e3a0
add esp, 0x14
cmp eax, 1
jne 0x41f67b
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41f691
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4