Function at 0x4118ca
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.0044f270
mov esi, 0x9c
push esi
lea eax, [ebp + 0x14]
push edi
push eax
call fcn.0044f270
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 0x41193a
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.0044f270
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.0042ef70
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.0042fcf0
add esp, 0x1c
lea ecx, [ebp - 0x60]
call fcn.0042ef70
lea ecx, [ebp - 0x40]
call fcn.0042ef70
push edi
lea eax, [ebp - 0x40]
push eax
push edi
push str.SOFTWARE_MicrosoftWij_owsCurrentVersionApp_Pathsiexplore.exe
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040158e
add esp, 0x14
test eax, eax
je 0x411a0f
push esi
lea eax, [ebp + 0x1b1]
push edi
push eax
mov byte [ebp + 0x1b0], 0
call fcn.0044f270
add esp, 0xc
cmp byte [ebp - 0x39], 0xff
lea eax, [ebp - 0x40]
jne 0x4119f1
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.0042f2c0
push str.unknown
lea ecx, [ebp - 0x68]
call fcn.0042f1f0
mov eax, dword [ebx + 0x220]
cmp eax, edi
jl 0x411a38
push eax
lea eax, [ebp - 0x68]
push 0x472964
push eax
call fcn.0042fcf0
add esp, 0xc
mov esi, str.http:__log.realone.com_rpinst_log.txt
push esi
lea ecx, [ebp + 4]
call fcn.0042f1f0
push edi
lea eax, [ebp + 4]
push eax
push str.LogAction
push 3
call fcn.004056dc
add esp, 0x10
test eax, eax
jne 0x411a67
push esi
lea ecx, [ebp + 4]
call fcn.0042f2c0
push str._xrodstub
lea ecx, [ebp + 4]
call fcn.0042f620
push dword [ebp - 8]
lea ecx, [ebp + 4]
call fcn.0042f680
push str.version
lea ecx, [ebp + 4]
call fcn.0042f620
push 0x47367c
lea ecx, [ebp + 4]
call fcn.0042f620
lea eax, [ebx + 0x1c8]
push eax
lea eax, [ebp + 0xc]
push str.payload
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebx + 0x1c0]
push eax
lea eax, [ebp + 0xc]
push str.li
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea esi, [ebx + 0x1b8]
push esi
lea eax, [ebp + 0xc]
push str.distcode
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0xc]
push str.os
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0xc]
push str.ie
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xc]
push str.bw
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebx + 0x188]
push eax
lea eax, [ebp + 0xc]
push str.loc
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea edi, [ebx + 0x1b0]
push esi
push edi
call fcn.0040d3fc
pop ecx
pop ecx
test al, al
je 0x411be5
push edi
lea eax, [ebp + 0xc]
push str.prevcode
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebx + 0xf8]
push eax
lea ecx, [ebp - 0x80]
call fcn.0042f120
lea eax, [ebx + 0x100]
push eax
lea ecx, [ebp - 0x78]
call fcn.0042f120
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xc]
push str.origcode
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xc]
push str.overcode
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea esi, [ebx + 0x1a8]
mov ecx, esi
call fcn.00401005
test al, al
jne 0x411c83
push esi
lea eax, [ebp + 0xc]
push str.oldcode
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea esi, [ebx + 0x90]
mov ecx, esi
call fcn.00401005
test al, al
jne 0x411cb7
push esi
lea eax, [ebp + 0xc]
push str.prior_version
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebx + 0x80]
push eax
lea eax, [ebp + 0xc]
push str.xml_id
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebx + 0x88]
push eax
lea eax, [ebp + 0xc]
push str.pkg_id
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
test byte [ebp + 0x2c0], 1
je 0x411ed4
lea ecx, [ebp + 0xc]
call fcn.0042ef70
lea ecx, [ebp - 0x10]
call fcn.0042ef70
lea eax, [ebp - 0x4d]
lea ecx, [ebx + 0x320]
push eax
call fcn.00411758
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 0x411e20
lea ecx, [ebp - 0x20]
call fcn.0040fef4
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], eax
call fcn.0040fef4
mov esi, eax
add esi, 8
cmp dword [esi], 0
je 0x411dbc
lea ecx, [ebp + 0xc]
call fcn.00401005
test al, al
jne 0x411d98
push 0x473980
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042f9c0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f210
lea ecx, [ebp - 0x38]
call fcn.0042f1d0
push dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042f940
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f210
lea ecx, [ebp - 0x30]
call fcn.0042f1d0
cmp dword [esi + 4], 0
je 0x411e18
lea ecx, [ebp - 0x10]
call fcn.00401005
test al, al
jne 0x411df4
push 0x473980
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042f9c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.0042f210
lea ecx, [ebp - 0x28]
call fcn.0042f1d0
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f940
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.0042f210
lea ecx, [ebp - 4]
call fcn.0042f1d0
lea ecx, [ebp - 0x20]
call fcn.0040fdc4
lea eax, [ebp - 0x4d]
push eax
mov ecx, edi
call fcn.00411788
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fdf6
test al, al
je 0x411d49
lea ecx, [ebp + 0xc]
call fcn.0042ef80
mov esi, str.none
test eax, eax
ja 0x411e56
push esi
lea ecx, [ebp + 0xc]
call fcn.0042f2c0
lea ecx, [ebp - 0x10]
call fcn.0042ef80
test eax, eax
ja 0x411e6b
push esi
lea ecx, [ebp - 0x10]
call fcn.0042f2c0
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.0042fa30
add esp, 0xc
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042f9c0
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f940
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp - 4]
call fcn.0042f1d0
lea ecx, [ebp - 0x28]
call fcn.0042f1d0
lea ecx, [ebp - 0x30]
call fcn.0042f1d0
lea ecx, [ebp - 0x10]
call fcn.0042f1d0
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
test byte [ebp + 0x2c0], 2
je 0x411fda
lea esi, [ebx + 0x180]
mov ecx, esi
call fcn.00401005
test al, al
je 0x411f01
push str.shownnone
lea ecx, [ebp + 4]
call fcn.0042f620
jmp 0x411f24
push esi
lea eax, [ebp - 4]
push str.shown
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp - 4]
call fcn.0042f1d0
lea eax, [ebx + 0x178]
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f120
lea edi, [ebx + 0x170]
push 0x2c
mov ecx, edi
call fcn.0042efb0
mov esi, dword [ebx + 0x298]
inc esi
cmp esi, eax
mov dword [ebp - 8], eax
jg 0x411f91
push esi
push 0x2c
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0042fab0
lea ecx, [ebp + 0xc]
call fcn.00401005
test al, al
jne 0x411f77
push 0x473948
lea ecx, [ebp + 0xc]
call fcn.0042f620
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f680
lea ecx, [ebp - 0x10]
call fcn.0042f1d0
inc esi
cmp esi, dword [ebp - 8]
jle 0x411f50
lea ecx, [ebp + 0xc]
call fcn.00401005
test al, al
je 0x411fac
push str.notshownnone
lea ecx, [ebp + 4]
call fcn.0042f620
jmp 0x411fd2
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push str.notshown
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp - 4]
call fcn.0042f1d0
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
test byte [ebp + 0x2c0], 4
je 0x41206d
lea esi, [ebx + 0x180]
mov ecx, esi
call fcn.00401005
test al, al
je 0x412007
push str.shownnone
lea ecx, [ebp + 4]
call fcn.0042f620
jmp 0x41202a
push esi
lea eax, [ebp - 4]
push str.shown
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp - 4]
call fcn.0042f1d0
lea esi, [ebx + 0x178]
mov ecx, esi
call fcn.00401005
test al, al
je 0x41204a
push str.notshownnone
lea ecx, [ebp + 4]
call fcn.0042f620
jmp 0x41206d
push esi
lea eax, [ebp - 4]
push str.notshown
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp - 4]
call fcn.0042f1d0
test byte [ebp + 0x2c0], 8
je 0x41215e
lea ecx, [ebp + 0xc]
call fcn.0042ef70
lea eax, [ebp - 0x4d]
lea ecx, [ebx + 0x306]
push eax
call fcn.00411758
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 0x41212e
lea ecx, [ebp - 0x20]
call fcn.0040fef4
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.0040fef4
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.0042f9c0
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042f940
add esp, 0xc
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042f9c0
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f940
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f210
lea ecx, [ebp - 4]
call fcn.0042f1d0
lea ecx, [ebp - 0x28]
call fcn.0042f1d0
lea ecx, [ebp - 0x30]
call fcn.0042f1d0
lea ecx, [ebp - 0x38]
call fcn.0042f1d0
lea ecx, [ebp - 0x20]
call fcn.0040fe4c
lea eax, [ebp - 0x4d]
push eax
mov ecx, esi
call fcn.00411788
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fdf6
test al, al
je 0x4120a5
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
test byte [ebp + 0x2c0], 0x10
je 0x412287
lea ecx, [ebp + 0xc]
call fcn.0042ef70
lea eax, [ebp - 0x4d]
lea ecx, [ebx + 0x306]
push eax
call fcn.00411758
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 0x412257
lea ecx, [ebp - 0x20]
call fcn.0040fef4
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], eax
call fcn.0040fef4
mov esi, eax
lea ecx, [ebp - 0x10]
add esi, 8
call fcn.0042ef70
mov esi, dword [esi + 4]
test esi, esi
je 0x4121d6
lea eax, [ebp + 0x1b0]
push eax
call esi
pop ecx
lea eax, [ebp + 0x1b0]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042f2c0
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.0042f9c0
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042f940
add esp, 0xc
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042f9c0
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f940
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0042f210
lea ecx, [ebp - 4]
call fcn.0042f1d0
lea ecx, [ebp - 0x28]
call fcn.0042f1d0
lea ecx, [ebp - 0x30]
call fcn.0042f1d0
lea ecx, [ebp - 0x38]
call fcn.0042f1d0
lea ecx, [ebp - 0x10]
call fcn.0042f1d0
lea ecx, [ebp - 0x20]
call fcn.0040fe4c
lea eax, [ebp - 0x4d]
push eax
mov ecx, edi
call fcn.00411788
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fdf6
test al, al
je 0x412196
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.0040dc2a
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp - 4]
call fcn.0042f1d0
lea eax, [ebx + 0xf0]
push eax
lea ecx, [ebp - 0x70]
call fcn.0042f120
lea ecx, [ebp - 0x70]
call fcn.00401005
test al, al
jne 0x4122e4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 4]
push 0x472c08
push eax
call fcn.0042fa30
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call fcn.0042f680
lea ecx, [ebp - 4]
call fcn.0042f1d0
push 0x4727a6
lea ecx, [ebp + 0xc]
call fcn.0042f1f0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 4]
push eax
mov ecx, ebx
call fcn.0040da82
lea ecx, [ebp + 0xc]
call fcn.0042f1d0
lea ecx, [ebp - 0x70]
call fcn.0042f1d0
lea ecx, [ebp - 0x78]
call fcn.0042f1d0
lea ecx, [ebp - 0x80]
call fcn.0042f1d0
lea ecx, [ebp + 4]
call fcn.0042f1d0
lea ecx, [ebp - 0x68]
call fcn.0042f1d0
lea ecx, [ebp - 0x40]
call fcn.0042f1d0
lea ecx, [ebp - 0x60]
call fcn.0042f1d0
lea ecx, [ebp - 0x58]
call fcn.0042f1d0
mov ecx, dword [ebp + 0x2b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6d0
add ebp, 0x2b4
leave
ret 8