Function at 0x406100
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.0x40613d.3
push 0
push dword [ebp + 8]
call sym.X86HoudiniConsole.exe_VarType
pop ecx
pop ecx
sub eax, 2
cmp eax, 6
ja case.0x40613d.3
jmp dword [eax*4 + section..rdata]
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.X86HoudiniConsole.exe_variantToString
pop ecx
mov ebx, eax
cmp dword [ebp - 0xc], 0
je 0x406173
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], 0
je 0x406184
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
jmp 0x406189
mov eax, 0
cmp eax, 0
jne 0x4061a9
mov ebx, 0
cmp dword [ebp - 0xc], 0
je 0x4061a1
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
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 0x4061e0
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.00403a30
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401db0
cmp dword [ebp - 0x1c], 0
je 0x406213
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x20], 0
push 0x4a89f2
call fcn.00403a30
pop ecx
push eax
push 0x4a89f2
lea ecx, [ebp - 0x20]
call fcn.00401db0
cmp dword [ebp - 0x20], 0
je 0x406245
mov ebx, dword [ebp - 0x20]
mov edx, dword [0x4a8218]
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.X86HoudiniConsole.exe_replaceAll
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402570
cmp dword [ebp - 0x24], 0
je 0x406277
mov ecx, dword [ebp - 0x24]
call fcn.00401b80
cmp dword [ebp - 0x20], 0
je 0x406285
mov ecx, dword [ebp - 0x20]
call fcn.00401b80
cmp dword [ebp - 0x1c], 0
je 0x406293
mov ecx, dword [ebp - 0x1c]
call fcn.00401b80
cmp dword [ebp - 0x18], 0
je 0x4062a1
mov ecx, dword [ebp - 0x18]
call fcn.00401b80
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x4062b2
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.00403a30
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401db0
cmp dword [ebp - 0x2c], 0
je 0x4062e5
mov ebx, dword [ebp - 0x2c]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x30], 0
push 0x4a89fd
call fcn.00403a30
pop ecx
push eax
push 0x4a89fd
lea ecx, [ebp - 0x30]
call fcn.00401db0
cmp dword [ebp - 0x30], 0
je 0x406317
mov ebx, dword [ebp - 0x30]
mov edx, dword [0x4a8218]
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.X86HoudiniConsole.exe_replaceAll
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402570
cmp dword [ebp - 0x34], 0
je 0x406349
mov ecx, dword [ebp - 0x34]
call fcn.00401b80
cmp dword [ebp - 0x30], 0
je 0x406357
mov ecx, dword [ebp - 0x30]
call fcn.00401b80
cmp dword [ebp - 0x2c], 0
je 0x406365
mov ecx, dword [ebp - 0x2c]
call fcn.00401b80
cmp dword [ebp - 0x28], 0
je 0x406373
mov ecx, dword [ebp - 0x28]
call fcn.00401b80
lea eax, [ebp - 5]
push eax
push dword [ebp - 0xc]
call fcn.00430ed0
pop ecx
pop ecx
fstp st(0)
cmp byte [ebp - 5], 0
sete bl
movzx ebx, bl
cmp dword [ebp - 0xc], 0
je 0x40639b
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov eax, 0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret