Function at 0x456db0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cbe2
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x57f7a0]
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 bl, cl
mov eax, dword [0x58b798]
test al, 1
jne 0x456f7c
or eax, 1
mov dword [0x58b798], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], str.LDPlayer_tw_
push eax
push ecx
mov dword [ebp - 0x29c], str.zh_TW
mov dword [ebp - 0x298], str.LDPlayer_kr_
mov dword [ebp - 0x294], str.ko_KR
mov dword [ebp - 0x290], str.LDPlayer_en_
mov dword [ebp - 0x28c], str.en_US
mov dword [ebp - 0x288], str.LDPlayer_vn_
mov dword [ebp - 0x284], str.vi_VN
mov dword [ebp - 0x280], str.LDPlayer_th_
mov dword [ebp - 0x27c], str.th_TH
mov dword [ebp - 0x278], str.LDPlayer_ru_
mov dword [ebp - 0x274], str.ru_RU
mov dword [ebp - 0x270], str.LDPlayer_pt_
mov dword [ebp - 0x26c], str.pt_PT
mov dword [ebp - 0x268], str.LDPlayer_tr_
mov dword [ebp - 0x264], str.tr_TR
mov dword [ebp - 0x260], str.LDPlayer_es_
mov dword [ebp - 0x25c], str.es_ES
mov dword [ebp - 0x258], str.LDPlayer_fr_
mov dword [ebp - 0x254], str.fr_FR
mov dword [ebp - 0x250], str.LDPlayer_de_
mov dword [ebp - 0x24c], str.de_DE
mov dword [ebp - 0x248], str.LDPlayer_jp_
mov dword [ebp - 0x244], str.ja_JP
mov dword [ebp - 0x240], str.LDPlayer_id_
mov dword [ebp - 0x23c], str.in_ID
mov dword [ebp - 0x238], str.LDPlayer_ar_
mov dword [ebp - 0x234], str.ar_IL
mov dword [ebp - 0x230], str.LDPlayer_it_
mov dword [ebp - 0x22c], str.it_IT
mov dword [ebp - 0x228], str.LDPlayer_my_
mov dword [ebp - 0x224], str.ms_MY
mov dword [ebp - 0x220], str.LDPlayer_ua_
mov dword [ebp - 0x21c], str.uk_UA
call fcn.00457d10
push 0x531e20
call fcn.004ea73e
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [0x58b798]
test bl, bl
je 0x457104
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004f31f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x2c4], 7
mov dword [ebp - 0x2c8], 0
mov word [ebp - 0x2d8], ax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x456ff9
lea ebx, [ebx]
add eax, 2
cmp word [eax], 0
jne 0x456ff0
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0041b3d0
lea eax, [ebp - 0x2c0]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00429710
mov ebx, dword [0x58b79c]
mov esi, dword [ebx]
cmp esi, ebx
je 0x4570ad
mov edx, dword [esi + 0x10]
cmp word [edx], 0
jne 0x45703e
xor ecx, ecx
jmp 0x457052
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457043
sub ecx, edi
sar ecx, 1
push ecx
push 0
push edx
lea ecx, [ebp - 0x2c0]
call fcn.0040a350
test eax, eax
je 0x4572f7
cmp byte [esi + 0xd], 0
jne 0x4570a9
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x45708e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4570a9
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x457082
jmp 0x4570a9
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4570a7
cmp esi, dword [eax + 8]
jne 0x4570a7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x457097
mov esi, eax
cmp esi, ebx
jne 0x457031
cmp dword [ebp - 0x2ac], 8
jb 0x4570c4
push dword [ebp - 0x2c0]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c4], 8
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
jb 0x4570ff
push dword [ebp - 0x2d8]
call fcn.004db8b0
add esp, 4
mov eax, dword [0x58b798]
test al, 2
jne 0x4572aa
or eax, 2
mov dword [0x58b798], eax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x2a8], 0x12
push eax
push ecx
mov dword [ebp - 0x2a4], str.ko_KR
mov dword [ebp - 0x2a0], 9
mov dword [ebp - 0x29c], str.en_US
mov dword [ebp - 0x298], 0x2a
mov dword [ebp - 0x294], str.vi_VN
mov dword [ebp - 0x290], 0x1e
mov dword [ebp - 0x28c], str.th_TH
mov dword [ebp - 0x288], 0x19
mov dword [ebp - 0x284], str.ru_RU
mov dword [ebp - 0x280], 0x22
mov dword [ebp - 0x27c], str.uk_UA
mov dword [ebp - 0x278], 0x16
mov dword [ebp - 0x274], str.pt_PT
mov dword [ebp - 0x270], 0x1f
mov dword [ebp - 0x26c], str.tr_TR
mov dword [ebp - 0x268], 0xa
mov dword [ebp - 0x264], str.es_ES
mov dword [ebp - 0x260], 0xc
mov dword [ebp - 0x25c], str.fr_FR
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x254], str.de_DE
mov dword [ebp - 0x250], 0x11
mov dword [ebp - 0x24c], str.ja_JP
mov dword [ebp - 0x248], 0x21
mov dword [ebp - 0x244], str.in_ID
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x23c], str.ar_IL
mov dword [ebp - 0x238], 0x29
mov dword [ebp - 0x234], str.fa_IR
mov dword [ebp - 0x230], 0x39
mov dword [ebp - 0x22c], str.hi_IN
mov dword [ebp - 0x228], 0x10
mov dword [ebp - 0x224], str.it_IT
mov dword [ebp - 0x220], 0x3e
mov dword [ebp - 0x21c], str.ms_MY
call fcn.00457de0
push 0x531dc0
call fcn.004ea73e
add esp, 4
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 4
jne 0x457356
mov ecx, 0xc04
cmp ax, cx
je 0x45734c
mov ecx, 0x1404
cmp ax, cx
je 0x45734c
mov ecx, 0x404
cmp ax, cx
je 0x45734c
mov ecx, 0x7c04
cmp ax, cx
je 0x45734c
mov eax, str.zh_CN
jmp 0x4573e5
cmp dword [ebp - 0x2ac], 8
mov esi, dword [esi + 0x14]
jb 0x457311
push dword [ebp - 0x2c0]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2ac], 7
cmp dword [ebp - 0x2c4], 8
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
jb 0x457345
push dword [ebp - 0x2d8]
call fcn.004db8b0
add esp, 4
mov eax, esi
jmp 0x4573e5
mov eax, str.zh_TW
jmp 0x4573e5
mov eax, ecx
mov ecx, dword [0x58b7a4]
mov dword [ebp - 0x2e4], eax
mov edi, ecx
mov esi, dword [ecx + 4]
cmp byte [esi + 0xd], 0
jne 0x4573c9
nop
lea eax, [ebp - 0x2e4]
push eax
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x2dd]
call fcn.0043ed90
test al, al
je 0x45738f
mov esi, dword [esi + 8]
jmp 0x457393
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x457370
mov ecx, dword [0x58b7a4]
cmp edi, ecx
je 0x4573c9
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x2de]
call fcn.0043ed90
mov ecx, dword [0x58b7a4]
mov dword [ebp - 0x2dc], edi
test al, al
je 0x4573cf
mov dword [ebp - 0x2dc], ecx
lea eax, [ebp - 0x2dc]
mov eax, dword [eax]
cmp eax, ecx
je 0x4573e0
mov eax, dword [eax + 0x14]
jmp 0x4573e5
mov eax, 0x555a60
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.004ea604
mov esp, ebp
pop ebp
ret