Function at 0x40663b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
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
push 4
call fcn.0057499e
add esp, 4
mov dword [ebp - 0x10], 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 - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x6bb514
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040110c
add esp, 8
cmp eax, 0
jne 0x406709
mov eax, str.select_city_cityID_cityCode_usrid_child_id_usrname_dw_jc_child_name_db_ver_extrainfo_from_usrinfo
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406700
push ebx
call fcn.00574992
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x406740
push 0x888f73
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.select_usrid_child_id_child_name_child_address_as_address_child_lxdh_as_lxdh_jcqx_checktype_fy_checktype_kh_zdkq_hidden_qzgj_extrainfo_from_child_where_child_id
mov ecx, 3
call fcn.004010a8
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40673c
push ebx
call fcn.00574992
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040406f
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 0x407390
push 0xe0002
push 0
push dword [ebp - 0xc]
push 1
mov eax, 0xd
mov ebx, 0x63acb0
call fcn.00574998
add esp, 0x10
push 0xe0001
push 0
lea eax, [ebp - 0x10]
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
push 0xc383dc
push reloc.WS2_32.dll_connect
push 0
push str.city
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383e0
push reloc.WS2_32.dll_connect
push 0
push str.cityCode
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383e4
push reloc.WS2_32.dll_connect
push 0
push str.cityID
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc38398
push reloc.WS2_32.dll_connect
push 0
push str.usrid
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383b4
push reloc.WS2_32.dll_connect
push 0
push 0x889033
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383d4
push reloc.WS2_32.dll_connect
push 0
push str.usrname
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383e8
push reloc.WS2_32.dll_connect
push 0
push str.dw_jc
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383d8
push reloc.WS2_32.dll_connect
push 0
push str.child_name
push 0xe0001
push 0
push dword [ebp - 0x10]
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 - 0x14]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.db_ver
push 0xe0001
push 0
push dword [ebp - 0x10]
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 - 0x18]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.extrainfo
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push 0x6bb514
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040110c
add esp, 8
cmp eax, 0
je 0x406b0f
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0xc38398]
test eax, eax
jne 0x406a51
mov eax, 0x6bb514
push eax
push 2
mov ebx, 0x5753e0
call fcn.005749a4
add esp, 0x1c
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x406a7a
mov eax, 0x6bb514
push eax
push 1
mov ebx, 0x575880
call fcn.005749a4
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x406aa0
push ebx
call fcn.00574992
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.TMP_
push 1
mov ebx, 0x575880
call fcn.005749a4
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x24]
call fcn.0040110c
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406aee
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x406afe
push ebx
call fcn.00574992
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x406b0f
mov eax, 1
jmp 0x406b11
xor eax, eax
test eax, eax
je 0x406d4f
push reloc.WS2_32.dll_connect
push 0
push 0xc383ec
push reloc.WS2_32.dll_connect
push 0
push str.address
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383f0
push reloc.WS2_32.dll_connect
push 0
push str.lxdh
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383f4
push reloc.WS2_32.dll_connect
push 0
push str.jcqx
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383f8
push reloc.WS2_32.dll_connect
push 0
push str.zdkq
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc383fc
push reloc.WS2_32.dll_connect
push 0
push str.checktype_fy
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc38400
push reloc.WS2_32.dll_connect
push 0
push str.checktype_kh
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc38404
push reloc.WS2_32.dll_connect
push 0
push str.hidden
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0xc38408
push reloc.WS2_32.dll_connect
push 0
push str.qzgj
push 0xe0001
push 0
push dword [ebp - 0x10]
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 - 0x18]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.extrainfo
push 0xe0001
push 0
push dword [ebp - 0x10]
push 3
mov eax, 0xd
mov ebx, 0x63a690
call fcn.00574998
add esp, 0x28
push 1
push 0xc3840c
lea eax, [ebp - 0x18]
push eax
call fcn.00407426
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0xc383b4
call fcn.0040797e
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x406d4a
push ebx
call fcn.00574992
add esp, 4
jmp 0x406f80
mov eax, dword [0xc383b4]
test eax, eax
je 0x406d6d
push eax
mov ebx, eax
call fcn.0040103d
inc eax
push eax
call fcn.0057499e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0xc38410]
test ebx, ebx
je 0x406d81
push ebx
call fcn.00574992
add esp, 4
pop eax
mov dword [0xc38410], eax
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0xc38398]
test eax, eax
jne 0x406da8
mov eax, 0x6bb514
push eax
push 2
mov ebx, 0x5753e0
call fcn.005749a4
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x406dd1
mov eax, 0x6bb514
push eax
push 1
mov ebx, 0x575880
call fcn.005749a4
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x406df7
push ebx
call fcn.00574992
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push 0x8890a8
push 1
mov ebx, 0x575880
call fcn.005749a4
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call fcn.0040110c
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x406e45
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406e55
push ebx
call fcn.00574992
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x406f80
push 1
push 0xc3840c
lea eax, [ebp - 0x18]
push eax
call fcn.00407426
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0xc383b4
call fcn.0040797e
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x406e90
push ebx
call fcn.00574992
add esp, 4
push 0x6bb514
push dword [0xc383d8]
call fcn.0040110c
add esp, 8
cmp eax, 0
jne 0x406f80
mov eax, 0x8890ac
push eax
mov ebx, dword [0xc383d8]
test ebx, ebx
je 0x406ec5
push ebx
call fcn.00574992
add esp, 4
pop eax
mov dword [0xc383d8], eax
mov eax, str.update_child_set_child_name
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406ee1
push ebx
call fcn.00574992
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 8
call fcn.0057499e
add esp, 4
mov dword [ebp - 0x1c], 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
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040406f
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406f58
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x1c]
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
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x406f93
mov eax, 0x6bb514
push eax
push 1
mov ebx, 0x575960
call fcn.005749a4
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fld qword [ebp - 0x28]
fsub qword [0x8890e4]
fcomp qword [0x6bb731]
fnstsw ax
test ah, 1
je 0x40700d
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x406fd9
mov eax, 0x6bb514
push eax
push 1
mov ebx, 0x575960
call fcn.005749a4
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
fld qword [ebp - 0x3c]
fcomp qword [0x6bb63d]
fnstsw ax
test ah, 0x41
jne 0x40700d
mov eax, 1
jmp 0x40700f
xor eax, eax
test eax, eax
je 0x407051
push 0
push 0
push 0
push 0x80000301
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x8890ec
push 3
mov ebx, 0x578040
call fcn.005749a4
add esp, 0x28
push 0
call fcn.005749c2
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0xc38404]
test eax, eax
jne 0x407066
mov eax, 0x6bb514
push eax
push 1
mov ebx, 0x575960
call fcn.005749a4
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fld qword [ebp - 0x28]
fsub qword [0x6bb645]
ftst
fnstsw ax
test ah, 1
je 0x407093
fchs
fcomp qword [0x6bb63d]
fnstsw ax
test ah, 0x41
je 0x407152
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x1601001f
push 0x52010018
call fcn.005749b0
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16019b71
push 0x52010018
call fcn.005749b0
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16019b72
push 0x52010018
call fcn.005749b0
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16012f33
push 0x52010018
call fcn.005749b0
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16012f43
push 0x52010018
call fcn.005749b0
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16023039
push 0x52010018
call fcn.005749b0
add esp, 0x18
push 0
push 0x889121
push 0xffffffffffffffff
push 8
push 0x6010019
push 0x52010018
call fcn.005749b0
add esp, 0x18
push 0x6bb514
push dword [0xc383d4]
call fcn.0040110c
add esp, 8
cmp eax, 0
je 0x4071f8
push 0xffffffffffffffff
push 8
push 0x6010019
push 0x52010018
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [0xc383e8]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004010a8
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4071cd
push ebx
call fcn.00574992
add esp, 4
push 0
push dword [ebp - 0x20]
push 0xffffffffffffffff
push 8
push 0x6010019
push 0x52010018
call fcn.005749b0
add esp, 0x18
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4071f8
push ebx
call fcn.00574992
add esp, 4
push 0x6bb514
push dword [0xc383d8]
call fcn.0040110c
add esp, 8
cmp eax, 0
je 0x407286
push 0xffffffffffffffff
push 8
push 0x6010019
push 0x52010018
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [0xc383d8]
push 0x6bb656
push dword [ebp - 0x1c]
mov ecx, 3
call fcn.004010a8
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40725b
push ebx
call fcn.00574992
add esp, 4
push 0
push dword [ebp - 0x20]
push 0xffffffffffffffff
push 8
push 0x6010019
push 0x52010018
call fcn.005749b0
add esp, 0x18
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407286
push ebx
call fcn.00574992
add esp, 4
push 0x6bb514
push dword [0xc383b4]
call fcn.0040110c
add esp, 8
cmp eax, 0
je 0x407324
push 0xffffffffffffffff
push 8
push 0x6010019
push 0x52010018
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x6bbb51
push dword [0xc383b4]
push 0x6bb656
push dword [0xc38398]
push 0x6bbb53
push dword [ebp - 0x1c]
mov ecx, 6
call fcn.004010a8
add esp, 0x18
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4072f9
push ebx
call fcn.00574992
add esp, 4
push 0
push dword [ebp - 0x20]
push 0xffffffffffffffff
push 8
push 0x6010019
push 0x52010018
call fcn.005749b0
add esp, 0x18
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407324
push ebx
call fcn.00574992
add esp, 4
push 0xffffffffffffffff
push 8
push 0x6010019
push 0x52010018
call fcn.005749aa
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x6bbb55
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004010a8
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407365
push ebx
call fcn.00574992
add esp, 4
push 0
push dword [ebp - 0x20]
push 0xffffffffffffffff
push 8
push 0x6010019
push 0x52010018
call fcn.005749b0
add esp, 0x18
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407390
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4073a0
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4073b0
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 - 0x10]
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 - 0x14]
test ebx, ebx
je 0x407410
push ebx
call fcn.00574992
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407420
push ebx
call fcn.00574992
add esp, 4
mov esp, ebp
pop ebp
ret 8