Function at 0x4098c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520f84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
xor eax, eax
push edi
mov word [ebp - 0x48], ax
mov edi, 7
push ebx
mov eax, 0x528928
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.00412b10
mov dword [ebp - 4], 1
xor ecx, ecx
push 9
mov eax, str.SELECT_ID
lea esi, [ebp - 0x28]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
call fcn.00412b10
mov byte [ebp - 4], 2
push 0x572c10
lea edx, [ebp - 0x64]
push 0x528e5c
push edx
call fcn.00414000
add esp, 0xc
mov byte [ebp - 4], 3
push str._AS_ComputerId
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004139a0
add esp, 0xc
mov byte [ebp - 4], 4
push ebx
push eax
or eax, 0xffffffff
call fcn.00412830
mov byte [ebp - 4], 3
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x409980
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], esi
jb 0x4099a2
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov word [ebp - 0x64], cx
push esi
mov eax, str.__Date_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
call fcn.00412930
push 0x54
mov eax, str._ifnull__SELECT_NameValue_FROM_UT_1113_WHERE_DictionaryId__UserId_____AS_UserName
lea ecx, [ebp - 0x28]
call fcn.00412930
push 0xa
mov eax, str._LogonType
lea ecx, [ebp - 0x28]
call fcn.00412930
push esi
mov eax, str._IsAdmin
lea ecx, [ebp - 0x28]
call fcn.00412930
push 0xd
mov eax, str._FROM_UT_1103
lea ecx, [ebp - 0x28]
call fcn.00412930
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 1
push edx
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.004f2070
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x80]
push edx
mov edx, 0x529e80
call fcn.00413910
mov byte [ebp - 4], 6
push 0x529e7c
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004139a0
add esp, 0x24
mov byte [ebp - 4], 7
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x28]
call fcn.00412830
mov byte [ebp - 4], 6
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x409a62
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x6c], esi
jb 0x409a84
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x88], esi
jb 0x409aac
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ebx
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x48]
push edx
xor eax, eax
push 0x1579c5c
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
call fcn.004ec1a0
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
test eax, eax
jne 0x409b50
mov word [esi], ax
push ebx
mov eax, 0x528928
call fcn.00412b10
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x409b0d
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], 8
jb 0x409b2f
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor edx, edx
lea edi, [ebp - 0x48]
mov word [esi], dx
call fcn.00411aa0
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 1
mov esi, 8
cmp dword [ebp - 0x14], esi
jb 0x409b7f
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x409ba5
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x34], edi
xor eax, eax
pop edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc