Function at 0x1000574a
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x10009d04
call fcn.10009639
push 0x1000bb10
push str.main.log
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 4
mov dword [0x1000f74c], eax
mov edx, 0x10005616
mov ecx, 0x4505f5
call fcn.10006324
pop ecx
mov edx, str.Osiem
mov ecx, 0x5ad298
call fcn.100063f5
mov edx, str.Osiem.cfg
mov ecx, 0x5ad2a0
call fcn.100063f5
push ecx
mov edx, 0x10004b1b
mov ecx, 0x4bf8a4
call fcn.10006324
pop ecx
xor ebx, ebx
mov ecx, 0x53a1c2
inc ebx
push ebx
push 0xd
pop esi
mov edx, esi
call fcn.100063b2
pop ecx
push ebx
mov edx, esi
mov ecx, 0x53a202
call fcn.100063b2
pop ecx
push ebx
mov edx, esi
mov ecx, 0x53a240
call fcn.100063b2
pop ecx
push ebx
mov edx, esi
mov ecx, 0x53a280
call fcn.100063b2
pop ecx
push ebx
mov edx, esi
mov ecx, 0x53a0ab
call fcn.100063b2
pop ecx
push ebx
mov edx, esi
mov ecx, 0x53a0eb
call fcn.100063b2
pop ecx
push ebx
mov edx, esi
mov ecx, 0x53a129
call fcn.100063b2
pop ecx
push ebx
mov edx, esi
mov ecx, 0x53a169
call fcn.100063b2
pop ecx
mov esi, 0x320
mov ecx, 0x414c9d
push 2
mov edx, esi
call fcn.100063b2
pop ecx
push 2
mov edx, esi
mov ecx, 0x415311
call fcn.100063b2
pop ecx
push 4
pop edi
push edi
call fcn.100084e8
pop ecx
mov dword [eax], 0x10003c70
mov dword [ebp - 0x24], eax
xor esi, esi
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
push 0x10005eb7
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10005999
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2c], esi
jne 0x1000588e
push ebx
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
pop ecx
pop ecx
test eax, eax
je 0x100058a5
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov esi, 0x5975d4
push edi
push esi
mov dword [ebp - 0x14], 0x10004194
call ebx
push edi
mov edi, dword [sym.imp.VCRUNTIME140.dll_memcpy]
lea eax, [ebp - 0x14]
push eax
push esi
call edi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 4
push esi
call ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100041ed
push eax
push 4
push 4
add esi, 0x2c
push esi
call ebx
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call edi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 4
push esi
call ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100040f8
push eax
push 4
push 4
mov esi, 0x597578
push esi
call ebx
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call edi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 4
push esi
call ebx
lea eax, [ebp - 0x24]
mov esi, 0x100048a4
push eax
push 0x80
push 4
mov eax, 0x44e846
sub esi, 0x44e84a
push eax
call ebx
push 4
lea eax, [ebp - 0x20]
push 0x44e846
push eax
call edi
mov eax, dword [ebp - 0x20]
add esp, 0xc
add eax, 0x44e84a
mov dword [0x1000f6e8], eax
mov ecx, 0x44e846
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
mov dword [ecx], esi
push 5
push ecx
call ebx
cmp dword [ebp - 0x2c], 0
je 0x100059a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov dword [ebp - 0x2c], esi
push 6
jmp 0x10005888
call fcn.10009616
ret