Function at 0x42802b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x467368]
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 0x42809b
cmp dword [ebp + 0xc], ebx
jbe 0x42809b
xor eax, eax
mov word [edi], ax
push edx
call fcn.004295e1
test al, al
je 0x428347
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.004232eb
mov esi, dword [ebp - 0x2c0]
test al, al
je 0x4280f3
push esi
call fcn.0042800a
test al, al
je 0x4280f3
push edi
call fcn.0042333e
mov edx, dword [eax + 0x28]
push edx
call fcn.00423258
test al, al
cmove edi, edx
mov dword [ebp - 0x2f4], edi
push dword [ebp - 0x2e8]
call fcn.004232eb
test al, al
je 0x428127
push dword [ebp - 0x2e8]
call fcn.0042333e
mov edx, dword [eax + 0x28]
push edx
call fcn.00423258
test al, al
mov eax, dword [ebp - 0x2e8]
cmove eax, edx
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004295e1
test al, al
je 0x42832d
imul eax, esi, 0x14
test byte [eax + 0x45b100], 0xa
je 0x4281b9
test dword [ebp + 0x1c], 0x7100
jne 0x4281b9
mov esi, dword [ebp - 0x2bc]
push dword [esi]
call fcn.004232eb
test al, al
je 0x42817d
lea eax, [ebp - 0x2f4]
push eax
push dword [esi]
call fcn.00429b36
test eax, eax
js 0x428b8f
mov edi, dword [ebp - 0x2f4]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi]
jne 0x42818f
mov dword [ebp - 0x2e8], edi
jmp 0x42832d
push eax
call fcn.004232eb
test al, al
je 0x42832d
lea eax, [ebp - 0x2e8]
push eax
push dword [esi + 0xc]
call fcn.00429b36
test eax, eax
js 0x428b8f
jmp 0x42832d
cmp esi, 1
jne 0x4282df
mov esi, dword [ebp - 0x2bc]
push dword [esi]
call fcn.0042333e
mov edi, eax
mov dword [ebp - 0x2d4], edi
test edi, edi
je 0x428b8f
push dword [edi + 4]
lea eax, [ebp - 0x318]
push eax
call fcn.0042b01f
cmp dword [ebp - 0x314], ebx
jne 0x428226
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x2d0]
test eax, eax
js 0x4282d7
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 0x428277
push dword [esi]
call fcn.004232eb
test al, al
je 0x4282ce
mov edx, dword [edi + 0x28]
push edx
call fcn.00423258
mov edi, dword [ebp - 0x2d0]
test al, al
jne 0x4282c6
cmp edx, dword [esi]
mov esi, dword [ebp - 0x2cc]
je 0x42827b
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.0042802b
mov ebx, eax
test ebx, ebx
jne 0x42829f
mov eax, dword [ebp + 0xc]
cmp dword [esi], 0
jne 0x42829f
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.00429221
mov ebx, eax
test edi, edi
je 0x428b8f
xor eax, eax
cmp ax, word [edi]
jne 0x428b8f
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi]
jbe 0x428b8f
xor ebx, ebx
and dword [esi], ebx
jmp 0x428b8f
mov esi, dword [ebp - 0x2cc]
jmp 0x42827b
mov edi, dword [ebp - 0x2d0]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x2cc]
jmp 0x42827e
cmp esi, 0x29
jne 0x428b8f
lea eax, [ebp - 0x2e8]
push eax
mov eax, dword [ebp - 0x2bc]
push 4
push dword [eax + 0xc]
call fcn.00426f07
test eax, eax
js 0x428b8f
push dword [ebp - 0x2e8]
call fcn.004232eb
test al, al
jne 0x428b8f
push dword [ebp - 0x2e8]
call fcn.00423258
test al, al
jne 0x428b8f
mov esi, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2f4]
mov edi, dword [ebp - 0x2d0]
mov dword [ebp - 0x2bc], eax
jmp 0x42834d
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2c4], eax
call fcn.0042333e
mov edx, eax
mov dword [ebp - 0x2e4], edx
test edx, edx
jne 0x42837e
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], 0x80004005
jmp 0x428ba4
mov eax, dword [ebp - 0x2c0]
cmp eax, 0xc
jg 0x42856f
je 0x4284cb
sub eax, 0
je 0x428421
sub eax, 1
je 0x428400
dec eax
sub eax, 1
je 0x428421
sub eax, 1
jne 0x42858a
mov ebx, 0xc00
cmp dword [edx + 8], ebx
jne 0x4283f1
push 0xaa
push eax
lea eax, [ebp - 0xb0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xb0]
push 0x55
push eax
push ebx
call fcn.0042ade4
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0xb0]
push ecx
push eax
jmp 0x428b83
mov ecx, dword [ebp - 0x2b4]
push ecx
push dword [edx + 4]
jmp 0x428b83
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 0x428538
push dword [ebp - 0x2b8]
call fcn.004232c0
test al, al
jne 0x428b8f
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.00426f07
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2b8]
test eax, eax
js 0x428478
cmp dword [ebp - 0x2d4], ebx
cmovne ecx, dword [ebp - 0x2d4]
cmp eax, 0x8007000e
je 0x428b8f
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.0042333e
test eax, eax
jne 0x4284c6
mov eax, dword [ebp - 0x2b4]
mov dword [eax], 0x80004005
jmp 0x428ba4
mov eax, dword [eax + 4]
jmp 0x428538
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 0x42850e
lea eax, [ebp - 0x2dc]
push eax
push dword [ebp - 0x2b8]
call fcn.00426f9d
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x428b8f
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x1b0]
push 0
push 5
push eax
push dword [ebp - 0x2dc]
call fcn.004268a3
test eax, eax
je 0x428b8f
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 0x428788
xor ecx, ecx
test dword [ecx*8 + 0x45bc08], edx
jne 0x42875e
inc ecx
cmp ecx, 4
jb 0x428557
jmp 0x428788
sub eax, 0xd
je 0x4284da
sub eax, 0x1c
je 0x428703
sub eax, 1
je 0x428712
push dword [ebp - 0x2b8]
or dword [ebp - 0x2fc], 0xffffffff
or dword [ebp - 0x300], 0xffffffff
or dword [ebp - 0x2e0], 0xffffffff
call fcn.00423208
test al, al
je 0x4285d5
lea eax, [ebp - 0x2fc]
push eax
push 4
push dword [ebp - 0x2b8]
call fcn.00426f07
lea eax, [ebp - 0x300]
push eax
mov eax, dword [ebp - 0x2bc]
push 5
push dword [eax]
jmp 0x4285f3
push dword [ebp - 0x2b8]
call fcn.004231e2
test al, al
je 0x4285f8
lea eax, [ebp - 0x2e0]
push eax
push 3
push dword [ebp - 0x2b8]
call fcn.00426f07
imul eax, dword [ebp - 0x2c0], 0x14
mov dword [ebp - 0x2b8], eax
mov eax, dword [eax + 0x45b100]
test al, 0x10
je 0x42868b
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x2d4], eax
call fcn.00423208
test al, al
je 0x428646
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2fc]
test dword [eax + 0x45b100], 0x80000
cmovne ecx, dword [ebp - 0x300]
jmp 0x428666
push dword [ebp - 0x2d4]
call fcn.004231e2
mov ecx, dword [ebp - 0x2c4]
test al, al
mov eax, dword [ebp - 0x2b8]
cmovne ecx, dword [ebp - 0x2e0]
test dword [eax + 0x45b100], 0x80000
mov edx, str.CultureInfoLanguage
mov dword [ebp - 0x2c4], ecx
mov ecx, str.CultureInfoRegion
cmove ecx, edx
mov dword [ebp - 0x2c8], ecx
jmp 0x4286f8
test al, 0x20
je 0x4286f2
cmp dword [ebp - 0x2d8], ebx
jne 0x4286bd
lea eax, [ebp - 0x2d8]
push eax
mov eax, dword [ebp - 0x2bc]
push 1
push dword [eax]
call fcn.00426aed
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x428b8f
mov ecx, dword [ebp - 0x2d8]
mov eax, dword [0x472180]
add ecx, ecx
push 0
push dword [eax + ecx*8 + 4]
lea eax, [ebp - 0x1b0]
push 0x7f
push eax
call fcn.0042ace2
test al, al
je 0x428b8f
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2b8]
mov eax, dword [eax + 0x45b0f4]
jmp 0x428538
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 0x428748
lea eax, [ebp - 0x2d8]
push eax
push 1
push dword [ebp - 0x2b8]
call fcn.00426aed
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x428b8f
mov ecx, dword [ebp - 0x2d8]
mov eax, dword [0x472180]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
jmp 0x428538
push eax
push dword [ecx*8 + 0x45bc0c]
lea eax, [ebp - 0x2b0]
push 0x7f
push eax
call fcn.0042ad62
test al, al
je 0x428b8f
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b8], eax
test edi, edi
je 0x428850
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x428850
mov edx, dword [ebp - 0x2c0]
imul eax, edx, 0x14
test dword [eax + 0x45b100], 0x2000
je 0x42884a
test ecx, ecx
js 0x4287f0
push 0
push ecx
push edi
push 0
push dword [ebp - 0x2b8]
push dword [ebp - 0x2c8]
push dword [ebp - 0x2c4]
call fcn.00427a1e
test eax, eax
js 0x4287e3
lea ebx, [eax + 1]
mov dword [esi], ebx
jmp 0x428b8f
xor ebx, ebx
and dword [esi], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2f8], 0
jne 0x428b8f
cmp edx, 8
jg 0x4289bf
je 0x428986
mov eax, edx
sub eax, 0
je 0x428944
sub eax, 1
je 0x428914
dec eax
sub eax, 1
je 0x428944
dec eax
sub eax, 1
jne 0x4289e1
mov eax, dword [ebp - 0x2e4]
push dword [ebp - 0x2b4]
push dword [eax + 4]
push esi
push ecx
jmp 0x428b87
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.00427ce7
test eax, eax
js 0x4287e7
mov ecx, dword [ebp - 0x330]
mov edx, 0x4000
cmp dword [ecx], ebx
jne 0x4288a2
imul eax, dword [ebp - 0x2c0], 0x14
test dword [eax + 0x45b100], edx
jne 0x4288a2
lea eax, [ebp - 0x330]
push eax
call fcn.00427f05
jmp 0x4287e7
imul eax, dword [ebp - 0x2c0], 0x14
mov eax, dword [eax + 0x45b100]
test eax, 0x2000
je 0x4288ca
push dword [ebp - 0x2b4]
push dword [ecx]
push esi
push dword [ebp + 0xc]
push edi
call fcn.0042276c
jmp 0x428901
test eax, 0x8000
je 0x4288e2
push dword [ecx]
push dword [ebp + 0xc]
push edi
call fcn.0042af2e
mov ebx, eax
mov dword [esi], ebx
jmp 0x428903
test edx, eax
je 0x428903
push dword [ebp - 0x2b4]
push 0
push 0
push ecx
push dword [ebp - 0x32c]
push esi
push dword [ebp + 0xc]
push edi
call fcn.0042adfc
mov ebx, eax
lea eax, [ebp - 0x330]
push eax
call fcn.00427f05
jmp 0x428b8f
mov eax, dword [ebp - 0x2bc]
push dword [eax]
call fcn.0042333e
test eax, eax
je 0x428b8f
push dword [ebp + 0x1c]
push dword [ebp - 0x2bc]
push esi
push dword [ebp + 0xc]
push edi
push dword [eax + 4]
call fcn.00429221
jmp 0x428b8d
lea eax, [ebp - 0x330]
push eax
push 0
push dword [ebp - 0x2b8]
push str.CultureNameDisplay
push dword [ebp - 0x2c4]
call fcn.00427ce7
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x428b8f
mov eax, dword [ebp - 0x330]
cmp dword [eax], 0
je 0x428903
push ecx
push dword [eax]
jmp 0x4288be
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x318]
push eax
call fcn.0042b01f
cmp dword [ebp - 0x314], 0
jbe 0x428b78
push dword [ebp - 0x2b4]
push dword [ebp - 0x314]
push dword [ebp - 0x318]
jmp 0x428b68
mov eax, edx
sub eax, 0xb
je 0x428b2a
sub eax, 3
je 0x428ae2
sub eax, 4
je 0x428ad2
sub eax, 0x72
je 0x428a3a
and dword [ebp - 0x2f8], 0
test dword [ebp + 0x1c], 0x7000
jne 0x428b8f
lea eax, [ebp - 0x2f8]
push eax
push edx
push dword [ebp - 0x2bc]
call fcn.0042957f
test al, al
je 0x428b8f
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.0042802b
jmp 0x428b8d
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.00426f07
mov eax, dword [ebp - 0x2e0]
cmp eax, 0xffffffff
je 0x428ab9
cmp eax, dword [ebp - 0x2c4]
je 0x428ab9
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.0042802b
mov ebx, eax
test ebx, ebx
jne 0x428b8f
cmp dword [esi], 0
jne 0x428b8f
push dword [ebp - 0x2b4]
push 0x45bc28
jmp 0x428b83
push dword [ebp - 0x2b4]
push 0x451808
jmp 0x428843
cmp dword [ebp - 0x2dc], 0
je 0x428b01
push dword [ebp - 0x2b4]
push esi
push ecx
push edi
push dword [ebp - 0x2dc]
call fcn.004268a3
jmp 0x428b72
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x318]
push eax
call fcn.0042b01f
mov ecx, dword [ebp - 0x310]
test ecx, ecx
je 0x428b78
push dword [ebp - 0x2b4]
push 4
jmp 0x428b5e
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x318]
push eax
call fcn.0042b01f
mov ecx, dword [ebp - 0x30c]
test ecx, ecx
je 0x428b78
cmp dword [ebp - 0x304], 0
jbe 0x428b78
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.00429130
mov ebx, eax
test ebx, ebx
jne 0x428b8f
push dword [ebp - 0x2b4]
push 0x451808
push esi
push dword [ebp + 0xc]
push edi
call fcn.0042276c
mov ebx, eax
mov esi, dword [ebp - 0x2b4]
cmp dword [esi], 0
jl 0x428ba4
test ebx, ebx
jne 0x428ba4
mov dword [esi], 0x80004005
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c025
mov esp, ebp
pop ebp
ret 0x1c