Function at 0x4114f1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0xc
call fcn.0043d40e
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x520bf7
push ebx
add ebx, 8
push ebx
push 8
call fcn.0043d40e
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040ab5a
pop ebx
mov dword [ebp - 0x20], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 0x521223
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push str.appver6.6.0.992kpnKUAISHOUmodiPhone11_2C6calat0sysios13.4.1ver6.6ispCTCCdid
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.https:__api3.gifshow.com_rest_n_user_thirdPlatform_info_lon0kpfIPHONEnet
mov ecx, 6
call fcn.004014a8
add esp, 0x18
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4115eb
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.client_key56c3713ccountry_codecnlanguagezh_Hans_CN_3Bq_3D1token
mov ecx, 2
call fcn.004014a8
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411625
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040b435
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41164d
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x24]
call fcn.0040a36f
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41167f
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
push dword [ebp - 0xc]
push str.sig
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.client_key56c3713ccountry_codecnlanguagezh_Hans_CN_3Bq_3D1token
push dword [ebp - 0x10]
push 0x520993
mov ecx, 6
call fcn.004014a8
add esp, 0x18
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4116c9
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 5
call fcn.0040b808
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4116ed
mov eax, 0x51fdcb
push eax
push 1
mov ebx, 0x43d9e0
call fcn.0043d41a
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x43f400
call fcn.0043d41a
add esp, 0x10
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push str._r_nUser_Agent:_kwai_ios_r_nAccept_Language:_zh_Hans_CN_q1_r_nContent_Length:
push dword [ebp - 0x24]
push str.Host:_apissl.ksapisrv.com_r_nAccept:_application_json_r_nContent_Type:_application_x_www_form_urlencoded_r_nConnection:_keep_alive_r_nX_REQUESTID:
mov ecx, 4
call fcn.004014a8
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41174d
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41175d
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411771
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push 0
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.0043d40e
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.0040c10f
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x411874
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x411884
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x411894
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4118a4
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4118b4
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4118c4
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4118d4
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x441960
call fcn.0043d41a
add esp, 0x10
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x5c]
push eax
call fcn.00410ada
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x411913
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411927
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x20
call fcn.0043d40e
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x24]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x411983
push ebx
call fcn.0043d414
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x411997
push ebx
call fcn.0043d414
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4119ab
push ebx
call fcn.0043d414
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4119bf
push ebx
call fcn.0043d414
add esp, 4
pop ebx
call fcn.0043d414
add esp, 4
push 1
mov eax, str.result
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4119f7
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411a2c
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
mov eax, str.binded_0_.platform
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x411a6b
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x411a7f
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 1
mov eax, str.result
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411ab2
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a27
push dword [ebp - 0x2c]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x411b01
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x411b5d
push getpeername
push 0
push 0x520a2b
push 0x80000301
push 0
push 0xb
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov eax, 0
jmp 0x411d5b
push 1
mov eax, str.result
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411b8c
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a23
push dword [ebp - 0x2c]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x411bdb
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x411c37
push getpeername
push 0
push 0x51fd90
push 0x80000301
push 0
push 0xb
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov eax, 0
jmp 0x411d5b
push 0x51fdcb
push dword [ebp - 0x20]
call fcn.004013a0
add esp, 8
cmp eax, 0
jne 0x411c6a
mov eax, 0x521464
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x411c66
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 1
mov eax, str.result
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411c99
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a34
push dword [ebp - 0x2c]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x411ce8
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x411d51
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x411d05
mov eax, 0x51fdcb
push eax
push 0x80000301
push 0
push 0xb
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov eax, 1
jmp 0x411d5b
mov eax, 0
jmp 0x411d5b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411d6c
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411d7c
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x411d8c
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x411d9c
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411dac
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411dbc
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x411ddc
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8