Function at 0x406434
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x48abb4]
test eax, eax
jne 0x4066da
push ebx
push esi
push edi
mov dword [ebp - 0x30], 0x363339
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x18
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push 0xb
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
or edi, 0xffffffff
push edi
push edi
push 0x4761ce
mov ecx, 0x48abb4
call fcn.00409aca
and dword [0x48abb8], 0
push 0x105
lea ecx, [ebp - 4]
call fcn.0042465d
mov eax, dword [ebp - 4]
and word [eax], 0
push 0x104
push eax
push dword [0x48add0]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push dword [ebp - 4]
call fcn.0046176a
pop ecx
push edi
push 0x4761cc
lea ecx, [ebp - 0xc]
mov ebx, eax
call fcn.00424642
push dword [eax]
lea ecx, [ebp - 4]
call fcn.004246c0
lea ecx, [ebp - 0xc]
call fcn.00424686
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xc]
call fcn.00424642
push dword [eax]
lea ecx, [ebp - 4]
call fcn.004246c0
lea ecx, [ebp - 0xc]
call fcn.00424686
push edi
mov esi, str..lang
push esi
lea ecx, [ebp - 0xc]
call fcn.00424642
push dword [eax]
lea ecx, [ebp - 4]
call fcn.004246c0
lea ecx, [ebp - 0xc]
call fcn.00424686
lea ecx, [ebp - 0x18]
call fcn.00424559
xor eax, eax
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.0040eaaf
add esp, 0xc
cmp eax, 0xfffffffe
jne 0x406572
mov eax, dword [ebp - 4]
and word [eax + ebx*2], 0
push edi
push esi
lea ecx, [ebp - 0xc]
call fcn.00424642
push dword [eax]
lea ecx, [ebp - 4]
call fcn.004246c0
lea ecx, [ebp - 0xc]
call fcn.00424686
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.0040eaaf
add esp, 0xc
cmp eax, 1
jge 0x40657e
xor esi, esi
jmp 0x4066c5
mov edi, dword [ebp - 0x18]
shr dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
push 6
push edi
push str.code
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
call fcn.004257a3
add esp, 0xc
test al, al
push 2
pop ebx
je 0x4065dc
lea eax, [ebp - 8]
call fcn.0040e4de
mov edi, dword [ebp - 8]
test edi, edi
je 0x4065dc
xor eax, eax
mov ax, word [edi]
push eax
call fcn.0040965c
add esp, 4
test al, al
je 0x4065dc
xor eax, eax
add edi, ebx
mov ax, word [edi]
push eax
call fcn.0040965c
add esp, 4
test al, al
jne 0x4065c5
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov esi, edi
jmp 0x40669a
push 5
push edi
push str.str:
call fcn.004257a3
add esp, 0xc
test al, al
je 0x4066a4
lea eax, [ebp - 8]
call fcn.0040e4de
lea eax, [edi + 0xa]
mov cx, word [eax]
cmp cx, 0x30
mov edi, dword [ebp - 8]
jb 0x40666d
cmp cx, 0x39
ja 0x40666d
jmp 0x406663
mov cx, word [eax]
cmp cx, 0x5c
jne 0x40665c
lea ecx, [eax + 2]
mov dx, word [ecx]
cmp dx, 0x72
jne 0x40663e
mov word [esi], 0xd
add esi, ebx
add eax, 4
jmp 0x406663
cmp dx, 0x6e
jne 0x40664b
mov word [esi], 0xa
jmp 0x406637
mov word [esi], 0x5c
add esi, ebx
cmp dx, 0x5c
je 0x406639
mov eax, ecx
jmp 0x406663
mov word [esi], cx
add esi, ebx
add eax, ebx
cmp eax, edi
jb 0x40661d
and word [esi], 0
add esi, ebx
xor eax, eax
mov ax, word [edi]
push eax
call fcn.0040965c
add esp, 4
test al, al
je 0x40669a
and word [edi], 0
xor eax, eax
add edi, ebx
mov ax, word [edi]
push eax
call fcn.0040965c
add esp, 4
test al, al
jne 0x40667f
mov dword [ebp - 8], edi
cmp word [edi], 0
jne 0x4065e6
sub esi, dword [ebp - 0xc]
mov ecx, 0x48abb4
sar esi, 1
push esi
push dword [ebp - 0xc]
call fcn.00409ba0
lea eax, [esi + esi]
mov esi, dword [0x48abb4]
mov dword [0x48abb8], eax
lea ecx, [ebp - 0x18]
call fcn.00424686
lea ecx, [ebp - 4]
call fcn.00424686
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret