Function at 0x402d60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f971
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x498700]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x498700]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
mov edi, esi
call fcn.00404c30
call fcn.0040ae90
mov dword [esp + 0x10], eax
call fcn.0043ec5a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402dcc
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], 0
call fcn.0043ec5a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402e01
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0xb0], 1
call fcn.0043ec5a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402e33
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xb0], 2
call fcn.0043ec5a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402e65
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0xb0], 3
call fcn.0043ec5a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402e97
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xb0], 4
call fcn.0043ec5a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402ec9
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0xb0], 5
call fcn.0043ec5a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402efb
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov ebx, 8
mov byte [esp + 0xb0], 6
cmp dword [esi + 0x48], ebx
jb 0x402f22
mov eax, dword [esi + 0x34]
jmp 0x402f25
lea eax, [esi + 0x34]
push eax
lea ecx, [esp + 0x44]
push str.InstallationId_s
push ecx
call fcn.004090f0
mov edi, dword [ebp + 8]
add esp, 0xc
push edi
lea edx, [esp + 0x38]
push str.EventTypeID_d
push edx
call fcn.004090f0
add esp, 0xc
cmp edi, 1
jne 0x402ff6
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00403770
cmp dword [esi + 0x9c], ebx
jb 0x402f77
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x14], ecx
jmp 0x402f81
lea edx, [esi + 0x88]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x2c], ebx
jb 0x402f8b
mov ebx, dword [esi + 0x18]
jmp 0x402f8e
lea ebx, [esi + 0x18]
mov edi, dword [esp + 0x10]
add edi, 0xa38
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402fa0
sub eax, edx
sar eax, 1
jne 0x402fbb
mov edi, dword [esp + 0x10]
add edi, 0x1e6c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x3c]
push ebx
lea edx, [ecx + 0x38]
push edx
push eax
call fcn.0040d1d0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x20]
push eax
push edi
push edx
lea eax, [esp + 0x4c]
push str.InstallationData_brandId_:___d____countryCode_:___s____languageCode_:___d_____MachineData_:__s___TestData_:__s___startTime_:___s____FirstTime_:___s_
push eax
call fcn.004090f0
add esp, 0x24
mov ebx, 8
jmp 0x403006
push 0x13
push str.InstallationData
lea ecx, [esp + 0x38]
call fcn.00401ca0
cmp dword [esi + 0x258], ebx
jb 0x40301a
mov ecx, dword [esi + 0x244]
mov dword [esp + 0x14], ecx
jmp 0x403024
lea edx, [esi + 0x244]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x23c], ebx
jb 0x403038
mov eax, dword [esi + 0x228]
mov dword [esp + 0x28], eax
jmp 0x403042
lea ecx, [esi + 0x228]
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x290], ebx
jb 0x403056
mov edx, dword [esi + 0x27c]
mov dword [esp + 0x2c], edx
jmp 0x403060
lea eax, [esi + 0x27c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x274], ebx
jb 0x403074
mov ecx, dword [esi + 0x260]
mov dword [esp + 0x1c], ecx
jmp 0x40307e
lea edx, [esi + 0x260]
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x21c], ebx
jb 0x40308e
mov edi, dword [esi + 0x208]
jmp 0x403094
lea edi, [esi + 0x208]
cmp dword [esi + 0x17c], ebx
jb 0x4030a4
mov edx, dword [esi + 0x168]
jmp 0x4030aa
lea edx, [esi + 0x168]
cmp dword [esi + 0x200], ebx
jb 0x4030ba
mov ecx, dword [esi + 0x1ec]
jmp 0x4030c0
lea ecx, [esi + 0x1ec]
cmp dword [esi + 0x1e4], ebx
jb 0x4030d0
mov eax, dword [esi + 0x1d0]
jmp 0x4030d6
lea eax, [esi + 0x1d0]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x34]
push ebx
mov ebx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x20]
add ebx, 0x838
push ebx
mov ebx, dword [esp + 0x30]
push ebx
push edi
push edx
push ecx
push eax
lea eax, [esp + 0x40]
push str.EventData_setupUrl_:___s____AbortingStage_:___s____Duration_:__s___Error_:___s____CID_:___s____Serial_ID_:___s____ClientVersion_:___s____uninstallTime_:___s____uninstallReason_:___s____testVersion_:___d_
push eax
call fcn.004090f0
add esp, 0x30
cmp dword [ebp + 8], 0xb
jne 0x403173
push 2
push 0x480734
lea ecx, [esp + 0x20]
call fcn.00406800
lea ecx, [esp + 0x1c]
push ecx
call fcn.00405a30
mov byte [esp + 0xb0], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00406800
mov byte [esp + 0xb0], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403173
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x48073c
lea ecx, [esp + 0x20]
call fcn.00406800
push 0x480740
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00406360
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xbc], 8
call fcn.004062a0
add esp, 0xc
push 0x480740
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xbc], 9
call fcn.00406360
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xbc], 0xa
call fcn.004062a0
add esp, 0xc
push 0x480740
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xbc], 0xb
call fcn.00406360
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x24]
mov bl, 0xc
push edx
mov byte [esp + 0xbc], bl
call fcn.004062a0
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0xd
call fcn.00409000
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40325b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403283
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 8
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x220]
xor ebx, ebx
cmp eax, ebx
jbe 0x4033a8
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00410080
mov byte [esp + 0xb8], 0xe
mov edx, dword [eax]
mov eax, dword [esi + 0x220]
push edx
push eax
lea ecx, [esp + 0x4c]
push str.SystemError_Code_:_lu__Description_:__s_
push ecx
call fcn.004090f0
mov byte [esp + 0xc8], 6
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403386
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x480740
lea ecx, [esp + 0x28]
call fcn.00406800
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00406800
mov edi, dword [esp + 0x20]
mov eax, edi
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
lea edx, [eax + 2]
jmp 0x4033d0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4033d0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x8c]
call fcn.00406b60
mov byte [esp + 0xb0], 0xf
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x40340d
lea eax, [esp + 0x88]
mov ecx, dword [ebp + 8]
push eax
push ecx
push str.Reporting_event:__d__data_sent:__s
xor ebx, ebx
push ebx
push 0xbe
push str.CReportinServiceST::DoReportExec
call fcn.00430235
xor eax, eax
add esp, 0x18
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov word [esp + 0x78], bx
mov dword [esp + 0x7a], eax
mov dword [esp + 0x7e], eax
mov dword [esp + 0x82], eax
mov word [esp + 0x86], ax
mov word [esp + 0x68], bx
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov word [esp + 0x76], ax
mov word [esp + 0x58], bx
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov word [esp + 0x66], ax
mov word [esp + 0x48], bx
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov word [esp + 0x56], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
sub esp, 0x1c
mov dword [esp + 0x68], eax
lea ecx, [esp + 0xa0]
mov eax, esp
mov word [esp + 0x60], 8
mov dword [esp + 0x40], esp
call fcn.00409620
lea edi, [esp + 0x70]
call fcn.0040ffb0
mov eax, dword [esi + 0x10]
add esp, 0x1c
mov ecx, dword [esi + 4]
lea edx, [esp + 0x44]
push edx
mov edx, edi
push edx
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x80]
push edx
push eax
push str._bLLLL
push ebx
push ebx
push 1
push 0x68
push ecx
call fcn.00437d30
add esp, 0x2c
call fcn.00403670
cmp dword [esp + 0x9c], 8
jb 0x403512
mov eax, dword [esp + 0x88]
push eax
call fcn.00430f55
add esp, 4
mov byte [esp + 0xb0], 5
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403554
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40357c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40361c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403647
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0044de0c
mov esp, ebp
pop ebp
ret 4