Function at 0x10002000
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov edi, str.IN_ReadJobFile__
call fcn.10002690
push esi
push 0x1001bf20
push 0x10022890
mov dword [0x1002288c], 0
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push 0x1001bf24
push esi
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000204f
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ebx, dword [sym.imp.MSVCR90.dll_fseek]
push 2
push 0
push esi
call ebx
add esp, 0xc
push esi
call dword [sym.imp.MSVCR90.dll_ftell]
add esp, 4
push 0
push 0
push esi
mov edi, eax
call ebx
add esp, 0xc
lea ebx, [edi + 1]
push 1
push ebx
call dword [sym.imp.MSVCR90.dll_calloc]
lea ecx, [edi + 2]
push 1
push ecx
mov ebp, eax
call dword [sym.imp.MSVCR90.dll_calloc]
push esi
push 1
push ebx
push ebp
mov dword [0x1002288c], eax
call dword [sym.imp.MSVCR90.dll_fread]
mov ecx, dword [0x1002288c]
add esp, 0x20
mov byte [edi + ebp], 0
mov eax, ebp
sub ecx, ebp
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x100020b0
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
mov ebx, dword [esp + 0x18]
add esp, 4
push ebx
mov edi, str.__before_BP
call fcn.10002690
mov edx, dword [0x1002288c]
mov esi, dword [sym.imp.MSVCR90.dll__strnicmp]
push 2
push 0x1001bf34
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x10002106
push ebx
mov edi, str.__inside_BP
call fcn.10002690
push ebx
call fcn.10002930
jmp 0x1000237c
mov eax, dword [0x1002288c]
push 4
push str.KPID
push eax
call esi
add esp, 0xc
push ebx
test eax, eax
jne 0x10002132
mov edi, str.__inside_KPID
call fcn.10002690
push ebx
call fcn.10004a10
jmp 0x1000237c
mov edi, str.__before_KP
call fcn.10002690
mov ecx, dword [0x1002288c]
push 2
push 0x1001bf68
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x10002168
push ebx
mov edi, str.__inside_KP
call fcn.10002690
call fcn.10002b00
jmp 0x1000237c
mov edx, dword [0x1002288c]
push 6
push str.ShellS
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x10002195
push ebx
mov edi, str.__inside_ShellS
call fcn.10002690
push ebx
call fcn.100040e0
jmp 0x1000237c
mov eax, dword [0x1002288c]
push 6
push str.ShellU
push eax
call esi
add esp, 0xc
push ebx
test eax, eax
jne 0x100021c1
mov edi, str.__inside_ShellU
call fcn.10002690
push ebx
call fcn.10004320
jmp 0x1000237c
mov edi, str.__before_shell
call fcn.10002690
mov ecx, dword [0x1002288c]
push 5
push str.Shell
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x100021f8
push ebx
mov edi, str.__inside_shell
call fcn.10002690
push ebx
call fcn.10001c50
jmp 0x1000237c
mov edx, dword [0x1002288c]
push 3
push 0x1001bfc0
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x10002225
push ebx
mov edi, str.__inside_LPP
call fcn.10002690
push ebx
call fcn.10002bd0
jmp 0x1000237c
mov eax, dword [0x1002288c]
push 4
push str.LPBN
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x10002251
push ebx
mov edi, str.__inside_LPBN
call fcn.10002690
push ebx
call fcn.10002c90
jmp 0x1000237c
mov ecx, dword [0x1002288c]
push 6
push str.LPIOPR
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x1000227e
push ebx
mov edi, str.__inside_LPIOPR
call fcn.10002690
push ebx
call fcn.10003b00
jmp 0x1000237c
mov edx, dword [0x1002288c]
push 4
push str.LPIO
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x100022ab
push ebx
mov edi, str.__inside_LPIO
call fcn.10002690
push ebx
call fcn.100036e0
jmp 0x1000237c
mov eax, dword [0x1002288c]
push 2
push 0x1001c01c
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x100022d8
push ebx
mov edi, str.__inside_DeleteFile
call fcn.10002690
mov edi, ebx
call fcn.10003f00
jmp 0x1000237c
mov ecx, dword [0x1002288c]
push 0xd
push str.START_SERVICE
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x10002302
push ebx
mov edi, str.__inside_START_SERVICE
call fcn.10002690
push ebx
call fcn.100038a0
jmp 0x1000237c
mov edx, dword [0x1002288c]
push 0xc
push str.STOP_SERVICE
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x1000232c
push ebx
mov edi, str.__inside_STOP_SERVICE
call fcn.10002690
push ebx
call fcn.10003960
jmp 0x1000237c
mov eax, dword [0x1002288c]
push 0xf
push str.RESTART_SERVICE
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x10002355
push ebx
mov edi, str.__inside_RESTART_SERVICE
call fcn.10002690
push ebx
call fcn.10003a20
jmp 0x1000237c
mov ecx, dword [0x1002288c]
push 7
push str.GCLFPID
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x1000237c
push ebx
mov edi, str.__inside_GCL
call fcn.10002690
call fcn.10003fd0
mov esi, dword [sym.imp.MSVCR90.dll_free]
test ebp, ebp
je 0x1000238c
push ebp
call esi
add esp, 4
mov eax, dword [0x1002288c]
test eax, eax
je 0x100023a5
push eax
call esi
add esp, 4
mov dword [0x1002288c], 0
push ebx
mov edi, str.OUT_ReadJobFile__
call fcn.10002690
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4