Function at 0x406d80
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46cbc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [0x4a7790]
push ebx
push esi
xor esi, esi
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
push str.Software_Information
mov dword [eax + ecx*4 + 0x18], edx
mov eax, dword [0x4a7790]
mov edx, dword [eax + 0x10]
inc edx
mov dword [eax + 0x10], edx
mov eax, dword [0x4a7790]
mov dword [eax + 0x14], esi
mov ecx, dword [0x4a7790]
mov ebx, dword [ecx]
add ebx, 0x11b790
call fcn.00405030
push str.___________________
call fcn.00405030
lea edx, [ebx + 4]
lea eax, [esp + 0x4c]
push edx
push str.Operating_System:_s
push eax
call fcn.00445f93
lea ecx, [esp + 0x58]
push ecx
call fcn.00405030
lea edx, [ebx + 0x84]
lea eax, [esp + 0x5c]
push edx
push str.Country:_s
push eax
call fcn.00445f93
lea ecx, [esp + 0x68]
push ecx
call fcn.00405030
lea edx, [ebx + 0xc4]
lea eax, [esp + 0x6c]
push edx
push str.Language:_s
push eax
call fcn.00445f93
lea ecx, [esp + 0x78]
push ecx
call fcn.00405030
lea edx, [ebx + 0x124]
lea eax, [esp + 0x7c]
push edx
push str.ANSI_Code_Page:_s
push eax
call fcn.00445f93
add esp, 0x44
lea ecx, [esp + 0x44]
push ecx
call fcn.00405030
lea edx, [ebx + 0x12c]
lea eax, [esp + 0x48]
push edx
push str.OEM_Code_Page:_s
push eax
call fcn.00445f93
lea ecx, [esp + 0x54]
push ecx
call fcn.00405030
lea edx, [ebx + 0x104]
lea eax, [esp + 0x58]
push edx
push str.DirectX:_s
push eax
call fcn.00445f93
lea ecx, [esp + 0x64]
push ecx
call fcn.00405030
push 0x4a778c
call fcn.00405030
mov eax, dword [ebx]
add esp, 0x28
mov dword [esp + 0x10], esi
cmp eax, esi
jle 0x407278
push ebp
lea ebp, [ebx + 0x134]
push edi
mov dword [esp + 0x10], ebp
push ebp
lea edx, [esp + 0x50]
push str.Description:_s
push edx
call fcn.00445f93
lea eax, [esp + 0x58]
push eax
call fcn.00405030
lea esi, [ebp + 0x100]
lea edx, [esp + 0x5c]
lea ecx, [esi - 0x80]
push ecx
push str.Version:_s
push edx
call fcn.00445f93
lea eax, [esp + 0x68]
push eax
call fcn.00405030
push esi
lea ecx, [esp + 0x70]
push str.Company:_s
push ecx
call fcn.00445f93
lea edx, [esp + 0x78]
push edx
call fcn.00405030
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0x3134]
add eax, 0x100
add esp, 0x30
cmp ecx, eax
jne 0x40701f
mov al, byte [ebx + 0x3138]
lea edx, [esp + 0x4c]
test al, al
je 0x406f7e
mov edi, str.Version_Check:Ok
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
push ecx
call fcn.00405030
add esp, 4
jmp 0x40701f
mov edi, str.Version_Check:Failed
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
push ecx
call fcn.00405030
xor esi, esi
push esi
call fcn.0041cfb0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40701f
lea ebp, [ebx + 0x319d]
cmp esi, 0x64
jge 0x40701b
mov al, byte [esi + ebx + 0x3139]
test al, al
jne 0x407000
push ebp
push esi
call fcn.0041cfb0
add esp, 4
lea edx, [esp + 0x50]
push eax
push str._s:_s
push edx
call fcn.00445f93
lea eax, [esp + 0x5c]
push eax
call fcn.00405030
add esp, 0x14
inc esi
add ebp, 0x20
push esi
call fcn.0041cfb0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x406fc9
mov ebp, dword [esp + 0x10]
push str.CloneCD
push ebp
call fcn.004461d0
add esp, 8
test eax, eax
je 0x407108
or edi, 0xffffffff
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], edi
call fcn.0041be90
push str.SoftwareSlySoftCloneCDSettings
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x15c], 0
call fcn.0041bf20
test eax, eax
je 0x407078
lea ecx, [esp + 0x10]
push ecx
push str.CloneCDTray
jmp 0x407099
push str.SoftwareElaborate_BytesCloneCDSettings
push SysReAllocStringLen
lea ecx, [esp + 0x3c]
call fcn.0041bf20
test eax, eax
je 0x4070ab
lea edx, [esp + 0x10]
push edx
push str.Traystatus
lea ecx, [esp + 0x3c]
call fcn.0041bf90
lea ecx, [esp + 0x34]
call fcn.0041bf70
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4070bf
cmp eax, 1
jne 0x4070f6
mov eax, str.enabled
jmp 0x4070c4
mov eax, str.disabled
push eax
lea eax, [esp + 0x50]
push str.The_option_Hide_CD_R_Media_is__s.
push eax
call fcn.00445f93
lea ecx, [esp + 0x58]
push ecx
call fcn.00405030
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x4070f6
push str.This_can_cause_problems_when_erasing_or_writing_discs.
call fcn.00405030
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x154], edi
call fcn.0041bed0
jmp 0x40710b
or edi, 0xffffffff
push str.Alcohol
push ebp
call fcn.004461d0
add esp, 8
test eax, eax
je 0x40724c
push 0x4a778c
lea ecx, [esp + 0x18]
call fcn.00462e5b
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
mov dword [esp + 0x158], 1
mov esi, edi
call fcn.0041be90
push str.SoftwareAlcohol_SoftAlcohol_120_Basic
push SysReAllocStringLen
lea ecx, [esp + 0x24]
mov byte [esp + 0x15c], 2
call fcn.0041bf20
test eax, eax
je 0x40719a
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
push str.Emulation_special_setting
call fcn.0041c000
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4071df
push eax
call fcn.00445da3
mov esi, eax
add esp, 4
sar esi, 7
and esi, 1
jmp 0x4071df
push str.SoftwareAlcohol_SoftAlcohol_120_Basic
push SysReAllocStringLen
lea ecx, [esp + 0x24]
call fcn.0041bf20
test eax, eax
je 0x40722b
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push str.Disable_Ignore_Media_Type
call fcn.0041c000
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4071df
push eax
call fcn.00445da3
mov esi, 1
add esp, 4
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.0041bf70
test esi, esi
je 0x4071f8
cmp esi, 1
jne 0x40722b
mov eax, str.enabled
jmp 0x4071fd
mov eax, str.disabled
push eax
lea ecx, [esp + 0x50]
push str.The_option_Ignore_media_type_is__s.
push ecx
call fcn.00445f93
lea edx, [esp + 0x58]
push edx
call fcn.00405030
add esp, 0x10
test esi, esi
je 0x40722b
push str.This_can_cause_problems_when_erasing_or_writing_discs.
call fcn.00405030
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 1
call fcn.0041bed0
lea ecx, [esp + 0x14]
mov dword [esp + 0x154], edi
call fcn.00462ded
push 0x4a778c
call fcn.00405030
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
add esp, 4
inc eax
add ebp, 0x180
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebp
jl 0x406ecb
pop edi
pop ebp
mov ecx, dword [esp + 0x144]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret