Function at 0x406770
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4196c3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4251dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x38], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add eax, 0x140
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.00401000
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0
push 0xa
push esi
mov byte [ebp - 4], 1
call fcn.00401020
sub esp, 8
mov ecx, esp
push 0x41beb8
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x20]
call fcn.00401450
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00401450
mov esi, dword [ebp - 0x38]
sub esp, 8
mov eax, esp
mov dword [ebp - 0x2c], esp
push eax
mov ecx, esi
call fcn.00405dc0
push str.previousVersion
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00401070
mov byte [ebp - 4], 4
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00401450
sub esp, 8
mov ecx, esp
push eax
call fcn.00401000
lea ecx, [ebp - 0x20]
call fcn.00401450
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004010d0
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.00405a20
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x2c], esp
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00401d70
push str.pProc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00401070
mov byte [ebp - 4], 8
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00401450
sub esp, 8
mov ecx, esp
push eax
call fcn.00401000
lea ecx, [ebp - 0x20]
call fcn.00401450
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.004010d0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004010d0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
call fcn.004052d0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00401070
push str.lang
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.00401070
mov byte [ebp - 4], 0xb
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00401450
sub esp, 8
mov ecx, esp
push eax
call fcn.00401000
lea ecx, [ebp - 0x20]
call fcn.00401450
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004010d0
call fcn.0040c350
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x2c], esp
test eax, eax
je 0x40694d
push 0x41bf3c
call fcn.00401070
push str.cpuWordLength
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.00401070
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xf
jmp 0x406970
push 0x41bf44
call fcn.00401070
push str.cpuWordLength
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.00401070
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x12
mov ecx, eax
call fcn.00401450
sub esp, 8
mov ecx, esp
push eax
call fcn.00401000
lea ecx, [ebp - 0x20]
call fcn.00401450
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004010d0
sub esp, 8
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov dword [ebp - 0x18], 0
call fcn.00401000
push str.http:__fpdownload2.macromedia.com_get_flashplayer_update_current_install_version.xml
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.00401070
mov byte [ebp - 4], 0x14
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00401450
push eax
lea ecx, [ebp - 0x18]
call fcn.00401000
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x17
call fcn.004010d0
mov eax, dword [ebp + 8]
sub esp, 8
mov ecx, esp
cmp eax, 0x7fefa
jne 0x4069f9
push str.playerTypefull
jmp 0x406a24
cmp eax, 8
jne 0x406a05
push str.playerTypeax
jmp 0x406a24
cmp eax, 0x10
jne 0x406a11
push str.playerTypepl
jmp 0x406a24
cmp eax, 0x8000
jne 0x406a1f
push str.playerTypepep
jmp 0x406a24
push str.playerTypeunk
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401450
sub esp, 8
mov ecx, esp
push str.oswin
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401450
push 0
push 0xa
mov dword [ebp - 0x28], 0
call fcn.00406200
push eax
lea ecx, [ebp - 0x28]
call fcn.00401020
sub esp, 8
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 0x18
call fcn.00401000
sub esp, 8
mov ecx, esp
push str.osVer
mov byte [ebp - 4], 0x19
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401450
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00401450
sub esp, 8
mov ecx, esp
push str.isDebug0
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401450
test ebx, ebx
je 0x406b59
sub esp, 8
mov ecx, esp
push str.err
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401450
sub esp, 8
mov ecx, esp
push 0
push 0xa
push ebx
call fcn.00401050
lea ecx, [ebp - 0x18]
call fcn.00401450
test edi, edi
je 0x406b1b
sub esp, 8
mov ecx, esp
push str.werr
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401450
sub esp, 8
mov ecx, esp
push 0
push 0xa
push edi
call fcn.00401020
lea ecx, [ebp - 0x18]
call fcn.00401450
lea ecx, [ebp + 0x18]
call fcn.00402190
test eax, eax
jle 0x406b59
sub esp, 8
mov ecx, esp
push str.comp
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401450
lea ecx, [ebp + 0x18]
call fcn.00402130
sub esp, 8
mov ecx, esp
push eax
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401450
add esi, 0x150
mov ecx, esi
call fcn.00402190
test eax, eax
jle 0x406b94
sub esp, 8
mov ecx, esp
push str.app
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401450
sub esp, 8
mov ecx, esp
push esi
call fcn.00401000
lea ecx, [ebp - 0x18]
call fcn.00401450
push 0x28
call fcn.0040eddc
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 0x1a
test edi, edi
je 0x406c3c
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.0040bfe0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
jmp 0x406c3e
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 0x18
call fcn.00406410
test al, al
jne 0x406c61
test edi, edi
je 0x406c61
mov ecx, edi
call fcn.0040bff0
push edi
call fcn.0040ee50
add esp, 4
mov eax, dword [edi + 4]
push 0
push 0
push 0
push 0
push str.Adobe_Flash_Player
call eax
push 0
push 0x4000100
push 0
push 0x41b284
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00402130
mov ecx, dword [edi + 0x24]
push eax
push esi
call ecx
push eax
mov eax, dword [edi + 0x1c]
call eax
mov eax, dword [edi + 0x1c]
push esi
call eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x17
call fcn.004010d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004010d0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.004010d0
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.004010d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ee55
mov esp, ebp
pop ebp
ret 0x18