Function at 0x4118f7
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x2b4]
sub esp, 0x334
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x2b0], eax
mov eax, dword [ebp + 0x2bc]
push ebx
push esi
push edi
xor edi, edi
push 0x98
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push edi
push eax
mov ebx, ecx
mov dword [ebp + 0x14], edi
call fcn.0044f280
mov esi, 0x9c
push esi
lea eax, [ebp + 0x14]
push edi
push eax
call fcn.0044f280
add esp, 0x18
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x411967
lea eax, [ebp + 0x14]
push eax
mov dword [ebp + 0x14], 0x94
call esi
mov esi, 0xff
push esi
lea eax, [ebp + 0xb1]
push edi
push eax
mov byte [ebp + 0xb0], 0
call fcn.0044f280
add esp, 0xc
push 0x100
lea eax, [ebp + 0xb0]
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0x58]
call fcn.0042ef80
lea eax, [ebp + 0xb0]
push eax
movzx eax, word [ebp + 0xa8]
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 0x58]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push str._d._d._dSP_d_s
push eax
call fcn.0042fd00
add esp, 0x1c
lea ecx, [ebp - 0x60]
call fcn.0042ef80
lea ecx, [ebp - 0x40]
call fcn.0042ef80
push edi
lea eax, [ebp - 0x40]
push eax
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsiexplore.exe
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040158e
add esp, 0x14
test eax, eax
je 0x411a3c
push esi
lea eax, [ebp + 0x1b1]
push edi
push eax
mov byte [ebp + 0x1b0], 0
call fcn.0044f280
add esp, 0xc
cmp byte [ebp - 0x39], 0xff
lea eax, [ebp - 0x40]
jne 0x411a1e
mov eax, dword [ebp - 0x40]
lea ecx, [ebp + 0x1b0]
push ecx
push eax
call fcn.00401bf8
pop ecx
pop ecx
lea eax, [ebp + 0x1b0]
push eax
lea ecx, [ebp - 0x60]
call fcn.0042f2d0
push str.unknown
lea ecx, [ebp - 0x68]
call fcn.0042f200
mov eax, dword [ebx + 0x220]
cmp eax, edi
jl 0x411a65
push eax
lea eax, [ebp - 0x68]
push 0x472964
push eax
call fcn.0042fd00
add esp, 0xc
mov esi, str.http:__log.realone.com_rpinst_log.txt
push esi
lea ecx, [ebp + 4]
call fcn.0042f200
push edi
lea eax, [ebp + 4]
push eax
push str.LogAction
push 3
call fcn.004056dc
add esp, 0x10
test eax, eax
jne 0x411a94
push esi
lea ecx, [ebp + 4]
call fcn.0042f2d0
push str._prodstub
lea ecx, [ebp + 4]
call fcn.0042f630
push dword [ebp - 8]
lea ecx, [ebp + 4]
call fcn.0042f690
push str.version
lea ecx, [ebp + 4]
call fcn.0042f630
push str.3.5.0.30
lea ecx, [ebp + 4]
call fcn.0042f630
lea eax, [ebx + 0x1c8]
push eax
lea eax, [ebp + 0xc]
push str.payload
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebx + 0x1c0]
push eax
lea eax, [ebp + 0xc]
push str.li
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea esi, [ebx + 0x1b8]
push esi
lea eax, [ebp + 0xc]
push str.distcode
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0xc]
push str.os
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0xc]
push str.ie
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xc]
push str.bw
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebx + 0x188]
push eax
lea eax, [ebp + 0xc]
push 0x473244
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea edi, [ebx + 0x1b0]
push esi
push edi
call fcn.0040d429
pop ecx
pop ecx
test al, al
je 0x411c12
push edi
lea eax, [ebp + 0xc]
push str.prevcode
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebx + 0xf8]
push eax
lea ecx, [ebp - 0x80]
call fcn.0042f130
lea eax, [ebx + 0x100]
push eax
lea ecx, [ebp - 0x78]
call fcn.0042f130
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xc]
push str.origcode
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xc]
push str.overcode
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea esi, [ebx + 0x1a8]
mov ecx, esi
call fcn.00401005
test al, al
jne 0x411cb0
push esi
lea eax, [ebp + 0xc]
push str.oldcode
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea esi, [ebx + 0x90]
mov ecx, esi
call fcn.00401005
test al, al
jne 0x411ce4
push esi
lea eax, [ebp + 0xc]
push str.prior_version
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebx + 0x80]
push eax
lea eax, [ebp + 0xc]
push str.xml_id
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebx + 0x88]
push eax
lea eax, [ebp + 0xc]
push str.pkg_id
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
test byte [ebp + 0x2c0], 1
je 0x411f01
lea ecx, [ebp + 0xc]
call fcn.0042ef80
lea ecx, [ebp - 0x10]
call fcn.0042ef80
lea eax, [ebp - 0x4d]
lea ecx, [ebx + 0x320]
push eax
call fcn.00411785
mov esi, eax
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x320]
jmp 0x411e4d
lea ecx, [ebp - 0x20]
call fcn.0040ff21
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], eax
call fcn.0040ff21
mov esi, eax
add esi, 8
cmp dword [esi], 0
je 0x411de9
lea ecx, [ebp + 0xc]
call fcn.00401005
test al, al
jne 0x411dc5
push 0x47396c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f220
lea ecx, [ebp - 0x38]
call fcn.0042f1e0
push dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042f950
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f220
lea ecx, [ebp - 0x30]
call fcn.0042f1e0
cmp dword [esi + 4], 0
je 0x411e45
lea ecx, [ebp - 0x10]
call fcn.00401005
test al, al
jne 0x411e21
push 0x47396c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.0042f220
lea ecx, [ebp - 0x28]
call fcn.0042f1e0
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f950
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.0042f220
lea ecx, [ebp - 4]
call fcn.0042f1e0
lea ecx, [ebp - 0x20]
call fcn.0040fdf1
lea eax, [ebp - 0x4d]
push eax
mov ecx, edi
call fcn.004117b5
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fe23
test al, al
je 0x411d76
lea ecx, [ebp + 0xc]
call fcn.0042ef90
mov esi, str.none
test eax, eax
ja 0x411e83
push esi
lea ecx, [ebp + 0xc]
call fcn.0042f2d0
lea ecx, [ebp - 0x10]
call fcn.0042ef90
test eax, eax
ja 0x411e98
push esi
lea ecx, [ebp - 0x10]
call fcn.0042f2d0
lea eax, [ebp - 0x10]
push eax
push str.accepted
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push str.displayed
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f950
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp - 4]
call fcn.0042f1e0
lea ecx, [ebp - 0x28]
call fcn.0042f1e0
lea ecx, [ebp - 0x30]
call fcn.0042f1e0
lea ecx, [ebp - 0x10]
call fcn.0042f1e0
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
test byte [ebp + 0x2c0], 2
je 0x412007
lea esi, [ebx + 0x180]
mov ecx, esi
call fcn.00401005
test al, al
je 0x411f2e
push str.shownnone
lea ecx, [ebp + 4]
call fcn.0042f630
jmp 0x411f51
push esi
lea eax, [ebp - 4]
push str.shown
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp - 4]
call fcn.0042f1e0
lea eax, [ebx + 0x178]
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f130
lea edi, [ebx + 0x170]
push 0x2c
mov ecx, edi
call fcn.0042efc0
mov esi, dword [ebx + 0x298]
inc esi
cmp esi, eax
mov dword [ebp - 8], eax
jg 0x411fbe
push esi
push 0x2c
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0042fac0
lea ecx, [ebp + 0xc]
call fcn.00401005
test al, al
jne 0x411fa4
push 0x473934
lea ecx, [ebp + 0xc]
call fcn.0042f630
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f690
lea ecx, [ebp - 0x10]
call fcn.0042f1e0
inc esi
cmp esi, dword [ebp - 8]
jle 0x411f7d
lea ecx, [ebp + 0xc]
call fcn.00401005
test al, al
je 0x411fd9
push str.notshownnone
lea ecx, [ebp + 4]
call fcn.0042f630
jmp 0x411fff
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push str.notshown
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp - 4]
call fcn.0042f1e0
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
test byte [ebp + 0x2c0], 4
je 0x41209a
lea esi, [ebx + 0x180]
mov ecx, esi
call fcn.00401005
test al, al
je 0x412034
push str.shownnone
lea ecx, [ebp + 4]
call fcn.0042f630
jmp 0x412057
push esi
lea eax, [ebp - 4]
push str.shown
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp - 4]
call fcn.0042f1e0
lea esi, [ebx + 0x178]
mov ecx, esi
call fcn.00401005
test al, al
je 0x412077
push str.notshownnone
lea ecx, [ebp + 4]
call fcn.0042f630
jmp 0x41209a
push esi
lea eax, [ebp - 4]
push str.notshown
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp - 4]
call fcn.0042f1e0
test byte [ebp + 0x2c0], 8
je 0x41218b
lea ecx, [ebp + 0xc]
call fcn.0042ef80
lea eax, [ebp - 0x4d]
lea ecx, [ebx + 0x306]
push eax
call fcn.00411785
mov esi, eax
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x306]
jmp 0x41215b
lea ecx, [ebp - 0x20]
call fcn.0040ff21
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.0040ff21
add eax, 0x10
push eax
push 0x4728dc
push edi
push str.rcode
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042f950
add esp, 0xc
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f950
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f220
lea ecx, [ebp - 4]
call fcn.0042f1e0
lea ecx, [ebp - 0x28]
call fcn.0042f1e0
lea ecx, [ebp - 0x30]
call fcn.0042f1e0
lea ecx, [ebp - 0x38]
call fcn.0042f1e0
lea ecx, [ebp - 0x20]
call fcn.0040fe79
lea eax, [ebp - 0x4d]
push eax
mov ecx, esi
call fcn.004117b5
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fe23
test al, al
je 0x4120d2
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
test byte [ebp + 0x2c0], 0x10
je 0x4122b4
lea ecx, [ebp + 0xc]
call fcn.0042ef80
lea eax, [ebp - 0x4d]
lea ecx, [ebx + 0x306]
push eax
call fcn.00411785
mov esi, eax
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x306]
jmp 0x412284
lea ecx, [ebp - 0x20]
call fcn.0040ff21
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], eax
call fcn.0040ff21
mov esi, eax
lea ecx, [ebp - 0x10]
add esi, 8
call fcn.0042ef80
mov esi, dword [esi + 4]
test esi, esi
je 0x412203
lea eax, [ebp + 0x1b0]
push eax
call esi
pop ecx
lea eax, [ebp + 0x1b0]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042f2d0
lea eax, [ebp - 0x10]
push eax
push 0x4728dc
push dword [ebp - 8]
lea eax, [ebp + 0xc]
push str.rcode
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042f950
add esp, 0xc
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f950
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f220
lea ecx, [ebp - 4]
call fcn.0042f1e0
lea ecx, [ebp - 0x28]
call fcn.0042f1e0
lea ecx, [ebp - 0x30]
call fcn.0042f1e0
lea ecx, [ebp - 0x38]
call fcn.0042f1e0
lea ecx, [ebp - 0x10]
call fcn.0042f1e0
lea ecx, [ebp - 0x20]
call fcn.0040fe79
lea eax, [ebp - 0x4d]
push eax
mov ecx, edi
call fcn.004117b5
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fe23
test al, al
je 0x4121c3
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.0040dc57
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp - 4]
call fcn.0042f1e0
lea eax, [ebx + 0xf0]
push eax
lea ecx, [ebp - 0x70]
call fcn.0042f130
lea ecx, [ebp - 0x70]
call fcn.00401005
test al, al
jne 0x412311
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 4]
push 0x472c08
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f690
lea ecx, [ebp - 4]
call fcn.0042f1e0
push 0x4727a6
lea ecx, [ebp + 0xc]
call fcn.0042f200
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 4]
push eax
mov ecx, ebx
call fcn.0040daaf
lea ecx, [ebp + 0xc]
call fcn.0042f1e0
lea ecx, [ebp - 0x70]
call fcn.0042f1e0
lea ecx, [ebp - 0x78]
call fcn.0042f1e0
lea ecx, [ebp - 0x80]
call fcn.0042f1e0
lea ecx, [ebp + 4]
call fcn.0042f1e0
lea ecx, [ebp - 0x68]
call fcn.0042f1e0
lea ecx, [ebp - 0x40]
call fcn.0042f1e0
lea ecx, [ebp - 0x60]
call fcn.0042f1e0
lea ecx, [ebp - 0x58]
call fcn.0042f1e0
mov ecx, dword [ebp + 0x2b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0x2b4
leave
ret 8