Function at 0x41a250
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x67c]
sub esp, 0x67c
push 0xffffffffffffffff
push 0x476a88
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4a6c44]
xor eax, ebp
mov dword [ebp + 0x678], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x68c]
lea ecx, [ebp + 0x30]
mov esi, dword [ebp + 0x688]
mov ebx, dword [ebp + 0x694]
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x690]
push 0x47b918
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0xf
mov byte [ebp + 0x30], 0
call fcn.00401d51
push 0
push 0x47b918
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0xf
mov byte [ebp + 0x48], 0
call fcn.00401d51
mov eax, dword [ebp + 0x684]
mov byte [ebp - 4], 1
test eax, eax
jne 0x41a55a
push 0x10
push str.setup_status.txt
lea ecx, [ebp + 0x30]
call fcn.00401d51
push 0x36
push str.___ClientCalledToLaunch___Y____ClientCalledToLaunch___
lea ecx, [ebp + 0x48]
call fcn.00401d51
push 0x200
lea eax, [ebp + 0x478]
push 0
push eax
call fcn.00447100
push 0x400
lea eax, [ebp + 0x78]
push 0
push eax
call fcn.00447100
add esp, 0x18
mov dword [ebp + 0x70], 0
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x74], 0xf
mov byte [ebp + 0x60], 0
push 0
push 0x47b918
call fcn.00401d51
cmp dword [ebp + 0x44], 0x10
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp + 0x30]
push eax
push esi
lea eax, [ebp + 0x478]
push 0x47cb80
push eax
call fcn.00407cd0
push 0x200
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x478]
push eax
call fcn.00416610
lea eax, [ebp + 0x78]
push 0x47e2b0
push eax
call fcn.0044f9fe
mov edi, eax
add esp, 0x24
test edi, edi
je 0x41a40e
lea eax, [ebp]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00455621
mov eax, dword [ebp + 0x14]
inc eax
push eax
call fcn.0041d95f
push edi
push 1
push dword [ebp + 0x14]
mov esi, eax
push esi
call fcn.00455bc8
mov ecx, dword [ebp + 0x14]
push edi
mov byte [ecx + esi], 0
call fcn.0044f82c
mov ecx, esi
add esp, 0x20
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a3f0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 0x60]
call fcn.00401d51
push esi
call fcn.0041d95a
add esp, 4
jmp 0x41a425
cmp dword [ebp + 0x5c], 0x10
lea eax, [ebp + 0x48]
push dword [ebp + 0x58]
cmovae eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x60]
push eax
call fcn.00401d51
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a430
mov eax, dword [ebp + 0x70]
sub ecx, edx
inc eax
add eax, ecx
push eax
call fcn.0041d95f
cmp dword [ebp + 0x74], 0x10
lea ecx, [ebp + 0x60]
mov esi, dword [ebp - 0x14]
mov edi, eax
cmovae ecx, dword [ebp + 0x60]
push edi
push dword [ebp - 0x10]
push esi
push ebx
push ecx
call fcn.00414540
add esp, 0x18
test al, al
jne 0x41a4a4
cmp dword [ebp + 0x74], 0x10
lea eax, [ebp + 0x60]
cmovae eax, dword [ebp + 0x60]
push eax
push esi
push ebx
push str.failed_to_replace__s_for__s_in__s
push 0x97
push str.c:_rhub2codeutility_statusfilehandler.cpp
push 3
push str.StatusFileHandler::WriteStatus
push dword [0x4a9068]
call fcn.0040ee70
push edi
call fcn.0041d95a
add esp, 0x28
xor bl, bl
jmp 0x41a512
lea eax, [ebp + 0x78]
push 0x47dd40
push eax
call fcn.0044f9fe
add esp, 8
mov esi, eax
push edi
test esi, esi
jne 0x41a4f0
call fcn.0041d95a
lea eax, [ebp + 0x478]
push eax
push str.failed_to_open__s_for_writing
push 0xa3
push str.c:_rhub2codeutility_statusfilehandler.cpp
push 3
push str.StatusFileHandler::WriteStatus
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x20
xor bl, bl
jmp 0x41a512
push 0x47cce0
push esi
call fcn.0040e260
push esi
call fcn.0045592b
push esi
call fcn.0044f82c
push edi
call fcn.0041d95a
add esp, 0x18
mov bl, 1
mov edx, dword [ebp + 0x74]
cmp edx, 0x10
jb 0x41a546
mov ecx, dword [ebp + 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a53c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a605
push edx
push ecx
call fcn.00443c4c
add esp, 8
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0xf
mov byte [ebp + 0x60], 0
jmp 0x41a57e
push eax
push str.Invalid_iStatusFileType___d
push 0x6c
push str.c:_rhub2codeutility_statusfilehandler.cpp
push 3
push str.StatusFileHandler::WriteStatus
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x1c
xor bl, bl
mov edx, dword [ebp + 0x5c]
cmp edx, 0x10
jb 0x41a5ae
mov ecx, dword [ebp + 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a5a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a60a
push edx
push ecx
call fcn.00443c4c
add esp, 8
mov edx, dword [ebp + 0x44]
cmp edx, 0x10
jb 0x41a5de
mov ecx, dword [ebp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a5d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a60f
push edx
push ecx
call fcn.00443c4c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x678]
xor ecx, ebp
call fcn.004440d2
lea esp, [ebp + 0x67c]
pop ebp
ret 0x14
call fcn.0044a7c3
call fcn.0044a7c3
call fcn.0044a7c3
int3