Function at 0x409f4a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.sigtoken
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.country_codecnlanguagezh_Hans_CN_3Bq_3D1recordId
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.client_key
mov ecx, 6
call fcn.0040110c
add esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409faa
push ebx
call fcn.00478853
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, str.https:__mate.ksapisrv.com_rest_n_live_mate_authortask_drawReward_appver5.11.12.430
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409fc4
push ebx
call fcn.00478853
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 8
call fcn.0047884d
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
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
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, str.User_Agent:_kwai_android_r_nConnection:_keep_alive_r_nAccept_Language:_zh_cn_r_nContent_Type:_application_x_www_form_urlencoded_r_nContent_Length:_444_r_nHost:_mate.gifshow.com
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
push 1
lea eax, [ebp - 8]
push eax
call fcn.00401a1e
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40a0d4
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40a0e4
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40a0f4
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a104
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a114
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a124
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40a134
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40a144
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x47e560
call fcn.00478865
add esp, 0x10
call fcn.00478853
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40a17a
mov eax, 0x548d23
push eax
push 1
mov ebx, 0x47a740
call fcn.00478865
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40a1a0
push ebx
call fcn.00478853
add esp, 4
push 1
push 1
lea eax, [ebp - 0x54]
push eax
call fcn.00406440
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40a1c3
push ebx
call fcn.00478853
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a1d7
push ebx
call fcn.00478853
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x40a1f7
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0047884d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40a1fc
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a20d
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a21d
push ebx
call fcn.00478853
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a22d
push ebx
call fcn.00478853
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc