Function at 0x40da10
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41d75b
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x4b0
test al, al
jne 0x40dd0b
push ebx
lea eax, [esp + 4]
push str..AutoPlayLangData_
push eax
call fcn.00410eec
mov bl, byte [esp + 0x4d0]
add esp, 8
test bl, bl
jne 0x40dbb7
call fcn.00409b60
cmp byte [eax], 0
jne 0x40dbb7
lea ecx, [esp + 0x20c]
push str..AutoPlayLangData_
push ecx
call fcn.00410eec
mov edx, dword [0x4250f4]
mov eax, dword [edx*4 + 0x4a7250]
imul eax, eax, 0xa4
add eax, str.da_DK
push eax
lea eax, [esp + 0x218]
push eax
call fcn.00410ec2
lea ecx, [esp + 0x21c]
push str.lang.dat
push ecx
call fcn.00410ec2
lea edx, [esp + 0x224]
push edx
call fcn.0040ac00
add esp, 0x1c
test al, al
jne 0x40db8c
mov al, byte [0x4261ad]
test al, al
je 0x40db6b
lea eax, [esp + 4]
push str..AutoPlayLangData_
push eax
call fcn.00410eec
add esp, 8
mov ecx, 0x4261a8
call fcn.00401230
push eax
call fcn.0040cae0
imul eax, eax, 0xa4
add eax, str.da_DK
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00410ec2
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x21c]
push eax
call fcn.00410eec
lea ecx, [esp + 0x220]
push str.lang.dat
push ecx
call fcn.00410ec2
lea edx, [esp + 0x228]
push edx
call fcn.0040ac00
add esp, 0x20
test al, al
jne 0x40dcba
call fcn.00409b70
mov eax, dword [eax]
push 0x10
push str.Autoplay
push str.File_lang.dat_file_is_not_present__which_is_given_as_DEFAULT_LANG_CODE_in_Main.ini
push eax
call dword [0x425d64]
push 1
call fcn.0041249e
call fcn.00409b70
mov ecx, dword [eax]
push 0x10
push str.Autoplay
push str.Please_provide_default_language_Code_in_Main.ini
push ecx
call dword [0x425d64]
push 1
call fcn.0041249e
mov edx, dword [0x4250f4]
mov eax, dword [edx*4 + 0x4a7250]
imul eax, eax, 0xa4
add eax, str.da_DK
push eax
lea eax, [esp + 8]
push eax
call fcn.00410ec2
add esp, 8
jmp 0x40dcba
call fcn.00409b60
cmp byte [eax], 0
je 0x40dbeb
call fcn.0040d1f0
test al, al
je 0x40dbeb
call fcn.00403920
push eax
call fcn.0040d000
imul eax, eax, 0xa4
add eax, str.da_DK
push eax
lea ecx, [esp + 0xc]
push ecx
jmp 0x40dcb2
mov al, byte [0x4261ad]
test al, al
je 0x40dc96
mov ecx, 0x4261a8
call fcn.00401230
push eax
call fcn.0040cae0
imul eax, eax, 0xa4
add eax, str.da_DK
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00410ec2
add esp, 0xc
test bl, bl
je 0x40dcba
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x210]
push ecx
call fcn.00410eec
lea edx, [esp + 0x214]
push str.lang.dat
push edx
call fcn.00410ec2
lea eax, [esp + 0x21c]
push eax
call fcn.0040ac00
add esp, 0x14
test al, al
jne 0x40dcba
lea ecx, [esp + 4]
push str..AutoPlayLangData_
push ecx
call fcn.00410eec
call fcn.00403920
push eax
call fcn.0040d000
imul eax, eax, 0xa4
add eax, str.da_DK
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00410ec2
add esp, 0x14
jmp 0x40dcba
call fcn.00403920
push eax
call fcn.0040d000
imul eax, eax, 0xa4
add eax, str.da_DK
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00410ec2
add esp, 0xc
lea ecx, [esp + 4]
push str.lang.dat
push ecx
call fcn.00410ec2
add esp, 8
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0x418]
call fcn.0040ca60
push eax
mov ecx, 0x4a7300
mov dword [esp + 0x4c0], 0
call fcn.0040d9b0
lea ecx, [esp + 0x414]
mov dword [esp + 0x4bc], 0xffffffff
call fcn.0040c160
pop ebx
mov ecx, dword [esp + 0x4b0]
mov eax, 0x4a7300
mov dword fs:[0], ecx
add esp, 0x4bc
ret