Function at 0x4d2220
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x38
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xe
rep stosd dword es:[edi], eax
pop edi
pop ecx
cmp dword [ebp + 8], 0
je case.0x4d225d.6
push 0
push dword [ebp + 8]
call sym.X86RunHoudini.exe_VarType
pop ecx
pop ecx
sub eax, 2
cmp eax, 0xf
ja case.0x4d225d.6
jmp dword [eax*4 + 0x595914]
mov al, 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 0x4d2290
mov ecx, dword [ebp - 0xc]
call fcn.00589d70
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], 0
je 0x4d22a1
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
jmp 0x4d22a6
mov eax, 0
cmp eax, 0
jne 0x4d22c3
mov bl, 0
cmp dword [ebp - 0xc], 0
je 0x4d22bb
mov ecx, dword [ebp - 0xc]
call fcn.00589d70
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x4d22d4
mov edx, dword [ebp - 0x1c]
inc dword [edx]
push 3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0058ac60
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4d22f4
mov ecx, dword [ebp - 0x1c]
call fcn.00589d70
cmp dword [ebp - 0xc], 0
je 0x4d2302
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
jmp 0x4d2307
mov eax, 0
cmp eax, 3
jne 0x4d237e
push 0x5ec1a4
lea ecx, [ebp - 0x10]
call fcn.0058a720
push eax
call fcn.0040d370
pop ecx
pop ecx
cmp eax, 0
jne 0x4d232a
mov al, 1
jmp 0x4d232c
mov al, 0
cmp al, 0
jne 0x4d2358
push 0x5ec1a8
lea ecx, [ebp - 0x10]
call fcn.0058a720
push eax
call fcn.0040d370
pop ecx
pop ecx
cmp eax, 0
jne 0x4d234e
mov al, 1
jmp 0x4d2350
mov al, 0
cmp al, 0
je 0x4d2510
mov bl, 1
cmp dword [ebp - 0x10], 0
je 0x4d2368
mov ecx, dword [ebp - 0x10]
call fcn.00589d70
cmp dword [ebp - 0xc], 0
je 0x4d2376
mov ecx, dword [ebp - 0xc]
call fcn.00589d70
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
cmp dword [ebp - 0xc], 0
je 0x4d238c
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
jmp 0x4d2391
mov eax, 0
cmp eax, 8
jne 0x4d2510
push 0x5ec1a4
lea ecx, [ebp - 0x10]
call fcn.0058a720
push eax
call fcn.0040d370
pop ecx
pop ecx
cmp eax, 0
jne 0x4d23b8
mov al, 1
jmp 0x4d23ba
mov al, 0
cmp al, 0
jne 0x4d23e6
push 0x5ec1a8
lea ecx, [ebp - 0x10]
call fcn.0058a720
push eax
call fcn.0040d370
pop ecx
pop ecx
cmp eax, 0
jne 0x4d23dc
mov al, 1
jmp 0x4d23de
mov al, 0
cmp al, 0
je 0x4d2510
cmp dword [ebp - 0xc], 0
je 0x4d23f4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
jmp 0x4d23f9
mov eax, 0
cmp eax, 8
jne 0x4d2510
cmp dword [ebp - 0xc], 0
je 0x4d2413
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
add edx, 4
jmp 0x4d2418
mov edx, 0x5993e9
cmp byte [edx], 0x28
jne 0x4d2510
cmp dword [ebp - 0xc], 0
je 0x4d2432
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
add edx, 8
jmp 0x4d2437
mov edx, 0x5993e9
cmp byte [edx], 0x29
jne 0x4d2510
cmp dword [ebp - 0xc], 0
je 0x4d2451
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
add edx, 5
jmp 0x4d2456
mov edx, 0x5993e9
cmp byte [edx], 0x30
jl 0x4d2510
cmp dword [ebp - 0xc], 0
je 0x4d2470
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
add edx, 5
jmp 0x4d2475
mov edx, 0x5993e9
cmp byte [edx], 0x39
jg 0x4d2510
cmp dword [ebp - 0xc], 0
je 0x4d248f
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
add edx, 6
jmp 0x4d2494
mov edx, 0x5993e9
cmp byte [edx], 0x30
jl 0x4d2510
cmp dword [ebp - 0xc], 0
je 0x4d24aa
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
add edx, 6
jmp 0x4d24af
mov edx, 0x5993e9
cmp byte [edx], 0x39
jg 0x4d2510
cmp dword [ebp - 0xc], 0
je 0x4d24c5
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
add edx, 7
jmp 0x4d24ca
mov edx, 0x5993e9
cmp byte [edx], 0x30
jl 0x4d2510
cmp dword [ebp - 0xc], 0
je 0x4d24e0
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
add edx, 7
jmp 0x4d24e5
mov edx, 0x5993e9
cmp byte [edx], 0x39
jg 0x4d2510
mov bl, 1
cmp dword [ebp - 0x10], 0
je 0x4d24fa
mov ecx, dword [ebp - 0x10]
call fcn.00589d70
cmp dword [ebp - 0xc], 0
je 0x4d2508
mov ecx, dword [ebp - 0xc]
call fcn.00589d70
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
push 4
lea eax, [ebp - 0x14]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 4
lea eax, [ebp - 0x18]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x4d2547
mov edx, dword [ebp - 0x20]
inc dword [edx]
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x18]
push eax
call fcn.0040d340
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.00589f70
cmp dword [ebp - 0x24], 0
je 0x4d257a
mov ebx, dword [ebp - 0x24]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x28], 0
push 0x5ec1ac
call fcn.0040d340
pop ecx
push eax
push 0x5ec1ac
lea ecx, [ebp - 0x28]
call fcn.00589f70
cmp dword [ebp - 0x28], 0
je 0x4d25ac
mov ebx, dword [ebp - 0x28]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
call sym.X86RunHoudini.exe_replaceAll
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0058a7b0
cmp dword [ebp - 0x2c], 0
je 0x4d25de
mov ecx, dword [ebp - 0x2c]
call fcn.00589d70
cmp dword [ebp - 0x28], 0
je 0x4d25ec
mov ecx, dword [ebp - 0x28]
call fcn.00589d70
cmp dword [ebp - 0x24], 0
je 0x4d25fa
mov ecx, dword [ebp - 0x24]
call fcn.00589d70
cmp dword [ebp - 0x20], 0
je 0x4d2608
mov ecx, dword [ebp - 0x20]
call fcn.00589d70
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x4d2619
mov edx, dword [ebp - 0x30]
inc dword [edx]
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.0040d340
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.00589f70
cmp dword [ebp - 0x34], 0
je 0x4d264c
mov ebx, dword [ebp - 0x34]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x38], 0
push 0x5ec1ad
call fcn.0040d340
pop ecx
push eax
push 0x5ec1ad
lea ecx, [ebp - 0x38]
call fcn.00589f70
cmp dword [ebp - 0x38], 0
je 0x4d267e
mov ebx, dword [ebp - 0x38]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call sym.X86RunHoudini.exe_replaceAll
add esp, 0x10
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0058a7b0
cmp dword [ebp - 0x3c], 0
je 0x4d26b0
mov ecx, dword [ebp - 0x3c]
call fcn.00589d70
cmp dword [ebp - 0x38], 0
je 0x4d26be
mov ecx, dword [ebp - 0x38]
call fcn.00589d70
cmp dword [ebp - 0x34], 0
je 0x4d26cc
mov ecx, dword [ebp - 0x34]
call fcn.00589d70
cmp dword [ebp - 0x30], 0
je 0x4d26da
mov ecx, dword [ebp - 0x30]
call fcn.00589d70
lea eax, [ebp - 5]
push eax
push dword [ebp - 0xc]
call fcn.00486ac0
pop ecx
pop ecx
fstp st(0)
cmp byte [ebp - 5], 0
sete bl
cmp dword [ebp - 0x10], 0
je 0x4d26ff
mov ecx, dword [ebp - 0x10]
call fcn.00589d70
cmp dword [ebp - 0xc], 0
je 0x4d270d
mov ecx, dword [ebp - 0xc]
call fcn.00589d70
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov al, 0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret