Function at 0x4010ec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.0040183a
mov eax, str.Fist_Games_Modular
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x479710
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401136
push ebx
call fcn.00451bf6
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x40114a
mov eax, 0
jmp 0x401824
push 0
mov ebx, 0x104
call fcn.00453180
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x479714]
test ebx, ebx
je 0x401176
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [0x479714], eax
mov dword [0x479718], 0
call fcn.00401b26
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x47971c]
test ebx, ebx
je 0x4011a5
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [0x47971c], eax
cmp dword [0x479718], 0
je 0x4011f0
mov eax, dword [0x479714]
test eax, eax
je 0x4011d6
push eax
mov ebx, eax
call fcn.0040101d
inc eax
push eax
call fcn.00451bfc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4011e7
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x40124f
push str.....
push dword [0x479714]
mov ecx, 2
call fcn.00401088
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40121f
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40124f
push 0x2ae
push 0x4010001
push 6
call fcn.00451c08
add esp, 0xc
push 0x4762ca
push dword [ebp - 4]
mov ecx, 2
call fcn.00401088
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0x47971c
push 1
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, str.FistGames
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040262a
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4012bb
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4012cb
push ebx
call fcn.00451bf6
add esp, 4
push str.Config.ini
push dword [ebp - 4]
mov ecx, 2
call fcn.00401088
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.0040d288
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401361
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401371
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401381
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401391
push ebx
call fcn.00451bf6
add esp, 4
push 0
push 0x479724
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa4]
mov dword [0x479720], eax
cmp dword [0x479720], 0
jne 0x4013f8
mov ebx, 6
call fcn.004010e4
push 0x80000301
push 0
push 0x30
push VariantClear
push 0
push 0x4762e2
push 4
mov ebx, 0x300
call fcn.00453210
add esp, 0x34
mov eax, 0
jmp 0x401824
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 1
push 0x14
xor eax, eax
call dword [0x479810]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40143c
push 0x459
push 0x4010001
push 6
call fcn.00451c08
add esp, 0xc
push 0x40ea65
push 0x479724
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x88]
push 0x40ecd5
push 0x479724
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
push 0x40f3c5
push 0x479724
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x94]
push 0x40f519
push 0x479724
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 3
push 3
push 0x479728
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.0040736d
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401506
push ebx
call fcn.00451bf6
add esp, 4
lea eax, [ebp - 0x18]
push eax
push 0x47972c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401529
push ebx
call fcn.00451bf6
add esp, 4
push 0
mov ebx, 0x108
call fcn.00453450
add esp, 4
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 0x4762ca
push dword [0x479714]
mov ecx, 3
call fcn.00401088
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40156c
push ebx
call fcn.00451bf6
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.0040d932
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401588
push ebx
call fcn.00451bf6
add esp, 4
push dword [ebp - 0x14]
push 0x4762f5
mov ecx, 2
call fcn.00401088
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4015b0
push ebx
call fcn.00451bf6
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
mov eax, 0x476300
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040dad8
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4015e1
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4015f1
push ebx
call fcn.00451bf6
add esp, 4
mov dword [ebp - 0xc], esp
push 0
push 0
push 0
push 0x41c8ff
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x401638
push 0x77b
push 0x4010001
push 6
call fcn.00451c08
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [0x479814]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x401667
push 0x77b
push 0x4010001
push 6
call fcn.00451c08
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
call fcn.0040e922
and eax, 1
xor eax, 1
test eax, eax
je 0x40173d
cmp dword [0x479718], 0
jne 0x40171a
push dword [0x479720]
push 0x479724
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jne 0x40171a
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.0040757f
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4016da
push ebx
call fcn.00451bf6
add esp, 4
push 1
call fcn.00405aae
mov dword [ebp - 0x14], eax
push 1
push 1
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push dword [0x479720]
push 0x479724
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40171a
push ebx
call fcn.00451bf6
add esp, 4
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x67c
call fcn.004534e0
add esp, 0x10
jmp 0x401667
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x476309
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x476319
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040dad8
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401776
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401786
push ebx
call fcn.00451bf6
add esp, 4
push dword [0x479720]
push 0x479724
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0
push dword [0x479720]
push 0x479724
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa8]
mov dword [0x479720], 0
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x476322
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x476319
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040dad8
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4017fb
push ebx
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40180b
push ebx
call fcn.00451bf6
add esp, 4
push 0x479710
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0
jmp 0x401824
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401835
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret