Function at 0x413170
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45d5d1
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x483ca0]
xor eax, esp
mov dword [esp + 0x67c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483ca0]
xor eax, esp
push eax
lea eax, [esp + 0x694]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6b0]
lea ecx, [esp + 0x78]
mov esi, dword [esp + 0x6a8]
mov ebp, dword [esp + 0x6ac]
mov ebx, dword [esp + 0x6b4]
push 0
push 0x460828
mov dword [esp + 0x1c], eax
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
call fcn.00401eb7
push 0
push 0x460828
lea ecx, [esp + 0x68]
mov dword [esp + 0x6a4], 0
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
call fcn.00401eb7
mov eax, dword [esp + 0x6a4]
mov byte [esp + 0x69c], 1
test eax, eax
jne 0x4134bd
push 0x10
push str.setup_status.txt
lea ecx, [esp + 0x80]
call fcn.00401eb7
push 0x36
push str.___ClientCalledToLaunch___Y____ClientCalledToLaunch___
lea ecx, [esp + 0x68]
call fcn.00401eb7
push 0x1ff
lea eax, [esp + 0x95]
mov byte [esp + 0x94], 0
push 0
push eax
call fcn.00438b10
xor eax, eax
push 0x3fe
push eax
mov word [esp + 0x2a4], ax
lea eax, [esp + 0x2a6]
push eax
call fcn.00438b10
add esp, 0x18
mov dword [esp + 0x5c], 0xf
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
push 0
push 0x460828
call fcn.00401eb7
cmp dword [esp + 0x8c], 0x10
lea eax, [esp + 0x78]
mov byte [esp + 0x69c], 2
cmovae eax, dword [esp + 0x78]
push eax
push esi
lea eax, [esp + 0x98]
push 0x461410
push eax
call fcn.0043a459
push 0x200
lea eax, [esp + 0x2a4]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0040fa60
lea eax, [esp + 0x2ac]
push 0x462cbc
push eax
call fcn.0043a8ac
mov edi, eax
add esp, 0x24
test edi, edi
je 0x413390
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x294]
push eax
call fcn.0043b180
mov eax, dword [esp + 0x34]
inc eax
push eax
call fcn.004167eb
push edi
push 1
push dword [esp + 0x40]
mov esi, eax
push esi
call fcn.0043bbb0
mov ecx, dword [esp + 0x48]
push edi
mov byte [ecx + esi], 0
call fcn.0043a309
add esp, 0x20
cmp byte [esi], 0
jne 0x41336c
xor ecx, ecx
jmp 0x41337a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413371
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x50]
call fcn.00401eb7
push esi
call fcn.004167f4
add esp, 4
jmp 0x4133a2
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x54]
call fcn.00401e23
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4133a7
mov eax, dword [esp + 0x58]
sub ecx, edx
inc eax
add eax, ecx
push eax
call fcn.004167eb
cmp dword [esp + 0x60], 0x10
lea ecx, [esp + 0x4c]
mov edi, eax
cmovae ecx, dword [esp + 0x4c]
push edi
push dword [esp + 0x1c]
push ebp
push ebx
push ecx
call fcn.0040dc20
add esp, 0x18
test al, al
jne 0x413420
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
push ebp
push ebx
push str.failed_to_replace__s_for__s_in__s
push 0x97
push str.StatusFileHandler.cpp
push 3
push str.StatusFileHandler::WriteStatus
push dword [0x4868e8]
call fcn.0040a4c0
push edi
call fcn.004167f4
add esp, 0x28
xor bl, bl
jmp 0x413493
lea eax, [esp + 0x290]
push 0x462720
push eax
call fcn.0043a8ac
add esp, 8
mov esi, eax
push edi
test esi, esi
jne 0x413471
call fcn.004167f4
lea eax, [esp + 0x94]
push eax
push str.failed_to_open__s_for_writing
push 0xa3
push str.StatusFileHandler.cpp
push 3
push str.StatusFileHandler::WriteStatus
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x20
xor bl, bl
jmp 0x413493
push 0x462724
push esi
call fcn.0043a98b
push esi
call fcn.0043b8ae
push esi
call fcn.0043a309
push edi
call fcn.004167f4
add esp, 0x18
mov bl, 1
cmp dword [esp + 0x5c], 0x10
jb 0x4134a6
push dword [esp + 0x48]
call fcn.004167f4
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jmp 0x4134e1
push eax
push str.Invalid_iStatusFileType___d
push 0x6c
push str.StatusFileHandler.cpp
push 3
push str.StatusFileHandler::WriteStatus
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x1c
xor bl, bl
cmp dword [esp + 0x74], 0x10
jb 0x4134f4
push dword [esp + 0x60]
call fcn.004167f4
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jb 0x41351f
push dword [esp + 0x78]
call fcn.004167f4
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x694]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x67c]
xor ecx, esp
call fcn.004396df
add esp, 0x68c
ret 0x14