Function at 0x418670
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1c34
call fcn.0044bf30
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x1c30], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1c40]
push esi
push ebp
push str.ProcessSectionAddLinks_____s__n
mov esi, ecx
call fcn.0043e2c0
mov ecx, dword [esi + 4]
add esp, 8
xor ebx, ebx
push ebx
lea eax, [esp + 0xc40]
push eax
push ebx
push ebp
call fcn.004090a0
test al, al
je 0x418a03
push edi
lea ecx, [esp + 0xc40]
push ecx
push ebx
push ebp
push str.__s___d____s__n
call fcn.0043e2c0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x84a]
push eax
mov word [esp + 0x84c], dx
call fcn.0044ac90
add esp, 0x1c
lea eax, [esp + 0x420]
push eax
xor edx, edx
push edx
xor ecx, ecx
push ebx
mov word [esp + 0x1c], cx
mov ecx, dword [esi + 4]
push ebp
mov word [esp + 0x228], dx
call fcn.004093f0
lea ecx, [esp + 0x628]
push ecx
mov ecx, dword [esi + 4]
push 1
push ebx
push ebp
call fcn.004093f0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push 2
push ebx
push ebp
call fcn.004093f0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x218]
push eax
push 3
push ebx
push ebp
call fcn.004093f0
lea ecx, [esp + 0x830]
push ecx
mov ecx, dword [esi + 4]
push 4
push ebx
push ebp
call fcn.004093f0
lea edx, [esp + 0x420]
push edx
push str.wszAppName_________s__n
call fcn.0043e2c0
lea eax, [esp + 0x630]
push eax
push str.wszAppPath_________s__n
call fcn.0043e2c0
lea ecx, [esp + 0x20]
push ecx
push str.wszLinkLocation____s__n
call fcn.0043e2c0
lea edx, [esp + 0x230]
push edx
push str.wszIconLocation____s__n
call fcn.0043e2c0
lea eax, [esp + 0x850]
push eax
push str.wszAppDescription____s__n
call fcn.0043e2c0
add esp, 0x28
cmp word [esp + 0x420], 0
je 0x4189e5
cmp word [esp + 0x628], 0
je 0x4189e5
cmp word [esp + 0x10], 0
je 0x4187f3
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004160e0
jmp 0x41880f
lea eax, [esi + 0x1054]
lea edx, [esp + 0x10]
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x418800
cmp word [esp + 0x218], 0
je 0x41882b
lea edx, [esp + 0x218]
push edx
mov ecx, esi
call fcn.004160e0
jmp 0x418848
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x628]
mov word [esp + eax + 0x218], cx
add eax, 2
test cx, cx
jne 0x418830
lea eax, [esp + 0x420]
push eax
mov ecx, esi
call fcn.004160e0
lea ecx, [esp + 0x628]
push ecx
mov ecx, esi
call fcn.004160e0
lea edx, [esp + 0x218]
push edx
mov ecx, esi
call fcn.004160e0
cmp word [esp + 0x10], 0
je 0x4189e5
mov eax, dword [esi + 8]
cmp byte [eax + 0x1e89], 0
je 0x418899
mov ecx, esi
call fcn.0040b1b0
jmp 0x4189e5
lea ecx, [esp + 0x420]
push ecx
push 0xffffffffffffffff
push 7
mov ecx, esi
call fcn.00415ea0
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 5], 0
je 0x4188df
lea edx, [esp + 0x830]
push edx
lea eax, [esp + 0x21c]
push eax
lea edx, [esp + 0x630]
push edx
lea eax, [esp + 0x42c]
push eax
lea edx, [esp + 0x20]
push edx
jmp 0x4189b8
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa42]
push ecx
mov word [esp + 0xa44], ax
call fcn.0044ac90
add esp, 0xc
push 0xa
lea edx, [esp + 0xa3c]
push edx
push 9
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0xa38]
push eax
call fcn.00441cd0
mov edi, eax
and edi, 0xff
push edi
push str.System_Locale___04x__n
call fcn.0043e2c0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xc]
add esp, 8
cmp edi, 0xc0
jne 0x418951
mov eax, 0x3a8
jmp 0x418982
cmp edi, 0xc1
jne 0x418960
mov eax, 0x3b6
jmp 0x418982
cmp edi, 0x11
jne 0x41896c
mov eax, 0x3a4
jmp 0x418982
cmp edi, 0x12
jne 0x418978
mov eax, 0x3b5
jmp 0x418982
cmp edi, 0x19
jne 0x418982
mov eax, 0x4e3
push eax
push str.nSystemCodePage___04x__n
call fcn.0043e2c0
add esp, 8
lea edx, [esp + 0x830]
push edx
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0x630]
push ecx
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x42c]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004435a0
test eax, eax
je 0x4189cd
lea ecx, [esp + 0x420]
push ecx
push 0
jmp 0x4189dc
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 7
mov ecx, esi
call fcn.00415ea0
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0xc44]
push eax
inc ebx
push ebx
push ebp
call fcn.004090a0
test al, al
jne 0x4186c0
pop edi
mov ecx, dword [esp + 0x1c3c]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044ac80
add esp, 0x1c34
ret 4