Function at 0x52cd3c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0057499e
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0xe0002
push 0
push ebx
push 1
mov eax, 0xd
mov ebx, 0x63ba90
call fcn.00574998
add esp, 0x10
mov dword [ebp - 0x10], 0
push 4
call fcn.0057499e
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
push 0xe0001
push 0
push ebx
push 1
mov eax, 0xd
mov ebx, 0x639dc0
call fcn.00574998
add esp, 0x10
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push 0xffffffffffffffff
push 8
push 0x16024161
push 0x52021986
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x6bb514
push dword [ebp - 0x34]
call fcn.0040110c
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x52ce41
push ebx
call fcn.00574992
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x52cec4
push 0xffffffffffffffff
push 8
push 0x16024161
push 0x52021986
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x951af5
push dword [ebp - 0x34]
push str.__and_X.child_name_like__
push dword [0xc383b4]
push str.__AND__au_txl.child_id__
push dword [0xc38398]
push str._SELECT_au_txl.id__X._FROM_au_txl_INNER_JOIN__SELECT_au_usrinfo.usrid__au_usrinfo.usrname__au_child.child_id_au_child.child_name__au_child.area__au_child.child_address_au_child.child_lxr__au_child.child_lxdh_FROM_au_usrinfo_INNER_JOIN_au_child_ON_au_usrinfo.usrid__au_child.usrid__X_ON_au_txl.usrid0__X.usrid_AND_au_txl.child_id0__X.child_id_WHERE__au_txl.usrid__
mov ecx, 7
call fcn.004010a8
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x52cea7
push ebx
call fcn.00574992
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x52cebb
push ebx
call fcn.00574992
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x52cf07
push 0x9500c6
push dword [0xc383b4]
push str.__AND__au_txl.child_id__
push dword [0xc38398]
push str._SELECT_au_txl.id__X._FROM_au_txl_INNER_JOIN__SELECT_au_usrinfo.usrid__au_usrinfo.usrname__au_child.child_id_au_child.child_name__au_child.area__au_child.child_address_au_child.child_lxr__au_child.child_lxdh_FROM_au_usrinfo_INNER_JOIN_au_child_ON_au_usrinfo.usrid__au_child.usrid__X_ON_au_txl.usrid0__X.usrid_AND_au_txl.child_id0__X.child_id_WHERE__au_txl.usrid__
mov ecx, 5
call fcn.004010a8
add esp, 0x14
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x52cf03
push ebx
call fcn.00574992
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x6bb752
mov ecx, 2
call fcn.004010a8
add esp, 8
mov dword [ebp - 0x34], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040406f
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x52cf50
push ebx
call fcn.00574992
add esp, 4
push 0xe0002
push 0
push dword [ebp - 0xc]
push 1
mov eax, 0xd
mov ebx, 0x63a8a0
call fcn.00574998
add esp, 0x10
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x6bb645]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004022e4
push 0
push eax
push 0xffffffffffffffff
push 0x11
push 0x1602bdd5
push 0x52021986
call fcn.005749b0
add esp, 0x18
push 0xe0002
push 0
push dword [ebp - 0xc]
push 1
mov eax, 0xd
mov ebx, 0x63a8a0
call fcn.00574998
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5765e0
call fcn.005749a4
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0
push dword [ebp - 0x38]
push 0xffffffffffffffff
push 8
push 0x16024048
push 0x52021986
call fcn.005749b0
add esp, 0x18
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x52d010
push ebx
call fcn.00574992
add esp, 4
push 0xe0002
push 0
push dword [ebp - 0xc]
push 1
mov eax, 0xd
mov ebx, 0x63a870
call fcn.00574998
add esp, 0x10
and eax, 1
xor eax, 1
test eax, eax
je 0x52d65d
push 0xe0002
push 0
push dword [ebp - 0xc]
push 1
mov eax, 0xd
mov ebx, 0x63acb0
call fcn.00574998
add esp, 0x10
push 0xe0002
push 0
push dword [ebp - 0xc]
push 1
mov eax, 0xd
mov ebx, 0x63a8a0
call fcn.00574998
add esp, 0x10
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x52d4da
push 0xe0001
push 0
lea eax, [ebp - 0x14]
push eax
push 0xe0002
push 0
push dword [ebp - 0xc]
push 2
mov eax, 0xd
mov ebx, 0x63add0
call fcn.00574998
add esp, 0x1c
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x18]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.usrid
push 0xe0001
push 0
push dword [ebp - 0x14]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x1c]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.area
push 0xe0001
push 0
push dword [ebp - 0x14]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x20]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.usrname
push 0xe0001
push 0
push dword [ebp - 0x14]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x24]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.child_name
push 0xe0001
push 0
push dword [ebp - 0x14]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x28]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.child_address
push 0xe0001
push 0
push dword [ebp - 0x14]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x2c]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.child_lxr
push 0xe0001
push 0
push dword [ebp - 0x14]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x30]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.child_lxdh
push 0xe0001
push 0
push dword [ebp - 0x14]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x52d25f
mov eax, 0x6bb514
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x100001
push 0x1602bdd5
push 0x52021986
push 5
mov eax, 0xf
mov ebx, 0x659ab0
call fcn.00574998
add esp, 0x40
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x52d2bb
mov eax, 0x6bb514
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x100001
push 0x1602bdd5
push 0x52021986
push 5
mov eax, 0xf
mov ebx, 0x659ab0
call fcn.00574998
add esp, 0x40
push dword [ebp - 0x24]
push 0x6bb656
push dword [ebp - 0x20]
mov ecx, 3
call fcn.004010a8
add esp, 0xc
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x52d332
mov eax, 0x6bb514
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x100001
push 0x1602bdd5
push 0x52021986
push 5
mov eax, 0xf
mov ebx, 0x659ab0
call fcn.00574998
add esp, 0x40
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x52d38b
push ebx
call fcn.00574992
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x52d39e
mov eax, 0x6bb514
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x100001
push 0x1602bdd5
push 0x52021986
push 5
mov eax, 0xf
mov ebx, 0x659ab0
call fcn.00574998
add esp, 0x40
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x52d3fa
mov eax, 0x6bb514
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x100001
push 0x1602bdd5
push 0x52021986
push 5
mov eax, 0xf
mov ebx, 0x659ab0
call fcn.00574998
add esp, 0x40
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x52d456
mov eax, 0x6bb514
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x100001
push 0x1602bdd5
push 0x52021986
push 5
mov eax, 0xf
mov ebx, 0x659ab0
call fcn.00574998
add esp, 0x40
push 0xe0002
push 0
push dword [ebp - 0xc]
push 1
mov eax, 0xd
mov ebx, 0x63ac10
call fcn.00574998
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x52d4d2
jmp 0x52d4da
pop eax
pop ebx
pop ecx
jmp 0x52d08a
add esp, 0xc
push 0xffffffffffffffff
push 0x11
push 0x1602bdd5
push 0x52021986
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x6bb645]
fstp qword [ebp - 0x44]
push 0xffffffffffffffff
push 0x12
push 0x1602bdd5
push 0x52021986
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [0x6bb645]
fstp qword [ebp - 0x58]
push 0x80000301
push 0
push 1
fld qword [ebp - 0x58]
call fcn.004022e4
push 0x80000301
push 0
push eax
fld qword [ebp - 0x44]
call fcn.004022e4
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0
push 0x100001
push 0x1602bdd5
push 0x52021986
push 6
mov eax, 0xf
mov ebx, 0x65a5d0
call fcn.00574998
add esp, 0x4c
push 0xffffffffffffffff
push 0x11
push 0x1602bdd5
push 0x52021986
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x6bb645]
fstp qword [ebp - 0x44]
push 0xffffffffffffffff
push 0x12
push 0x1602bdd5
push 0x52021986
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [0x6bb645]
fstp qword [ebp - 0x58]
push reloc.WS2_32.dll_bind
push 0
push 1
fld qword [ebp - 0x58]
call fcn.004022e4
push 0x80000301
push 0
push eax
fld qword [ebp - 0x44]
call fcn.004022e4
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0
push 0x100001
push 0x1602bdd5
push 0x52021986
push 6
mov eax, 0xf
mov ebx, 0x65ac80
call fcn.00574998
add esp, 0x4c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x52d66d
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x52d67d
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0xe0002
push 0
push ebx
push 1
mov eax, 0xd
mov ebx, 0x63a810
call fcn.00574998
add esp, 0x10
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0xe0001
push 0
push ebx
push 1
mov eax, 0xd
mov ebx, 0x639df0
call fcn.00574998
add esp, 0x10
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x52d6dd
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x52d6ed
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x52d6fd
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x52d70d
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x52d71d
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x52d72d
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x52d73d
push ebx
call fcn.00574992
add esp, 4
mov esp, ebp
pop ebp
ret