Function at 0x413968
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x2f820]
mov eax, 0x2f820
call fcn.00425530
push 0xffffffffffffffff
push 0x43a160
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x44bd40]
xor eax, ebp
mov dword [ebp + 0x2f81c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x184], ebx
mov dword [ebp - 0x58], esi
je 0x4139c3
cmp dword [esi + 0x190], ebx
jne 0x413f65
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.Start_languages__lu_n
push 2
push 0x44d160
mov dword [ebp - 0x54], eax
call fcn.00401110
push 0xffff
lea eax, [ebp + 0x1f81d]
push ebx
push eax
mov byte [ebp + 0x1f81c], bl
call fcn.00421e30
add esp, 0x1c
cmp dword [esi + 0x1c4], ebx
mov dword [ebp - 0x24], 0x756e65
mov edi, 0x10000
jne 0x413bb8
push 0xfbff
lea eax, [ebp + 0xfc1d]
push ebx
push eax
mov byte [ebp + 0xfc1c], bl
call fcn.00421e30
lea ebx, [esi + 0x170]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
add esp, 0xc
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.00401950
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
jmp 0x413b03
lea ecx, [ebp - 0x20]
call fcn.00401600
cmp dword [eax + 0x18], 0x10
jb 0x413a65
mov eax, dword [eax + 4]
jmp 0x413a68
add eax, 4
push 0xfc00
lea ecx, [ebp + 0xfc1c]
push ecx
push str.LanguagesInthisCD
push 0
push str.Version
push eax
call fcn.0040e8f5
add esp, 0x18
neg eax
sbb eax, eax
neg eax
je 0x413b93
lea eax, [ebp + 0xfc1c]
push eax
lea eax, [ebp + 0x1f81c]
push edi
push eax
call fcn.00421eaa
push 0x43f0b0
lea eax, [ebp + 0x1f81c]
push edi
push eax
call fcn.00421eaa
add esp, 0x18
lea ecx, [ebp - 0x20]
call fcn.00401600
cmp dword [eax + 0x18], 0x10
jb 0x413ad1
mov eax, dword [eax + 4]
jmp 0x413ad4
add eax, 4
push 4
lea ecx, [ebp - 0x24]
push ecx
push str.DefaultLanguageInThisRelease
push 0
push str.Version
push eax
call fcn.0040e8f5
add esp, 0x18
neg eax
sbb eax, eax
neg eax
je 0x413bb1
lea ecx, [ebp - 0x20]
call fcn.00401630
mov eax, dword [ebx + 4]
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401950
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401270
test al, al
je 0x413a52
lea eax, [ebp + 0x1f81c]
push edi
push eax
call fcn.0042674b
lea eax, [ebp - 0x24]
push 4
push eax
call fcn.0042674b
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x74]
call fcn.004033c0
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esi + 0x194]
mov dword [ebp - 4], edi
call fcn.00402630
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x74]
call fcn.00401ec0
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.00401950
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
push ebx
push eax
jmp 0x413f28
push str.GetValueByQualifier__tf__c_str_____T_Version____T_LanguagesInthisCD_
push str._s_failed_n
push 0x44d160
call fcn.00406a88
add esp, 0xc
xor eax, eax
jmp 0x413f68
push str.GetValueByQualifier__tf__c_str_____T_Version____T_DefaultLanguageInThisRelease_
jmp 0x413b98
lea eax, [esi + 0x1b0]
cmp dword [eax + 0x18], 0x10
jb 0x413bc9
mov eax, dword [eax + 4]
jmp 0x413bcc
add eax, 4
push eax
lea eax, [ebp + 0x1f81c]
push edi
push eax
call fcn.00421eaa
lea ebx, [esi + 0x170]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
add esp, 0xc
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00401950
lea ecx, [ebp - 0x48]
call fcn.00401600
cmp dword [eax + 0x18], 0x10
jb 0x413c05
mov eax, dword [eax + 4]
jmp 0x413c08
add eax, 4
push 0x800
push 4
lea ecx, [ebp - 0x24]
push ecx
push str.DefaultLanguageInThisRelease
push str.Version
push eax
call fcn.0040edb8
add esp, 0x18
neg eax
sbb eax, eax
neg eax
jne 0x413b24
push str.GetValueByLang__t_insFileList.begin____c_str_____T_Version____T_DefaultLanguageInThisRelease_
jmp 0x413b98
mov esi, 0x43f750
lea edi, [ebp + 0x1c]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0xfbfd
xor edi, edi
lea eax, [ebp + 0x1f]
push edi
push eax
call fcn.00421e30
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00401d70
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.00401600
cmp dword [eax + 0x18], 0x10
jb 0x413c83
mov eax, dword [eax + 4]
jmp 0x413c86
add eax, 4
push 0xfc00
lea ecx, [ebp + 0x1c]
push ecx
push edi
push str.LanguageMap
push eax
call fcn.0040eea6
add esp, 0x14
lea esi, [ebp + 0x1c]
push esi
lea ecx, [ebp - 0x74]
call fcn.004033c0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0040be48
push edi
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00401ec0
cmp byte [esi], 0
je 0x413cd9
push esi
call fcn.00422c49
pop ecx
mov esi, eax
jmp 0x413cc9
cmp byte [esi + 1], 0
je 0x413ce2
inc esi
jmp 0x413ca1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00401950
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.00401950
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401270
test al, al
jne 0x413f10
mov eax, dword [ebp - 0x58]
lea ecx, [eax + 0x17c]
add eax, 0x188
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x28], eax
jmp 0x413d3b
xor edi, edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x787878
call fcn.00401600
cmp dword [eax + 0x18], 0x10
jb 0x413d55
mov esi, dword [eax + 4]
jmp 0x413d58
lea esi, [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.00401600
cmp dword [eax + 0x18], 0x10
jb 0x413d6b
mov eax, dword [eax + 4]
jmp 0x413d6e
add eax, 4
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
push str.LanguageMap
push eax
call fcn.0040eea6
lea eax, [ebp - 0x10]
push 4
push eax
call fcn.0042674b
add esp, 0x1c
push edi
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.00401900
cmp byte [ebp - 0x10], 0
mov byte [ebp - 4], 3
je 0x413e13
lea eax, [ebp - 0x10]
push eax
push 0x43ef40
call fcn.004229ed
test eax, eax
pop ecx
pop ecx
je 0x413e13
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x1f81c]
push eax
call fcn.0042569a
test eax, eax
pop ecx
pop ecx
je 0x413e13
lea ecx, [ebp - 0x18]
call fcn.00401600
mov ecx, dword [ebp - 0x40]
push eax
call fcn.0040be48
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x74]
call fcn.004033c0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 4
call fcn.0040be48
push edi
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.00401ec0
lea eax, [ebp - 0x10]
jmp 0x413e5b
lea ecx, [ebp - 0x18]
call fcn.00401600
mov ecx, dword [ebp - 0x40]
push eax
call fcn.004046b0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x90]
call fcn.004033c0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 5
call fcn.004046b0
push edi
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00401ec0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp]
call fcn.00403400
lea ecx, [ebp - 0x18]
call fcn.00401600
cmp dword [eax + 0x18], 0x10
jb 0x413e77
mov eax, dword [eax + 4]
jmp 0x413e7a
add eax, 4
push 0x10
push edi
push eax
call fcn.00426dbc
mov edi, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 0x10
movzx esi, ax
jae 0x413e95
lea edi, [ebp + 4]
lea ecx, [ebp - 0x18]
call fcn.00401600
cmp dword [eax + 0x18], 0x10
jb 0x413ea8
mov ecx, dword [eax + 4]
jmp 0x413eab
lea ecx, [eax + 4]
push 0xffffffffffffffff
movzx eax, si
push edi
mov edx, eax
shr edx, 0xa
push edx
and eax, 0x3ff
push eax
push ecx
push str._s_t__d__d__t_tmapped_to__s_code_page_d_n
push 0x80
push 0x44d160
call fcn.00401110
add esp, 0x20
push 0
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00401ec0
lea ecx, [ebp - 0x18]
call fcn.00401630
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.00401950
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401270
test al, al
je 0x413d39
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004042e0
lea ecx, [ebp - 0x20]
call fcn.00401630
push ebx
push dword [ebx + 4]
lea ecx, [ebp - 0x30]
call fcn.00401950
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401270
test al, al
je 0x413c3c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x54]
push eax
push str.Finish_loading_language_map_in__lu_ms_n
push 0x80
push 0x44d160
call fcn.00401110
add esp, 0x10
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2f81c]
xor ecx, ebp
call fcn.00421e14
add ebp, 0x2f820
leave
ret