Function at 0x5724aa
Capabilities:
Get geographical location
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push 0x998
mov eax, 0x58d2bc
call fcn.00532017
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x834], esp
inc ebx
push str.uninstall
call fcn.004036e4
and dword [ebp - 4], 0
xor ecx, ecx
call fcn.005795a4
or esi, 0xffffffff
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.0057930f
test al, al
je 0x5724f2
push 2
pop edi
jmp 0x572525
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.reinstall
call fcn.004036e4
xor ecx, ecx
mov dword [ebp - 4], ebx
call fcn.005795a4
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00579433
cmp eax, ebx
mov edi, ebx
push 5
pop eax
cmovne edi, eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.usersettings
call fcn.004036e4
xor ecx, ecx
mov dword [ebp - 4], 2
call fcn.005795a4
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00579433
sub esp, 0x18
mov dword [ebp - 0x838], eax
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.sessioncode
call fcn.004036e4
xor ecx, ecx
mov dword [ebp - 4], 3
call fcn.005795a4
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00579433
lea ecx, [ebp - 0x82c]
mov ebx, eax
call fcn.0057bc3a
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 4
push 0
push eax
call fcn.0054b1f0
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.source
call fcn.004036e4
push 5
pop eax
mov byte [ebp - 4], al
xor ecx, ecx
lea eax, [ebp - 0x9a4]
push eax
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.005794b5
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x98c]
call fcn.00579833
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x5725fd
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.trafficsourceid
call fcn.004036e4
lea eax, [ebp - 0x974]
mov byte [ebp - 4], 8
push eax
xor ecx, ecx
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.005794b5
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x95c]
call fcn.00579833
push 8
pop esi
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], esi
jb 0x57264f
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.mydistributionoption
call fcn.004036e4
xor ecx, ecx
mov byte [ebp - 4], 0xb
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00579433
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.distribution
call fcn.004036e4
xor ecx, ecx
mov byte [ebp - 4], 0xc
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00579433
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.configurationfields
call fcn.004036e4
xor ecx, ecx
mov byte [ebp - 4], 0xd
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00579433
push eax
lea eax, [ebp - 0x944]
xor ecx, ecx
push eax
call fcn.005795a4
mov ecx, eax
call fcn.00405335
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x92c]
call fcn.00579833
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], esi
jb 0x572705
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.refererid
call fcn.004036e4
xor ecx, ecx
mov byte [ebp - 4], 0x10
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00579433
push eax
lea ecx, [ebp - 0x914]
call fcn.0057bd8c
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x8fc]
call fcn.00579833
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], esi
jb 0x572759
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8e4]
call fcn.004052d8
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x8cc]
call fcn.00579833
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], esi
jb 0x572781
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.countrycode
call fcn.004036e4
lea eax, [ebp - 0x8b4]
mov byte [ebp - 4], 0x15
push eax
xor ecx, ecx
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.005794b5
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], esi
jb 0x5727bf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x89c]
call fcn.0057bee1
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x884]
call fcn.00579833
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], esi
jb 0x5727e7
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push str.birthdate
call fcn.004036e4
xor ecx, ecx
mov byte [ebp - 4], 0x19
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00579433
push 0
mov esi, eax
call fcn.00555310
pop ecx
sub eax, esi
lea edx, [ebp - 0x82c]
push eax
push ebx
lea ecx, [ebp - 0x86c]
call fcn.00579833
mov byte [ebp - 4], 0x1a
cmp dword [eax + 0x14], 8
jb 0x57283e
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push 0x5c5424
call fcn.004036e4
lea eax, [ebp - 0x854]
mov byte [ebp - 4], 0x1b
push eax
xor ecx, ecx
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.005794b5
cmp dword [eax + 0x14], 8
jb 0x572879
mov eax, dword [eax]
push eax
push dword [ebp - 0x838]
lea eax, [ebp - 0x810]
push edi
push str.6ae76ba4_7119_45c8_94ed_52f23abece69
push str._s_json_RaiseInstallEventMethod__InstallFlags_dUserSettings_dAppInstanceId_sVersion_sSessionCode_dDuration_dSlot1OperatingSystem_sCDNCountryCode_sErrorCode_sBrowserSettings0DefaultBrowser_sMonetisationOption1RefId_dClientTypeMCC_ASYNCCommandLine_sConfigurationFields_dDistribution_dmydistributionoption_dsourceid_saffiliatesource_s
push 0x400
push eax
call fcn.0040535a
add esp, 0x54
lea ecx, [ebp - 0x854]
xor ebx, ebx
xor edi, edi
inc edi
push ebx
push edi
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x86c]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x884]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x89c]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x8b4]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x8cc]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x8e4]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x8fc]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x914]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x92c]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x944]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x95c]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x974]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x98c]
call fcn.00403a36
push ebx
push edi
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 4
call fcn.00403a36
push ebx
push ebx
push ebx
mov esi, ebx
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x814], ebx
push ebx
push str.Mozilla_4.0__compatible__MSIE_7.0__Trident_5.0___IM_CustomChannel_
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x834], eax
test eax, eax
jne 0x57299f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572abf
push ebx
push 0x50
push str.data.bd_pl.com
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
mov dword [ebp - 0x838], ebx
test ebx, ebx
jne 0x5729c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572ab1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x810]
push eax
push 0x5c5370
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
jne 0x5729f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572aa7
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
je 0x572a14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572aa0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x572a07
and dword [ebp - 0x830], esi
lea eax, [ebp - 0x830]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x572a8a
mov eax, dword [ebp - 0x830]
inc eax
push eax
call fcn.00415936
mov ebx, eax
pop ecx
test ebx, ebx
je 0x572a94
mov ecx, dword [ebp - 0x830]
inc ecx
push ecx
push 0
push ebx
call fcn.0054b1f0
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 0x830]
push ebx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x572a8a
push ebx
call fcn.0041593f
pop ecx
cmp dword [ebp - 0x830], esi
ja 0x572a21
jmp 0x572a9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572a9a
and dword [ebp - 0x830], esi
mov ebx, dword [ebp - 0x838]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor edi, edi
inc edi
push dword [ebp - 0x834]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor ebx, ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x834], esp
push 0x5c52a4
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x838], esp
push 0x5c4ffe
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov ecx, esp
push str.SendInstallEvent
call fcn.004036e4
mov dl, bl
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00572131
add esp, 0x48
lea ecx, [ebp - 0x82c]
push ebx
push edi
call fcn.00403a36
test esi, esi
sete al
call fcn.00531fc1
ret