Function at 0x751068
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x21c
mov edi, dword [esp + 0x234]
test edi, edi
je 0x751089
mov dword [esp], edi
call fcn.0074abac
mov esi, eax
jmp 0x75108b
xor esi, esi
mov eax, dword [0x77b230]
mov dword [esp], eax
call sub.KERNEL32.DLL_EnterCriticalSection
sub esp, 4
mov eax, dword [0x77147c]
test eax, eax
je 0x7510ad
xor ebx, ebx
cmp eax, 0x771450
jne 0x7510e0
xor ebx, ebx
cmp eax, 0x771450
sete byte [esp + 0x18]
mov dword [esp + 4], 0x2c
mov dword [esp], 1
call fcn.0074a574
mov dword [0x77147c], eax
test eax, eax
je 0x75118f
mov cl, byte [esp + 0x18]
mov bl, cl
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x7510fb
mov dword [esp], ecx
call fcn.0074a5a0
mov eax, dword [0x77147c]
mov dword [eax + 0x24], 0
movzx ebp, word [esp + 0x230]
test esi, esi
je 0x75112f
cmp byte [esi], 0
je 0x75113e
mov dword [esp], edi
mov dword [esp + 4], 0x771213
call fcn.0074ad68
test eax, eax
je 0x7511ab
mov dword [esi], 0x554e45
jmp 0x75128e
test ebx, ebx
je 0x7511ce
mov ecx, eax
jmp 0x75145e
call sub.KERNEL32.DLL_GetUserDefaultLCID
mov edi, eax
lea ebp, [esp + 0x11c]
mov dword [esp + 8], ebp
mov dword [esp], edi
mov dword [esp + 0xc], 7
mov dword [esp + 4], 0xb
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0x10
mov dword [esp], ebp
movzx ebp, word [esp + 0x230]
call fcn.00754808
mov ecx, dword [0x77147c]
mov dword [ecx], eax
mov dword [ecx + 8], 0
jmp 0x751481
mov dword [esp], 0xe
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
mov dword [esp], esi
call fcn.0074a5a0
jmp 0x75158a
mov dword [esp], edi
mov dword [esp + 4], 0x771219
call fcn.0074ad68
test eax, eax
je 0x751258
mov dword [esi], 0x474e45
jmp 0x75128e
movsx ebx, bp
test bl, 4
jne 0x7511ef
test bl, 0x10
jne 0x751200
test bl, 0x20
jne 0x751215
test bl, 1
jne 0x75122a
test bl, 2
jne 0x751243
jmp 0x7514de
mov edx, 0x7711e0
mov ecx, eax
call fcn.00751a88
test bl, 0x10
je 0x7511db
mov ecx, dword [0x77147c]
mov edx, 0x7711ec
call fcn.00751a88
test bl, 0x20
je 0x7511e0
mov ecx, dword [0x77147c]
mov edx, 0x7711f7
call fcn.00751a88
test bl, 1
je 0x7511e5
mov ecx, dword [0x77147c]
mov edx, 0x7711ff
call fcn.00751a88
test bl, 2
je 0x7514de
mov ecx, dword [0x77147c]
mov edx, 0x77120a
call fcn.00751a88
jmp 0x7514de
mov dword [esp], edi
mov dword [esp + 4], 0x77121f
call fcn.0074ad68
test eax, eax
je 0x751274
mov dword [esi], 0x415246
jmp 0x75128e
mov dword [esp], edi
mov dword [esp + 4], 0x771225
call fcn.0074ad68
test eax, eax
je 0x7512b1
mov dword [esi], 0x554544
mov dword [esp], edi
mov dword [esp + 4], 0x2e
call fcn.0074b1b8
test eax, eax
je 0x7512b1
lea ecx, [esi + 3]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0074b258
mov dword [esp], edi
mov dword [esp + 4], 0x77122b
call fcn.0074b208
test eax, eax
je 0x751458
cmp byte [esi], 0x4c
jne 0x751432
cmp byte [esi + 1], 0x43
jne 0x751432
cmp byte [esi + 2], 0x5f
jne 0x751432
mov dword [esp], esi
call fcn.0074a5a0
mov eax, dword [0x77b230]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
mov eax, dword [0x77147c]
mov dword [esp + 0x18], eax
mov eax, dword [0x77b230]
mov dword [esp], eax
call sub.KERNEL32.DLL_EnterCriticalSection
sub esp, 4
lea esi, [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0
call fcn.0074b13f
xor eax, eax
xor ebx, ebx
jmp 0x751388
mov dword [esp], esi
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0
call fcn.0074b13f
xor eax, eax
inc edi
jmp 0x751388
mov dword [esp + 4], esi
lea eax, [esp + 0x11c]
mov dword [esp], eax
call fcn.0074b258
jmp 0x751348
movzx ecx, byte [edi]
cmp cl, 0xa
je 0x751368
cmp cl, 0x3d
je 0x7513a8
test cl, cl
je 0x75160e
mov byte [esp + eax + 0x1c], cl
inc eax
inc edi
jmp 0x751388
mov dword [esp], esi
mov dword [esp + 4], 0x77120a
call fcn.0074b208
mov ecx, ebx
or ebx, 2
test eax, eax
cmovne bx, cx
mov dword [esp], esi
mov dword [esp + 4], 0x7711f7
call fcn.0074b208
mov ebp, ebx
or ebp, 0x20
test eax, eax
cmovne bp, bx
mov dword [esp], esi
mov dword [esp + 4], 0x7711ec
call fcn.0074b208
mov ebx, ebp
or ebx, 0x10
test eax, eax
cmovne bx, bp
mov dword [esp], esi
mov dword [esp + 4], 0x7711e0
call fcn.0074b208
mov ebp, ebx
or ebp, 4
test eax, eax
cmovne bp, bx
mov dword [esp], esi
mov dword [esp + 4], 0x7711ff
call fcn.0074b208
xor ebx, ebx
test eax, eax
sete bl
or ebx, ebp
jmp 0x751348
mov ecx, dword [0x77147c]
mov dword [ecx + 8], 0
mov edx, esi
call fcn.00751c28
mov edi, eax
test edi, edi
je 0x7515a9
mov ecx, dword [0x77147c]
jmp 0x751481
mov ecx, dword [0x77147c]
call fcn.007516b8
mov eax, dword [0x77147c]
mov dword [esp], eax
call fcn.0074a5a0
mov dword [0x77147c], 0x771450
xor edi, edi
mov ecx, 0x771450
mov dword [ecx + 4], edi
mov dword [esp], esi
call fcn.0074a5a0
mov eax, dword [0x77147c]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], 1
call sub.KERNEL32.DLL_IsValidLocale
sub esp, 8
test eax, eax
mov eax, dword [0x77147c]
jne 0x7514ba
cmp dword [eax + 8], 0
je 0x75154c
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.KERNEL32.DLL_SetThreadLocale
sub esp, 4
mov ecx, dword [0x77147c]
cmp dword [ecx + 8], 0
je 0x751500
mov dword [0x7711dc], 1
call fcn.0075381c
mov eax, dword [0x77147c]
mov esi, dword [eax + 0x24]
mov eax, dword [0x77b230]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
jmp 0x75159c
call fcn.007516b8
mov ecx, dword [0x77147c]
movsx edx, bp
call fcn.00751ef8
test eax, eax
je 0x751555
mov eax, dword [0x77147c]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00756b3c
test eax, eax
je 0x7515de
mov eax, dword [0x77b230]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
mov dword [esp], 0x20000106
call sub.KERNEL32.DLL_SetLastError
jmp 0x751597
mov dword [esp], 0x20000103
jmp 0x75155c
mov dword [esp], 0x20000102
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
test ebx, ebx
je 0x75158a
mov ecx, dword [0x77147c]
call fcn.007516b8
mov eax, dword [0x77147c]
mov dword [esp], eax
call fcn.0074a5a0
mov dword [0x77147c], 0x771450
mov eax, dword [0x77b230]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
xor esi, esi
mov eax, esi
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x7515c4
mov eax, dword [0x77147c]
mov dword [esp], eax
call fcn.0074a5a0
mov dword [0x77147c], 0x771450
mov eax, dword [0x77b230]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
mov dword [esp], esi
call fcn.0074a5a0
jmp 0x75159a
mov eax, dword [0x77147c]
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.KERNEL32.DLL_GetCPInfo
sub esp, 8
test eax, eax
je 0x75152e
mov eax, dword [esp + 0x1c]
mov dword [0x7711dc], eax
jmp 0x7514de
lea edx, [esp + 0x11c]
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.00751c28
mov dword [esi + 4], eax
mov dword [esp], eax
mov dword [esp + 4], 1
call sub.KERNEL32.DLL_IsValidLocale
sub esp, 8
test eax, eax
jne 0x751640
cmp dword [esi + 8], 0
je 0x75167d
mov eax, dword [0x77147c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.KERNEL32.DLL_SetThreadLocale
sub esp, 4
mov ecx, dword [0x77147c]
call fcn.007516b8
mov ecx, dword [0x77147c]
movsx edx, bx
call fcn.00751ef8
test eax, eax
jne 0x7514de
mov dword [esp], 0x20000102
jmp 0x751684
mov dword [esp], 0x20000103
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
jmp 0x75158a