Function at 0x431410
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461969
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
mov eax, dword [0x47c9f0]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x188], 0
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 1
mov byte [ebp - 0x114], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x15c], 0x3e8
jle 0x4314a1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x15c], 0xbb8
jl 0x4314e4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x15c], 3
je 0x4314e4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x15c], 4
je 0x4314e4
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x15c], 2
je 0x4314e4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x15c], 7
je 0x4314e4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x15c], 0xbbb
jne 0x431967
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x15c], 3
je 0x4314fc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x15c], 4
jne 0x43153a
mov eax, dword [ebp + 8]
add eax, 0x215
push eax
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
push 0x46b0ac
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
mov ecx, dword [ebp + 8]
add ecx, 0x1d8
push ecx
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
jmp 0x431550
mov edx, dword [ebp + 8]
add edx, 0x215
push edx
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [ebp - 0x120]
call fcn.00437f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.004381a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
push str.SELECT_sAccount_FROM_tComputer_WHERE_sComputerIP__.39s_AND_sUserID___
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [ebp - 0x138]
call fcn.00436220
mov byte [ebp - 4], 5
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x18c]
call fcn.004025a0
movzx ecx, al
test ecx, ecx
jne 0x43163e
mov dword [ebp - 0x13c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
call fcn.00438ed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.00438420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00438010
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x13c]
jmp 0x43199a
lea ecx, [ebp - 0x138]
call fcn.004362a0
mov ecx, eax
call fcn.00438c50
movsx edx, ax
test edx, edx
je 0x4316e2
lea ecx, [ebp - 0x138]
call fcn.004362a0
mov ecx, eax
call fcn.00438d10
mov dword [ebp - 0x140], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
call fcn.00438ed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.00438420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00438010
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x140]
jmp 0x43199a
push str.sAccount
lea ecx, [ebp - 0x154]
call fcn.004381c0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x138]
call fcn.004362a0
mov ecx, eax
call fcn.00438d90
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x194]
push eax
lea ecx, [ebp - 0x134]
call fcn.00438380
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x164]
call fcn.00438420
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x154]
call fcn.00438420
movzx ecx, word [ebp - 0x134]
cmp ecx, 1
je 0x431776
lea edx, [ebp - 0x134]
mov dword [ebp - 0x198], edx
jmp 0x4317b7
push 0x46b105
lea ecx, [ebp - 0x17c]
call fcn.004381c0
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x188]
or ecx, 1
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x120]
call fcn.004385c0
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x188]
and edx, 1
je 0x4317f9
and dword [ebp - 0x188], 0xfffffffe
lea ecx, [ebp - 0x17c]
call fcn.00438420
push pe_nt_image_headers32
lea ecx, [ebp - 0x120]
call fcn.00438030
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
lea ecx, [ebp - 0x138]
call fcn.004362a0
mov ecx, eax
call fcn.00438d10
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.MSVCR71.dll_strstr]
add esp, 8
test eax, eax
jne 0x43192a
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x15c]
push eax
lea ecx, [ebp - 0x114]
push ecx
push str._s_04d_s_
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
push str.UPDATE_tComputer_SET_sAccount___.254s_WHERE_sComputerIP__.39s
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x18c]
call fcn.00402790
movzx ecx, al
mov dword [ebp - 0x180], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
call fcn.00438ed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.00438420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00438010
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x180]
jmp 0x43199a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
call fcn.00438ed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.00438420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00438010
mov dword [ebp - 0x184], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00458cfb
pop edi
mov esp, ebp
pop ebp
ret 4