Function at 0x435680
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d6a0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5eb6e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x34], ebx
call fcn.00403760
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00464e0c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov byte [ebp - 4], 2
call fcn.00413490
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp dword [ebp - 0x48], ebx
movzx edi, ax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ebx
jle 0x4361df
call fcn.00453e50
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x436239
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x6c], eax
call fcn.00453e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x436239
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x68], eax
xor ecx, ecx
xor edx, edx
xor eax, eax
mov word [ebp - 0x64], cx
mov word [ebp - 0x62], dx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], ebx
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.LangPath
call fcn.00403320
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 4
jl 0x436248
cmp eax, dword [ebp - 0x48]
jge 0x436248
push ecx
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ecx + eax*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [ebp - 0x1c], esp
mov edi, esp
call eax
cmp dword [esi + 0xc], ebx
lea edx, [esi + 0xc]
jl 0x4357c1
cmp eax, dword [esi]
jne 0x4357c1
mov ebx, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4357fc
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x436243
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0055065e
add esp, 0x10
add ebx, 0x10
mov dword [edi], ebx
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x38], esp
mov edi, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x435835
cmp eax, dword [esi]
jne 0x435835
mov ebx, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x435870
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x436243
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0055065e
add esp, 0x10
lea edx, [ebp - 0x20]
add ebx, 0x10
mov dword [edi], ebx
push edx
mov byte [ebp - 4], 3
call fcn.00413730
add esp, 0x10
mov byte [ebp - 4], 6
mov eax, dword [eax]
mov ebx, dword [ebp - 0x6c]
lea ecx, [eax - 0x10]
add ebx, 0xfffffff0
cmp ecx, ebx
je 0x4358e1
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x4358d4
mov edx, dword [ecx]
cmp edx, dword [ebx]
jne 0x4358d4
push ecx
call fcn.00403760
mov dword [ebp - 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4358c9
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
mov dword [ebp - 0x6c], ecx
jmp 0x4358e1
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.004036a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435904
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x48]
jge 0x436248
push ecx
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub ebx, 0x10
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x1c], esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x435944
cmp eax, dword [ebx]
jne 0x435944
mov edi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x43597f
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055065e
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
add edi, 0x10
xor eax, eax
mov dword [ecx], edi
call fcn.00411f90
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x24], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.PrimaryLangID
mov word [ebp - 0x64], ax
call fcn.00403320
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp edx, dword [ebp - 0x48]
jge 0x436248
mov eax, dword [ebp - 0x4c]
push ecx
mov ecx, edx
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub ebx, 0x10
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x1c], esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x4359ee
cmp eax, dword [ebx]
jne 0x4359ee
mov edi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x435a29
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055065e
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
add edi, 0x10
mov dword [ecx], edi
mov byte [ebp - 4], 8
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x435a5e
cmp eax, dword [esi]
jne 0x435a5e
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x435a99
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0055065e
add esp, 0x10
mov edx, dword [ebp - 0x24]
add edi, 0x10
mov dword [ebx], edi
push edx
mov byte [ebp - 4], 3
call fcn.00413730
add esp, 0x10
xor eax, eax
call fcn.00411f90
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.LangExt
mov word [ebp - 0x62], ax
call fcn.00403320
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 9
cmp eax, dword [ebp - 0x48]
jge 0x436248
push ecx
mov ecx, dword [ebp - 0x4c]
mov edx, eax
mov ebx, dword [ecx + edx*4]
mov ecx, dword [ebx - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub ebx, 0x10
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x24], esp
call edx
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x435b0e
cmp eax, dword [ebx]
jne 0x435b0e
mov edi, ebx
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x435b49
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055065e
add esp, 0x10
mov ecx, dword [ebp - 0x24]
add edi, 0x10
mov dword [ecx], edi
mov byte [ebp - 4], 0xa
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], esp
mov edi, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x435b7e
cmp eax, dword [esi]
jne 0x435b7e
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x435bb9
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x436243
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0055065e
add esp, 0x10
lea edx, [ebp - 0x28]
add ebx, 0x10
mov dword [edi], ebx
push edx
mov byte [ebp - 4], 3
call fcn.00413730
add esp, 0x10
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
mov edi, dword [ebp - 0x68]
lea ecx, [eax - 0x10]
add edi, 0xfffffff0
cmp ecx, edi
je 0x435c2a
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x435c1d
mov edx, dword [ecx]
cmp edx, dword [edi]
jne 0x435c1d
push ecx
call fcn.00403760
mov dword [ebp - 0x24], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x435c12
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
mov dword [ebp - 0x68], ecx
jmp 0x435c2a
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.004036a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435c4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.Support
call fcn.00403320
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xc
cmp eax, dword [ebp - 0x48]
jge 0x436248
push ecx
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub ebx, 0x10
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x24], esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x435ca8
cmp eax, dword [ebx]
jne 0x435ca8
mov edi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x435ce3
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055065e
add esp, 0x10
mov ecx, dword [ebp - 0x24]
add edi, 0x10
mov dword [ecx], edi
mov byte [ebp - 4], 0xd
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], esp
mov edi, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x435d18
cmp eax, dword [esi]
jne 0x435d18
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x435d53
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x436243
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0055065e
add esp, 0x10
mov edx, dword [ebp - 0x1c]
add ebx, 0x10
mov dword [edi], ebx
push edx
mov byte [ebp - 4], 3
call fcn.00413730
add esp, 0x10
xor eax, eax
call fcn.00411f90
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x5bb778
mov dword [ebp - 0x60], eax
call fcn.00403320
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xe
cmp eax, dword [ebp - 0x48]
jge 0x436248
push ecx
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub ebx, 0x10
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x24], esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x435dc5
cmp eax, dword [ebx]
jne 0x435dc5
mov edi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x435e00
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055065e
add esp, 0x10
mov ecx, dword [ebp - 0x24]
add edi, 0x10
mov dword [ecx], edi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x435e35
cmp eax, dword [esi]
jne 0x435e35
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x435e70
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0055065e
add esp, 0x10
lea edx, [ebp - 0x2c]
add edi, 0x10
mov dword [ebx], edi
push edx
mov byte [ebp - 4], 3
call fcn.00413730
mov eax, dword [eax]
push eax
call fcn.00552f48
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435eaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.HideLangList
call fcn.00403320
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
cmp ecx, dword [ebp - 0x48]
jge 0x436248
mov edx, dword [ebp - 0x4c]
mov eax, ecx
mov ebx, dword [edx + eax*4]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub ebx, 0x10
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x24], esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x435f05
cmp eax, dword [ebx]
jne 0x435f05
mov edi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x435f40
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055065e
add esp, 0x10
mov ecx, dword [ebp - 0x24]
add edi, 0x10
mov dword [ecx], edi
mov byte [ebp - 4], 0x11
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x435f75
cmp eax, dword [esi]
jne 0x435f75
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x435fb0
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0055065e
add esp, 0x10
lea edx, [ebp - 0x30]
add edi, 0x10
mov dword [ebx], edi
push edx
mov byte [ebp - 4], 3
call fcn.00413730
mov eax, dword [eax]
add esp, 0x10
mov ecx, 0x5bb410
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435ff6
test dx, dx
je 0x435ff2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435ff6
add eax, 4
add ecx, 4
test dx, dx
jne 0x435fd0
xor eax, eax
jmp 0x435ffb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
xor ecx, ecx
test al, al
mov eax, dword [ebp - 0x30]
setne cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov dword [ebp - 0x54], ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43602b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.EnsLang
call fcn.00403320
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x12
cmp ecx, dword [ebp - 0x48]
jge 0x436248
mov edx, dword [ebp - 0x4c]
mov eax, ecx
mov ebx, dword [edx + eax*4]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub ebx, 0x10
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x24], esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x436088
cmp eax, dword [ebx]
jne 0x436088
mov edi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4360c3
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055065e
add esp, 0x10
mov ecx, dword [ebp - 0x24]
add edi, 0x10
mov dword [ecx], edi
mov byte [ebp - 4], 0x13
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4360f8
cmp eax, dword [esi]
jne 0x4360f8
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x436133
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x436243
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055065e
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
add edi, 0x10
mov dword [ebx], edi
push ecx
mov byte [ebp - 4], 3
call fcn.00413730
add esp, 0x10
xor eax, eax
call fcn.00411f90
mov word [ebp - 0x58], ax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10c]
add esp, 4
and edx, dword [ebp - 0x60]
je 0x436185
cmp dword [ebp - 0x54], 0
je 0x436174
mov cx, word [ebp - 0x64]
cmp cx, word [ebp - 0x18]
jne 0x436185
lea ecx, [eax + 0x15c]
mov eax, dword [ecx + 8]
lea ebx, [ebp - 0x6c]
call fcn.00437d00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4361a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4361c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
jl 0x435700
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
xor ebx, ebx
cmp dword [esi + 0x22c], ebx
je 0x4361f6
cmp dword [esi + 0x228], ebx
je 0x4361f6
movzx edi, word [esi + 0x228]
mov ebx, edi
xor eax, eax
and ebx, 0x3ff
cmp dword [esi + 0x164], eax
mov dword [ebp + 8], 0xffffffff
jle 0x43625b
xor edx, edx
test edx, edx
jl 0x436248
cmp eax, dword [esi + 0x164]
jge 0x436248
mov ecx, dword [esi + 0x160]
add ecx, edx
cmp word [ecx + 8], di
je 0x43624d
inc eax
add edx, 0x1c
cmp eax, dword [esi + 0x164]
jl 0x436211
jmp 0x43625b
push 0x80004005
call fcn.004038e0
call fcn.00403750
call fcn.00453d3c
mov edi, eax
mov dword [ebp + 8], edi
cmp eax, 0xffffffff
jne 0x4362da
xor ecx, ecx
cmp dword [esi + 0x164], ecx
jle 0x43628d
xor edx, edx
test edx, edx
jl 0x436248
cmp ecx, dword [esi + 0x164]
jge 0x436248
mov eax, dword [esi + 0x160]
add eax, edx
cmp word [eax + 0xa], bx
je 0x4362ca
inc ecx
add edx, 0x1c
cmp ecx, dword [esi + 0x164]
jl 0x436267
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x4362da
xor ecx, ecx
cmp dword [esi + 0x164], ecx
jle 0x4362da
xor edx, edx
test edx, edx
jl 0x436248
cmp ecx, dword [esi + 0x164]
jge 0x436248
mov eax, dword [esi + 0x160]
add eax, edx
cmp word [eax + 0xa], 9
je 0x4362ce
inc ecx
add edx, 0x1c
cmp ecx, dword [esi + 0x164]
jl 0x4362a1
jmp 0x4362da
mov edi, ecx
jmp 0x436290
mov edi, ecx
mov dword [esi + 0xc8], 1
mov dword [esi + 0x170], edi
mov esi, 1
cmp edi, 0xffffffff
jne 0x4362ed
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0046505e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43631c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436342
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8