Function at 0x423ef3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x467368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
or eax, 0xffffffff
push 0xaa
xor esi, esi
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xf8]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
jne 0x423f45
mov eax, 0x8ff00003
jmp 0x4241f4
mov ecx, 0xc00
cmp dword [edi + 8], ecx
jne 0x423f66
push 0x55
lea eax, [ebp - 0xf8]
push eax
push ecx
call fcn.0042ade4
lea eax, [ebp - 0xf8]
jmp 0x423f69
mov eax, dword [edi + 4]
xor ecx, ecx
mov dword [ebp - 0x108], eax
push ebx
push 4
mov word [ebp - 0x34], cx
mov word [ebp - 0x4c], cx
mov word [ebp - 0x14], cx
mov word [ebp - 0x20], cx
mov word [ebp - 0xc], cx
lea ecx, [ebp - 0x14]
push ecx
push 5
lea ecx, [ebp - 0x20]
push ecx
push 4
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.00426134
test eax, eax
setne bl
xor eax, eax
cmp ax, word [ebp - 0xc]
jne 0x423fd2
push 4
lea eax, [ebp - 0xc]
push eax
push 0x59
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x423fd2
xor eax, eax
movzx ebx, bl
cmp ax, word [ebp - 0xc]
push 1
pop eax
cmovne ebx, eax
xor eax, eax
cmp ax, word [ebp - 0x14]
jne 0x424001
push 4
lea eax, [ebp - 0x14]
push eax
push 0x5a
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x424001
xor ecx, ecx
movzx ebx, bl
cmp cx, word [ebp - 0x14]
push 1
pop ecx
cmovne ebx, ecx
test bl, bl
je 0x4241d9
lea ecx, [ebp - 0xc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x42400f
sub ecx, edx
sar ecx, 1
je 0x424036
push esi
xor eax, eax
push esi
inc eax
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00424e51
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xc]
cmp eax, dword [edi]
lea edx, [ecx + 2]
push 0xffffffffffffffff
pop ebx
cmove eax, ebx
mov dword [ebp - 0xfc], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x424050
sub ecx, edx
sar ecx, 1
je 0x4240cd
lea edx, [ebp - 0x20]
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x424067
sub edx, ebx
sar edx, 1
je 0x4240ca
push ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push 9
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
xor eax, eax
inc eax
push eax
push 0x45a02c
lea eax, [ebp - 0x34]
push 9
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
lea ecx, [ebp - 0x20]
add esp, 0x20
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4240a7
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x34]
push 9
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
add esp, 0x10
or ebx, 0xffffffff
lea ecx, [ebp - 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4240d3
sub ecx, edx
sar ecx, 1
je 0x4240fa
push esi
xor eax, eax
push esi
inc eax
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00424e51
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0x14]
cmp edx, dword [edi]
cmove edx, ebx
lea ebx, [ecx + 2]
mov dword [ebp - 0x100], edx
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x424111
sub ecx, ebx
sar ecx, 1
je 0x42417a
push 7
push 0x45a030
lea eax, [ebp - 0x4c]
push 0xb
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea ecx, [ebp - 0x14]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x42413e
sub ecx, edx
lea eax, [ebp - 0x14]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x4c]
push 0xb
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x104]
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00424e51
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x104]
cmp eax, dword [edi]
push 0xffffffffffffffff
pop ebx
cmove eax, ebx
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0xfc], ebx
jne 0x42419e
cmp eax, ebx
jne 0x42419e
cmp edx, ebx
je 0x4241d2
mov eax, dword [edi + 0x10]
cmp edx, ebx
mov ecx, dword [ebp - 0xfc]
cmovne ecx, edx
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x104]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x10]
mov dword [eax], ebx
mov eax, dword [edi + 0x10]
mov dword [eax + 4], ebx
mov eax, dword [edi + 0x10]
mov dword [eax + 8], ebx
mov eax, dword [edi + 0x10]
mov dword [eax + 0xc], ebx
or dword [edi + 0x20], 0x1f8
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
push dword [edx + ecx*4]
call fcn.00423258
test al, al
mov ecx, 0x80004005
pop ebx
cmovne esi, ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044c025
mov esp, ebp
pop ebp
ret 8