Function at 0x42fab0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44561c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5a8
mov eax, dword [ecx + 0x24]
push ebx
push esi
lea esi, [ecx + 0x24]
mov dword [ebp - 0x50], ecx
push edi
mov ecx, esi
mov dword [ebp - 0x28], esi
call dword [eax + 4]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x63], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x5f], ecx
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x5b], ecx
mov dword [ebp - 0x57], ecx
mov word [ebp - 0x53], cx
mov byte [ebp - 0x51], cl
lea ecx, [ebp - 0x2a8]
call fcn.00428740
push edi
push edi
mov byte [ebp - 4], 1
call fcn.00430380
push eax
lea ecx, [ebp - 0x2a8]
call fcn.004287e0
lea edx, [ebp - 0x64]
push 0x14
push edx
push str.city_code
push str.CONFIG
lea ecx, [ebp - 0x2a8]
call fcn.00428870
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0
call fcn.004287d0
mov eax, dword [ebp + 8]
push eax
call fcn.00430360
push eax
push str._s_s_unCheck.xml
lea ecx, [ebp - 0x3ac]
push 0x104
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea edx, [ebp - 0x3ac]
push edi
push edx
call fcn.00427670
test eax, eax
jne 0x42fb91
mov eax, dword [esi]
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
jmp 0x43012f
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], edi
mov edx, 0x454af8
mov byte [ebp - 4], 3
test edx, edx
je 0x42fce5
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call ebx
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00441e20
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push 0x454af8
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x42fbf9
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
jmp 0x42fc06
push 7
push 0
push edi
lea ecx, [ebp - 0x14]
call fcn.0041b220
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42fce5
lea ecx, [ebp - 0x3ac]
push ecx
push eax
call fcn.004305a0
add esp, 8
test eax, eax
jne 0x42fc4e
lea ecx, [ebp - 0x14]
call fcn.0041b1f0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x42fc3a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x430132
mov dword [ebp - 0x18], 0
push 0x454af8
mov byte [ebp - 4], 4
call ebx
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00441e20
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push 0x454af8
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x42fc9a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
jmp 0x42fca7
push 7
push 0
push edi
lea ecx, [ebp - 0x18]
call fcn.0041b220
call fcn.00430200
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
push str._slstmat.xml
lea eax, [ebp - 0x190]
push 0x104
push eax
call ebx
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x190]
push ecx
push edx
call fcn.004305a0
add esp, 0x18
test eax, eax
jne 0x42fcfd
lea ecx, [ebp - 0x18]
call fcn.0041b1f0
lea ecx, [ebp - 0x14]
call fcn.0041b1f0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x430123
jmp 0x43011d
push ecx
mov dword [ebp - 0x38], esp
mov esi, esp
push 0xc
call fcn.0041b540
add esp, 4
mov dword [ebp - 0x34], eax
xor edi, edi
mov byte [ebp - 4], 5
cmp eax, edi
je 0x42fd28
push str._Info_verID
mov ecx, eax
call fcn.0041b4b0
jmp 0x42fd2a
xor eax, eax
cmp eax, edi
mov byte [ebp - 4], 4
mov dword [esi], eax
jne 0x42fd3e
push 0x8007000e
call fcn.0044292e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041b200
mov ecx, eax
call fcn.0041aed0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp eax, edi
jne 0x42fd6d
push 0x80004003
call fcn.0044292e
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov esi, eax
call dword [edx + 0x20]
cmp eax, edi
jge 0x42fd89
push 0x454ba0
push esi
push eax
call fcn.0044293c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edi
cmp eax, edi
jle 0x43001b
cmp dword [ebp - 0x1c], edi
jne 0x42fda6
push 0x80004003
call fcn.0044292e
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
push edx
call fcn.0041b030
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 8
cmp ecx, edi
je 0x42ff3f
lea eax, [ebp - 0x20]
push eax
call fcn.0041acf0
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0041b300
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x42fde5
call fcn.0041b4f0
jmp 0x42fde7
xor eax, eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x294]
push ecx
push eax
push str._Video_No__s___PlaceName__s___Download__0_or_Download_____
push 0x104
push edx
call ebx
add esp, 0x10
mov dword [ebp - 0x48], esp
mov esi, esp
push 0xc
call fcn.0041b540
add esp, 4
mov dword [ebp - 0x4c], eax
cmp eax, edi
mov byte [ebp - 4], 0xa
je 0x42fe2c
lea ecx, [ebp - 0x294]
push ecx
mov ecx, eax
call fcn.0041b4b0
jmp 0x42fe2e
xor eax, eax
cmp eax, edi
mov byte [ebp - 4], 9
mov dword [esi], eax
jne 0x42fe42
push 0x8007000e
call fcn.0044292e
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 9
call fcn.0041b200
mov ecx, eax
call fcn.0041af80
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041b300
lea ecx, [ebp - 0x38]
call fcn.0041b1f0
cmp dword [ebp - 0x10], edi
je 0x42ffe9
push ecx
mov dword [ebp - 0x4c], esp
mov esi, esp
push 0xc
call fcn.0041b540
add esp, 4
mov dword [ebp - 0x48], eax
cmp eax, edi
mov byte [ebp - 4], 0xc
je 0x42fe9e
push str.city_code
mov ecx, eax
call fcn.0041b4b0
jmp 0x42fea0
xor eax, eax
cmp eax, edi
mov byte [ebp - 4], 9
mov dword [esi], eax
jne 0x42feb4
push 0x8007000e
call fcn.0044292e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041b200
mov ecx, eax
call fcn.0041af80
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
cmp ecx, edi
je 0x42ff5c
lea edx, [ebp - 0x30]
push edx
call fcn.0041acf0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.0041b300
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x42ff50
mov eax, dword [eax]
cmp eax, edi
je 0x42ff50
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jbe 0x42ff50
mov ecx, dword [ebp - 0x30]
cmp ecx, edi
je 0x42ff16
call fcn.0041b4f0
jmp 0x42ff18
xor eax, eax
lea ecx, [ebp - 0x64]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x42ff50
lea ecx, [ebp - 0x30]
call fcn.0041b460
lea ecx, [ebp - 0x2c]
call fcn.0041b1f0
lea ecx, [ebp - 0x20]
call fcn.0041b460
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0041b1f0
jmp 0x430009
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.0041b460
push edi
lea ecx, [ebp - 0x10]
call fcn.0041b300
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x42ff73
call fcn.0041b4f0
jmp 0x42ff75
xor eax, eax
push eax
call fcn.00430340
push eax
push 0x453924
lea edx, [ebp - 0x190]
push 0x104
push edx
call ebx
add esp, 0x14
lea eax, [ebp - 0x190]
push edi
push eax
call fcn.00427670
test eax, eax
je 0x43014b
lea ecx, [ebp - 0x190]
lea edx, [ebp - 0x5b4]
push ecx
push str._s_DIR
push 0x104
push edx
call ebx
add esp, 0x10
lea eax, [ebp - 0x5b4]
lea ecx, [ebp - 0x190]
push edi
push eax
push ecx
call fcn.00427c10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp eax, edi
je 0x42ffe9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x42fff8
call fcn.00413ac0
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x430009
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, ecx
mov dword [ebp - 0x3c], eax
jl 0x42fd97
mov ecx, dword [ebp + 8]
push ecx
call fcn.00430360
push eax
push str._s_s.xml
lea edx, [ebp - 0x4b0]
push 0x104
push edx
call ebx
lea eax, [ebp - 0x4b0]
lea ecx, [ebp - 0x3ac]
push eax
push ecx
call fcn.004283f0
add esp, 0x1c
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
push edx
push 1
call fcn.00417ff0
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
mov ecx, eax
mov edx, esi
and ecx, 0xffff
push ecx
mov ecx, 0x10
call fcn.00441ff0
and eax, 0xffff
mov ecx, esi
push eax
mov eax, esi
sar ecx, 0x10
mov edx, esi
and eax, 0xffff
and ecx, 0xffff
push eax
sar edx, 0x1f
push ecx
push str._u._02u._02u._02u
lea edx, [ebp - 0x8c]
push 0x28
push edx
sar esi, 0x1f
call ebx
mov eax, dword [ebp + 8]
add esp, 0x1c
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x4b0]
push eax
push ecx
push str.http:__midInfo.baofeng.com_mid_downSucc.html_ver_spl_id_s
push 0x104
push edx
call ebx
mov ecx, dword [ebp - 0x50]
add esp, 0x14
lea eax, [ebp - 0x4b0]
mov ecx, dword [ecx + 0x1004c]
push eax
call fcn.00437490
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp eax, edi
je 0x4300f6
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x430107
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x430118
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp dword [ebp - 0x24], edi
je 0x430123
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x5c0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp eax, edi
je 0x43015c
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x20]
call fcn.0041b460
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x430175
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp eax, edi
je 0x430186
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x430197
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x4301a8
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp dword [ebp - 0x24], edi
je 0x430123
jmp 0x43011d