Function at 0x43c812
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x4b8f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
and dword [ebp - 0x2c8], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x2c0], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x2dc], eax
mov eax, dword [edx + 8]
and dword [esi], ebx
and dword [ecx], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 0x2b4], ecx
mov dword [ebp - 0x2d8], eax
test edi, edi
je 0x43c882
cmp dword [ebp + 0xc], ebx
jbe 0x43c882
xor eax, eax
mov word [edi], ax
push edx
call fcn.0043dd6d
test al, al
je 0x43cb2e
mov esi, dword [ebp - 0x2bc]
lea edi, [ebp - 0x2f4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2f4]
push edi
call fcn.00438247
mov esi, dword [ebp - 0x2c0]
test al, al
je 0x43c8da
push esi
call fcn.0043c7f1
test al, al
je 0x43c8da
push edi
call fcn.0043829a
mov edx, dword [eax + 0x28]
push edx
call fcn.0043dbb6
test al, al
cmove edi, edx
mov dword [ebp - 0x2f4], edi
push dword [ebp - 0x2e8]
call fcn.00438247
test al, al
je 0x43c90e
push dword [ebp - 0x2e8]
call fcn.0043829a
mov edx, dword [eax + 0x28]
push edx
call fcn.0043dbb6
test al, al
mov eax, dword [ebp - 0x2e8]
cmove eax, edx
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.0043dd6d
test al, al
je 0x43cb14
imul eax, esi, 0x14
test byte [eax + 0x484050], 0xa
je 0x43c9a0
test dword [ebp + 0x1c], 0x7100
jne 0x43c9a0
mov esi, dword [ebp - 0x2bc]
push dword [esi]
call fcn.00438247
test al, al
je 0x43c964
lea eax, [ebp - 0x2f4]
push eax
push dword [esi]
call fcn.0043e2c1
test eax, eax
js 0x43d376
mov edi, dword [ebp - 0x2f4]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi]
jne 0x43c976
mov dword [ebp - 0x2e8], edi
jmp 0x43cb14
push eax
call fcn.00438247
test al, al
je 0x43cb14
lea eax, [ebp - 0x2e8]
push eax
push dword [esi + 0xc]
call fcn.0043e2c1
test eax, eax
js 0x43d376
jmp 0x43cb14
cmp esi, 1
jne 0x43cac6
mov esi, dword [ebp - 0x2bc]
push dword [esi]
call fcn.0043829a
mov edi, eax
mov dword [ebp - 0x2d4], edi
test edi, edi
je 0x43d376
push dword [edi + 4]
lea eax, [ebp - 0x318]
push eax
call fcn.0043f4c4
cmp dword [ebp - 0x314], ebx
jne 0x43ca0d
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x2d0]
test eax, eax
js 0x43cabe
push eax
mov eax, dword [ebp - 0x2d4]
push edi
push 2
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp - 0x2cc]
mov ebx, eax
mov dword [esi], ebx
jmp 0x43ca5e
push dword [esi]
call fcn.00438247
test al, al
je 0x43cab5
mov edx, dword [edi + 0x28]
push edx
call fcn.0043dbb6
mov edi, dword [ebp - 0x2d0]
test al, al
jne 0x43caad
cmp edx, dword [esi]
mov esi, dword [ebp - 0x2cc]
je 0x43ca62
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x2f4]
push ecx
push dword [ebp + 0x1c]
mov dword [ebp - 0x2f4], edx
push 1
push eax
push esi
push dword [ebp + 0xc]
push edi
call fcn.0043c812
mov ebx, eax
test ebx, ebx
jne 0x43ca86
mov eax, dword [ebp + 0xc]
cmp dword [esi], 0
jne 0x43ca86
push dword [ebp + 0x1c]
push dword [ebp - 0x2bc]
push esi
push eax
mov eax, dword [ebp - 0x2d4]
push edi
push dword [eax + 4]
call fcn.0043da06
mov ebx, eax
test edi, edi
je 0x43d376
xor eax, eax
cmp ax, word [edi]
jne 0x43d376
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi]
jbe 0x43d376
xor ebx, ebx
and dword [esi], ebx
jmp 0x43d376
mov esi, dword [ebp - 0x2cc]
jmp 0x43ca62
mov edi, dword [ebp - 0x2d0]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x2cc]
jmp 0x43ca65
cmp esi, 0x29
jne 0x43d376
lea eax, [ebp - 0x2e8]
push eax
mov eax, dword [ebp - 0x2bc]
push 4
push dword [eax + 0xc]
call fcn.0043bebf
test eax, eax
js 0x43d376
push dword [ebp - 0x2e8]
call fcn.00438247
test al, al
jne 0x43d376
push dword [ebp - 0x2e8]
call fcn.0043dbb6
test al, al
jne 0x43d376
mov esi, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2f4]
mov edi, dword [ebp - 0x2d0]
mov dword [ebp - 0x2bc], eax
jmp 0x43cb34
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2c4], eax
call fcn.0043829a
mov edx, eax
mov dword [ebp - 0x2e4], edx
test edx, edx
jne 0x43cb65
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], 0x80004005
jmp 0x43d38b
mov eax, dword [ebp - 0x2c0]
cmp eax, 0xc
jg 0x43cd56
je 0x43ccb2
sub eax, 0
je 0x43cc08
sub eax, 1
je 0x43cbe7
dec eax
sub eax, 1
je 0x43cc08
sub eax, 1
jne 0x43cd71
mov ebx, 0xc00
cmp dword [edx + 8], ebx
jne 0x43cbd8
push 0xaa
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0044f154
add esp, 0xc
lea eax, [ebp - 0xb0]
push 0x55
push eax
push ebx
call fcn.0043f288
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0xb0]
push ecx
push eax
jmp 0x43d36a
mov ecx, dword [ebp - 0x2b4]
push ecx
push dword [edx + 4]
jmp 0x43d36a
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c8], str.CultureNameDisplay
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c4], eax
mov eax, dword [edx + 4]
jmp 0x43cd1f
push dword [ebp - 0x2b8]
call fcn.0043821c
test al, al
jne 0x43d376
and dword [ebp - 0x2d4], ebx
lea eax, [ebp - 0x2d4]
push eax
xor eax, eax
cmp dword [ebp - 0x2c0], eax
setne al
inc eax
push eax
push dword [ebp - 0x2b8]
call fcn.0043bebf
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2b8]
test eax, eax
js 0x43cc5f
cmp dword [ebp - 0x2d4], ebx
cmovne ecx, dword [ebp - 0x2d4]
cmp eax, 0x8007000e
je 0x43d376
mov eax, dword [ebp - 0x2bc]
mov edx, str.CultureNameProof
cmp dword [ebp - 0x2c0], ebx
push ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c4], eax
mov eax, str.CultureNameConfig
cmovne eax, edx
mov dword [ebp - 0x2c8], eax
call fcn.0043829a
test eax, eax
jne 0x43ccad
mov eax, dword [ebp - 0x2b4]
mov dword [eax], 0x80004005
jmp 0x43d38b
mov eax, dword [eax + 4]
jmp 0x43cd1f
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c8], str.ScriptNameDisplay
cmp dword [ebp - 0x2dc], ebx
jne 0x43ccf5
lea eax, [ebp - 0x2dc]
push eax
push dword [ebp - 0x2b8]
call fcn.0043bf55
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x43d376
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x1b0]
push 0
push 5
push eax
push dword [ebp - 0x2dc]
call fcn.0043b85d
test eax, eax
je 0x43d376
lea eax, [ebp - 0x1b0]
mov edx, dword [ebp + 0x1c]
mov ecx, edx
and ecx, 0x7100
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2f8], ecx
je 0x43cf6f
xor ecx, ecx
test dword [ecx*8 + 0x484b58], edx
jne 0x43cf45
inc ecx
cmp ecx, 4
jb 0x43cd3e
jmp 0x43cf6f
sub eax, 0xd
je 0x43ccc1
sub eax, 0x1c
je 0x43ceea
sub eax, 1
je 0x43cef9
push dword [ebp - 0x2b8]
or dword [ebp - 0x2fc], 0xffffffff
or dword [ebp - 0x300], 0xffffffff
or dword [ebp - 0x2e0], 0xffffffff
call fcn.00438180
test al, al
je 0x43cdbc
lea eax, [ebp - 0x2fc]
push eax
push 4
push dword [ebp - 0x2b8]
call fcn.0043bebf
lea eax, [ebp - 0x300]
push eax
mov eax, dword [ebp - 0x2bc]
push 5
push dword [eax]
jmp 0x43cdda
push dword [ebp - 0x2b8]
call fcn.0043815a
test al, al
je 0x43cddf
lea eax, [ebp - 0x2e0]
push eax
push 3
push dword [ebp - 0x2b8]
call fcn.0043bebf
imul eax, dword [ebp - 0x2c0], 0x14
mov dword [ebp - 0x2b8], eax
mov eax, dword [eax + 0x484050]
test al, 0x10
je 0x43ce72
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x2d4], eax
call fcn.00438180
test al, al
je 0x43ce2d
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2fc]
test dword [eax + 0x484050], 0x80000
cmovne ecx, dword [ebp - 0x300]
jmp 0x43ce4d
push dword [ebp - 0x2d4]
call fcn.0043815a
mov ecx, dword [ebp - 0x2c4]
test al, al
mov eax, dword [ebp - 0x2b8]
cmovne ecx, dword [ebp - 0x2e0]
test dword [eax + 0x484050], 0x80000
mov edx, str.CultureInfoLanguage
mov dword [ebp - 0x2c4], ecx
mov ecx, str.CultureInfoRegion
cmove ecx, edx
mov dword [ebp - 0x2c8], ecx
jmp 0x43cedf
test al, 0x20
je 0x43ced9
cmp dword [ebp - 0x2d8], ebx
jne 0x43cea4
lea eax, [ebp - 0x2d8]
push eax
mov eax, dword [ebp - 0x2bc]
push 1
push dword [eax]
call fcn.0043baa6
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x43d376
mov ecx, dword [ebp - 0x2d8]
mov eax, dword [0x4d1ee0]
add ecx, ecx
push 0
push dword [eax + ecx*8 + 4]
lea eax, [ebp - 0x1b0]
push 0x7f
push eax
call fcn.0043f18a
test al, al
je 0x43d376
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2b8]
mov eax, dword [eax + 0x484044]
jmp 0x43cd1f
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c8], str.CalendarNameDisplay
cmp dword [ebp - 0x2d8], ebx
jne 0x43cf2f
lea eax, [ebp - 0x2d8]
push eax
push 1
push dword [ebp - 0x2b8]
call fcn.0043baa6
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x43d376
mov ecx, dword [ebp - 0x2d8]
mov eax, dword [0x4d1ee0]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
jmp 0x43cd1f
push eax
push dword [ecx*8 + 0x484b5c]
lea eax, [ebp - 0x2b0]
push 0x7f
push eax
call fcn.0043f208
test al, al
je 0x43d376
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b8], eax
test edi, edi
je 0x43d037
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43d037
mov edx, dword [ebp - 0x2c0]
imul eax, edx, 0x14
test dword [eax + 0x484050], 0x2000
je 0x43d031
test ecx, ecx
js 0x43cfd7
push 0
push ecx
push edi
push 0
push dword [ebp - 0x2b8]
push dword [ebp - 0x2c8]
push dword [ebp - 0x2c4]
call fcn.0043c320
test eax, eax
js 0x43cfca
lea ebx, [eax + 1]
mov dword [esi], ebx
jmp 0x43d376
xor ebx, ebx
and dword [esi], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2f8], 0
jne 0x43d376
cmp edx, 8
jg 0x43d1a6
je 0x43d16d
mov eax, edx
sub eax, 0
je 0x43d12b
sub eax, 1
je 0x43d0fb
dec eax
sub eax, 1
je 0x43d12b
dec eax
sub eax, 1
jne 0x43d1c8
mov eax, dword [ebp - 0x2e4]
push dword [ebp - 0x2b4]
push dword [eax + 4]
push esi
push ecx
jmp 0x43d36e
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x330]
push ecx
push 0
push eax
push dword [ebp - 0x2c8]
push dword [ebp - 0x2c4]
call fcn.0043c5e8
test eax, eax
js 0x43cfce
mov ecx, dword [ebp - 0x330]
mov edx, 0x4000
cmp dword [ecx], ebx
jne 0x43d089
imul eax, dword [ebp - 0x2c0], 0x14
test dword [eax + 0x484050], edx
jne 0x43d089
lea eax, [ebp - 0x330]
push eax
call fcn.0043c7af
jmp 0x43cfce
imul eax, dword [ebp - 0x2c0], 0x14
mov eax, dword [eax + 0x484050]
test eax, 0x2000
je 0x43d0b1
push dword [ebp - 0x2b4]
push dword [ecx]
push esi
push dword [ebp + 0xc]
push edi
call fcn.00437adf
jmp 0x43d0e8
test eax, 0x8000
je 0x43d0c9
push dword [ecx]
push dword [ebp + 0xc]
push edi
call fcn.0043f3d3
mov ebx, eax
mov dword [esi], ebx
jmp 0x43d0ea
test edx, eax
je 0x43d0ea
push dword [ebp - 0x2b4]
push 0
push 0
push ecx
push dword [ebp - 0x32c]
push esi
push dword [ebp + 0xc]
push edi
call fcn.0043f2a0
mov ebx, eax
lea eax, [ebp - 0x330]
push eax
call fcn.0043c7af
jmp 0x43d376
mov eax, dword [ebp - 0x2bc]
push dword [eax]
call fcn.0043829a
test eax, eax
je 0x43d376
push dword [ebp + 0x1c]
push dword [ebp - 0x2bc]
push esi
push dword [ebp + 0xc]
push edi
push dword [eax + 4]
call fcn.0043da06
jmp 0x43d374
lea eax, [ebp - 0x330]
push eax
push 0
push dword [ebp - 0x2b8]
push str.CultureNameDisplay
push dword [ebp - 0x2c4]
call fcn.0043c5e8
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x43d376
mov eax, dword [ebp - 0x330]
cmp dword [eax], 0
je 0x43d0ea
push ecx
push dword [eax]
jmp 0x43d0a5
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x318]
push eax
call fcn.0043f4c4
cmp dword [ebp - 0x314], 0
jbe 0x43d35f
push dword [ebp - 0x2b4]
push dword [ebp - 0x314]
push dword [ebp - 0x318]
jmp 0x43d34f
mov eax, edx
sub eax, 0xb
je 0x43d311
sub eax, 3
je 0x43d2c9
sub eax, 4
je 0x43d2b9
sub eax, 0x72
je 0x43d221
and dword [ebp - 0x2f8], 0
test dword [ebp + 0x1c], 0x7000
jne 0x43d376
lea eax, [ebp - 0x2f8]
push eax
push edx
push dword [ebp - 0x2bc]
call fcn.0043dd0b
test al, al
je 0x43d376
push dword [ebp - 0x2b4]
mov eax, dword [ebp + 0x1c]
or eax, 0x1000
push eax
push dword [ebp - 0x2c0]
push dword [ebp - 0x2bc]
push esi
push dword [ebp + 0xc]
push edi
call fcn.0043c812
jmp 0x43d374
or dword [ebp - 0x2e0], 0xffffffff
lea eax, [ebp - 0x2e0]
push eax
mov eax, dword [ebp - 0x2bc]
xor ebx, ebx
and dword [esi], ebx
push 5
push dword [eax]
call fcn.0043bebf
mov eax, dword [ebp - 0x2e0]
cmp eax, 0xffffffff
je 0x43d2a0
cmp eax, dword [ebp - 0x2c4]
je 0x43d2a0
mov esi, dword [ebp - 0x2bc]
lea edi, [ebp - 0x310]
push dword [ebp - 0x2b4]
push dword [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
push 0x84
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2cc]
mov edi, dword [ebp - 0x2d0]
mov dword [ebp - 0x310], eax
lea eax, [ebp - 0x310]
push eax
push esi
push dword [ebp + 0xc]
push edi
call fcn.0043c812
mov ebx, eax
test ebx, ebx
jne 0x43d376
cmp dword [esi], 0
jne 0x43d376
push dword [ebp - 0x2b4]
push 0x484b78
jmp 0x43d36a
push dword [ebp - 0x2b4]
push 0x47e838
jmp 0x43d02a
cmp dword [ebp - 0x2dc], 0
je 0x43d2e8
push dword [ebp - 0x2b4]
push esi
push ecx
push edi
push dword [ebp - 0x2dc]
call fcn.0043b85d
jmp 0x43d359
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x318]
push eax
call fcn.0043f4c4
mov ecx, dword [ebp - 0x310]
test ecx, ecx
je 0x43d35f
push dword [ebp - 0x2b4]
push 4
jmp 0x43d345
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x318]
push eax
call fcn.0043f4c4
mov ecx, dword [ebp - 0x30c]
test ecx, ecx
je 0x43d35f
cmp dword [ebp - 0x304], 0
jbe 0x43d35f
push dword [ebp - 0x2b4]
push dword [ebp - 0x304]
mov eax, dword [ebp - 0x318]
lea eax, [eax + ecx*2]
push eax
push esi
push dword [ebp + 0xc]
push edi
call fcn.0043d916
mov ebx, eax
test ebx, ebx
jne 0x43d376
push dword [ebp - 0x2b4]
push 0x47e838
push esi
push dword [ebp + 0xc]
push edi
call fcn.00437adf
mov ebx, eax
mov esi, dword [ebp - 0x2b4]
cmp dword [esi], 0
jl 0x43d38b
test ebx, ebx
jne 0x43d38b
mov dword [esi], 0x80004005
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d772
mov esp, ebp
pop ebp
ret 0x1c