Function at 0x417ad0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x30
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xc
rep stosd dword es:[edi], eax
pop edi
pop ecx
cmp dword [ebp + 8], 0
je case.0x417b0d.3
push 0
push dword [ebp + 8]
call sym.X86RunHoudini.exe_VarType
pop ecx
pop ecx
sub eax, 2
cmp eax, 6
ja case.0x417b0d.3
jmp dword [eax*4 + 0x5431c8]
mov eax, 1
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0
push dword [ebp + 8]
call sym.X86RunHoudini.exe_variantToString
pop ecx
mov ebx, eax
cmp dword [ebp - 0xc], 0
je 0x417b43
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], 0
je 0x417b54
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
jmp 0x417b59
mov eax, 0
cmp eax, 0
jne 0x417b79
mov ebx, 0
cmp dword [ebp - 0xc], 0
je 0x417b71
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
push 4
lea eax, [ebp - 0x10]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 4
lea eax, [ebp - 0x14]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x417bb0
mov edx, dword [ebp - 0x18]
inc dword [edx]
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040cb20
cmp dword [ebp - 0x1c], 0
je 0x417be3
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x20], 0
push 0x54a862
call fcn.0040e8d0
pop ecx
push eax
push 0x54a862
lea ecx, [ebp - 0x20]
call fcn.0040cb20
cmp dword [ebp - 0x20], 0
je 0x417c15
mov ebx, dword [ebp - 0x20]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call sym.X86RunHoudini.exe_replaceAll
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d2e0
cmp dword [ebp - 0x24], 0
je 0x417c47
mov ecx, dword [ebp - 0x24]
call fcn.0040c8f0
cmp dword [ebp - 0x20], 0
je 0x417c55
mov ecx, dword [ebp - 0x20]
call fcn.0040c8f0
cmp dword [ebp - 0x1c], 0
je 0x417c63
mov ecx, dword [ebp - 0x1c]
call fcn.0040c8f0
cmp dword [ebp - 0x18], 0
je 0x417c71
mov ecx, dword [ebp - 0x18]
call fcn.0040c8f0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x417c82
mov edx, dword [ebp - 0x28]
inc dword [edx]
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040cb20
cmp dword [ebp - 0x2c], 0
je 0x417cb5
mov ebx, dword [ebp - 0x2c]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x30], 0
push 0x54a86d
call fcn.0040e8d0
pop ecx
push eax
push 0x54a86d
lea ecx, [ebp - 0x30]
call fcn.0040cb20
cmp dword [ebp - 0x30], 0
je 0x417ce7
mov ebx, dword [ebp - 0x30]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
call sym.X86RunHoudini.exe_replaceAll
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d2e0
cmp dword [ebp - 0x34], 0
je 0x417d19
mov ecx, dword [ebp - 0x34]
call fcn.0040c8f0
cmp dword [ebp - 0x30], 0
je 0x417d27
mov ecx, dword [ebp - 0x30]
call fcn.0040c8f0
cmp dword [ebp - 0x2c], 0
je 0x417d35
mov ecx, dword [ebp - 0x2c]
call fcn.0040c8f0
cmp dword [ebp - 0x28], 0
je 0x417d43
mov ecx, dword [ebp - 0x28]
call fcn.0040c8f0
lea eax, [ebp - 5]
push eax
push dword [ebp - 0xc]
call fcn.0047b1a0
pop ecx
pop ecx
fstp st(0)
cmp byte [ebp - 5], 0
sete bl
movzx ebx, bl
cmp dword [ebp - 0xc], 0
je 0x417d6b
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov eax, 0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret