Function at 0x411130
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c302
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str.SELECT_sComputerKey_FROM_tRoom_WHERE_sRoomID_.20s
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00436220
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004025a0
movzx ecx, al
test ecx, ecx
jne 0x4111cc
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00438ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x30]
jmp 0x411386
lea ecx, [ebp - 0x10]
call fcn.00437f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004381a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004362a0
mov ecx, eax
call fcn.00438c50
movsx edx, ax
test edx, edx
je 0x41124c
lea ecx, [ebp - 0x2c]
call fcn.004362a0
mov ecx, eax
call fcn.00438d10
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00438420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00438010
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00438ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x34]
jmp 0x411386
push str.sComputerKey
lea ecx, [ebp - 0x44]
call fcn.004381c0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004362a0
mov ecx, eax
call fcn.00438d90
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x24]
call fcn.00438380
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.00438420
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00438420
movzx ecx, word [ebp - 0x24]
cmp ecx, 1
je 0x4112b9
lea edx, [ebp - 0x24]
mov dword [ebp - 0x84], edx
jmp 0x4112f1
push 0x4687e5
lea ecx, [ebp - 0x6c]
call fcn.004381c0
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x74]
or ecx, 1
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004385c0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x74]
and edx, 1
je 0x411321
and dword [ebp - 0x74], 0xfffffffe
lea ecx, [ebp - 0x6c]
call fcn.00438420
push 4
lea ecx, [ebp - 0x10]
call fcn.00438030
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.004362a0
mov ecx, eax
call fcn.00438d10
mov dword [ebp - 0x70], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00438420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00438010
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00438ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8