Function at 0x40b730
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x445fdb
mov eax, dword fs:[0]
push eax
mov eax, 0x1900
call fcn.0041ca80
mov eax, dword [0x45aee0]
xor eax, esp
mov dword [esp + 0x18fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45aee0]
xor eax, esp
push eax
lea eax, [esp + 0x1914]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1924]
lea ecx, [esp + 0x120]
call fcn.0040e3c0
push str.tureal
push str.gacon
push str.root
xor ebp, ebp
push str.192.168.1.14
lea ecx, [esp + 0x130]
mov dword [esp + 0x192c], ebp
call fcn.0040e420
test al, al
je 0x40baae
push 0xfff
lea eax, [esp + 0x915]
push ebp
push eax
mov byte [esp + 0x91c], 0
call fcn.0041ca00
add esp, 0xc
mov dword [esp + 0x14], ebp
cmp ebx, ebp
je 0x40b7e3
mov ecx, dword [ebx + 0x89d0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebp
cmp ebx, ebp
je 0x40b7f5
mov edx, dword [ebx + 0x8890]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x918]
push str.select__from_tureal_coursegroup_where_userid_d_and_roomid___d
push edx
call fcn.0041cacc
add esp, 0x10
lea eax, [esp + 0x910]
push eax
lea ecx, [esp + 0x124]
call fcn.0040e490
lea ecx, [esp + 0x120]
test al, al
je 0x40baa9
call fcn.0040e530
mov dword [esp + 0x4f4], eax
cmp eax, ebp
je 0x40b8c3
mov ecx, dword [eax]
push ecx
call fcn.0041cac1
mov edx, dword [esp + 0x4f8]
mov dword [esp + 0xa8], eax
mov eax, dword [edx + 4]
push 0x78
push eax
lea ecx, [esp + 0xb4]
push ecx
call fcn.0041cb50
lea edx, [ebp + 0x7c]
add esp, 0x10
cmp edx, 0x3f0
jbe 0x40b894
push ebp
lea eax, [esp + 0x524]
push eax
push 0
push 0xc
mov ecx, ebx
call fcn.00415ea0
xor ebp, ebp
lea edi, [esp + ebp + 0x520]
mov ecx, 0x1f
lea esi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x120]
add ebp, 0x7c
call fcn.0040e530
mov dword [esp + 0x4f4], eax
test eax, eax
jne 0x40b847
push 0x78
lea ecx, [esp + 0xac]
push 0
push ecx
mov dword [esp + 0xb0], 0xffffffff
call fcn.0041ca00
push 0x78
lea edx, [esp + 0xb8]
push 0x44b58c
push edx
call fcn.00406fa0
lea eax, [ebp + 0x7c]
add esp, 0x18
cmp eax, 0x3f0
jbe 0x40b916
push ebp
lea ecx, [esp + 0x524]
push ecx
push 0
push 0xc
mov ecx, ebx
call fcn.00415ea0
xor ebp, ebp
lea edi, [esp + ebp + 0x520]
add ebp, 0x7c
mov ecx, 0x1f
lea esi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
test ebp, ebp
jle 0x40b946
push ebp
lea edx, [esp + 0x524]
push edx
push 0
push 0xc
mov ecx, ebx
call fcn.00415ea0
lea ecx, [esp + 0x120]
call fcn.0040e4e0
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x914]
push str.SELECT_tureal_user.userid__tureal_user.name__tureal_user.type_FROM_tureal_user_tureal_user4courseroom__t_t_t_t___WHERE_tureal_user.useridtureal_user4courseroom.userid_AND_tureal_user4courseroom.roomid___d_AND_tureal_user.type__0
push ecx
call fcn.0041cacc
add esp, 0xc
lea edx, [esp + 0x910]
push edx
lea ecx, [esp + 0x124]
call fcn.0040e490
test al, al
je 0x40baa2
lea ecx, [esp + 0x120]
call fcn.0040e510
test eax, eax
je 0x40baa2
lea ecx, [esp + 0x120]
xor ebp, ebp
call fcn.0040e530
mov esi, eax
mov dword [esp + 0x4f4], esi
test esi, esi
je 0x40baa2
push 0x88
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0041ca00
mov ecx, dword [esi]
push ecx
call fcn.0041cac1
mov edx, dword [esp + 0x504]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 4]
push 0x78
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041cb50
mov edx, dword [esp + 0x510]
mov eax, dword [edx + 8]
push eax
call fcn.0041cac1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
push ecx
mov byte [esp + 0xc0], al
mov eax, dword [esp + 0x3c]
push edx
push eax
call fcn.00408dd0
mov ecx, dword [esp + 0x48]
push ecx
mov dword [esp + 0x50], eax
call fcn.0040a660
lea edx, [ebp + 0x88]
add esp, 0x30
mov dword [esp + 0xa0], eax
cmp edx, 0x3f0
jbe 0x40ba56
push ebp
lea eax, [esp + 0x524]
push eax
push 0
push 0xd
mov ecx, ebx
call fcn.00415ea0
xor ebp, ebp
lea edi, [esp + ebp + 0x520]
mov ecx, 0x22
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x120]
add ebp, 0x88
call fcn.0040e530
mov esi, eax
mov dword [esp + 0x4f4], esi
test esi, esi
jne 0x40b9bb
test ebp, ebp
jle 0x40baa2
push ebp
lea ecx, [esp + 0x524]
push ecx
push eax
push 0xd
mov ecx, ebx
call fcn.00415ea0
lea ecx, [esp + 0x120]
call fcn.0040ec80
lea ecx, [esp + 0x120]
mov dword [esp + 0x191c], 0xffffffff
call fcn.0040e410
mov ecx, dword [esp + 0x1914]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18fc]
xor ecx, esp
call fcn.0041c2ed
add esp, 0x190c
ret