Function at 0x40b3e0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x445f9b
mov eax, dword fs:[0]
push eax
mov eax, 0x18f8
call fcn.0041ca80
mov eax, dword [0x45aee0]
xor eax, esp
mov dword [esp + 0x18f4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45aee0]
xor eax, esp
push eax
lea eax, [esp + 0x190c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x191c]
lea ecx, [esp + 0x118]
call fcn.0040e3c0
push str.tureal
push str.gacon
push str.root
xor ebp, ebp
push str.192.168.1.14
lea ecx, [esp + 0x128]
mov dword [esp + 0x1924], ebp
call fcn.0040e420
test al, al
je 0x40b6eb
push 0xfff
lea eax, [esp + 0x90d]
push ebp
push eax
mov byte [esp + 0x914], 0
call fcn.0041ca00
mov eax, dword [ebx + 0x89d0]
add esp, 0xc
cmp byte [esp + 0x1924], 0
je 0x40b5dc
mov ecx, dword [esp + 0x1920]
push eax
push ecx
lea edx, [esp + 0x910]
push str.select__from_tureal_coursegroup_where_userid_d_and_roomid___d
push edx
call fcn.0041cacc
add esp, 0x10
lea eax, [esp + 0x908]
push eax
lea ecx, [esp + 0x11c]
call fcn.0040e490
lea ecx, [esp + 0x118]
test al, al
je 0x40b6e6
call fcn.0040e530
mov dword [esp + 0x4ec], eax
cmp eax, ebp
je 0x40b559
mov ecx, dword [eax]
push ecx
call fcn.0041cac1
mov edx, dword [esp + 0x4f0]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 4]
push 0x78
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0041cb50
lea edx, [ebp + 0x7c]
add esp, 0x10
cmp edx, 0x3f0
jbe 0x40b52d
push ebp
lea eax, [esp + 0x51c]
push eax
push 0
push 0xc
mov ecx, ebx
call fcn.00415ea0
xor ebp, ebp
lea edi, [esp + ebp + 0x518]
mov ecx, 0x1f
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x118]
add ebp, 0x7c
call fcn.0040e530
mov dword [esp + 0x4ec], eax
test eax, eax
jne 0x40b4e6
push 0x78
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x20], 0xffffffff
call fcn.0041ca00
push 0x78
lea edx, [esp + 0x28]
push 0x44b58c
push edx
call fcn.00406fa0
lea eax, [ebp + 0x7c]
add esp, 0x18
cmp eax, 0x3f0
jbe 0x40b5a3
push ebp
lea ecx, [esp + 0x51c]
push ecx
push 0
push 0xc
mov ecx, ebx
call fcn.00415ea0
xor ebp, ebp
lea edi, [esp + ebp + 0x518]
add ebp, 0x7c
mov ecx, 0x1f
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
test ebp, ebp
jle 0x40b5d0
push ebp
lea edx, [esp + 0x51c]
push edx
push 0
push 0xc
mov ecx, ebx
call fcn.00415ea0
lea ecx, [esp + 0x118]
call fcn.0040e4e0
mov eax, dword [ebx + 0x8890]
mov ecx, dword [ebx + 0x89d0]
push eax
push ecx
lea edx, [esp + 0x910]
push str.SELECT_tureal_user.userid__tureal_user.name__tureal_user.type_FROM_tureal_user_tureal_user4courseroom____________________WHERE_tureal_user.useridtureal_user4courseroom.userid_AND_tureal_user4courseroom.roomid___d_AND_tureal_user.type__0_AND_tureal_user.userid___d
push edx
call fcn.0041cacc
add esp, 0x10
lea eax, [esp + 0x908]
push eax
lea ecx, [esp + 0x11c]
call fcn.0040e490
test al, al
je 0x40b6df
lea ecx, [esp + 0x118]
call fcn.0040e510
cmp eax, 1
jne 0x40b6df
lea ecx, [esp + 0x118]
call fcn.0040e530
mov esi, eax
mov dword [esp + 0x4ec], esi
test esi, esi
je 0x40b6df
push 0x88
lea ecx, [esp + 0x94]
push 0
push ecx
call fcn.0041ca00
mov edx, dword [esi]
push edx
call fcn.0041cac1
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x4fc]
mov ecx, dword [eax + 4]
push 0x78
push ecx
lea edx, [esp + 0xb0]
push edx
call fcn.0041cb50
mov eax, dword [esp + 0x508]
mov ecx, dword [eax + 8]
push ecx
call fcn.0041cac1
mov edx, dword [ebx + 0x89d0]
mov ecx, dword [esp + 0x1940]
mov byte [esp + 0x130], al
mov eax, dword [esp + 0xb0]
push edx
push eax
push ecx
call fcn.00408dd0
add esp, 0x2c
push 0x88
lea edx, [esp + 0x94]
push edx
push 0
push 0x12
mov ecx, ebx
mov dword [esp + 0xa4], eax
call fcn.00415ea0
lea ecx, [esp + 0x118]
call fcn.0040ec80
lea ecx, [esp + 0x118]
mov dword [esp + 0x1914], 0xffffffff
call fcn.0040e410
mov ecx, dword [esp + 0x190c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18f4]
xor ecx, esp
call fcn.0041c2ed
add esp, 0x1904
ret