Function at 0x401000
Capabilities:
Create thread
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409fa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x568
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.task_has_been_done_n
call fcn.004013cf
add esp, 4
xor eax, eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x138], ecx
lea edx, [ebp - 0x148]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [ebp - 0x120], ax
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 4], 0
push 0x400
push 0
lea ecx, [ebp - 0x568]
push ecx
call fcn.00405490
add esp, 0xc
push 0x400
lea edx, [ebp - 0x568]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x160], 0
lea eax, [ebp - 0x568]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
movsx edx, byte [ecx]
test edx, edx
je 0x40112f
mov eax, dword [ebp - 0x15c]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x40111e
mov edx, dword [ebp - 0x160]
add edx, 1
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
jmp 0x4010f4
cmp dword [ebp - 0x160], 2
jne 0x4011f5
lea ecx, [ebp - 0x568]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x15c]
movsx eax, byte [edx]
test eax, eax
je 0x401174
mov ecx, dword [ebp - 0x15c]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x401174
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
jmp 0x401148
mov ecx, dword [ebp - 0x15c]
add ecx, 1
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x56c], 0
mov edx, dword [ebp - 0x15c]
movsx eax, byte [edx]
test eax, eax
je 0x4011c8
mov ecx, dword [ebp - 0x15c]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x4011c8
mov eax, dword [ebp - 0x56c]
add eax, 1
mov dword [ebp - 0x56c], eax
mov ecx, dword [ebp - 0x15c]
add ecx, 1
mov dword [ebp - 0x15c], ecx
jmp 0x40118d
cmp dword [ebp - 0x56c], 7
jne 0x4011f0
movsx edx, byte [ebp - 0x568]
cmp edx, 0x43
jne 0x4011f0
movsx eax, byte [ebp - 0x567]
cmp eax, 0x3a
jne 0x4011f0
xor eax, eax
jmp 0x40136b
jmp 0x4012c7
cmp dword [ebp - 0x160], 7
jne 0x4012c7
lea ecx, [ebp - 0x568]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x570], 0
mov edx, dword [ebp - 0x15c]
movsx eax, byte [edx]
test eax, eax
je 0x401250
mov ecx, dword [ebp - 0x15c]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x40123f
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x570], eax
mov ecx, dword [ebp - 0x15c]
add ecx, 1
mov dword [ebp - 0x15c], ecx
jmp 0x401218
cmp dword [ebp - 0x570], 0
je 0x4012c7
mov dword [ebp - 0x574], 0
mov edx, dword [ebp - 0x570]
add edx, 1
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x15c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40129f
mov edx, dword [ebp - 0x574]
add edx, 1
mov dword [ebp - 0x574], edx
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
jmp 0x401272
cmp dword [ebp - 0x574], 0x16
jne 0x4012c7
movsx ecx, byte [ebp - 0x543]
cmp ecx, 0x54
jne 0x4012c7
movsx edx, byte [ebp - 0x542]
cmp edx, 0x65
jne 0x4012c7
xor eax, eax
jmp 0x40136b
movzx eax, word [ebp - 0x120]
cmp eax, 0x804
je 0x4012eb
movzx ecx, word [ebp - 0x120]
cmp ecx, 0x404
je 0x4012eb
xor eax, eax
jmp 0x40136b
push 4
push 0x1000
push 0xb
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x164], eax
lea edx, [ebp - 0x154]
push edx
push 0x20
push 0xb
mov eax, dword [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x150]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x164]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14c], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.00401499
jmp 0x40135f
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10