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.100026d0
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]
add esp, 4
push 0x2e
push 0x10022890
call dword [sym.imp.MSVCR90.dll_strrchr]
mov esi, dword [sym.imp.MSVCR90.dll__strnicmp]
add esp, 8
test eax, eax
je 0x100020fd
push 4
push str..V2E
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x100020fd
mov ebx, dword [esp + 0x14]
call fcn.10004b80
jmp 0x100023b1
mov ebx, dword [esp + 0x14]
push ebx
mov edi, str.__before_BP
call fcn.100026d0
mov edx, dword [0x1002288c]
push 2
push 0x1001bf3c
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x10002139
push ebx
mov edi, str.__inside_BP
call fcn.100026d0
push ebx
call fcn.10002970
jmp 0x100023b1
mov eax, dword [0x1002288c]
push 4
push str.KPID
push eax
call esi
add esp, 0xc
push ebx
test eax, eax
jne 0x10002165
mov edi, str.__inside_KPID
call fcn.100026d0
push ebx
call fcn.10004a50
jmp 0x100023b1
mov edi, str.__before_KP
call fcn.100026d0
mov ecx, dword [0x1002288c]
push 2
push 0x1001bf70
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x1000219b
push ebx
mov edi, str.__inside_KP
call fcn.100026d0
call fcn.10002b40
jmp 0x100023b1
mov edx, dword [0x1002288c]
push 6
push str.ShellS
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x100021c8
push ebx
mov edi, str.__inside_ShellS
call fcn.100026d0
push ebx
call fcn.10004120
jmp 0x100023b1
mov eax, dword [0x1002288c]
push 6
push str.ShellU
push eax
call esi
add esp, 0xc
push ebx
test eax, eax
jne 0x100021f4
mov edi, str.__inside_ShellU
call fcn.100026d0
push ebx
call fcn.10004360
jmp 0x100023b1
mov edi, str.__before_shell
call fcn.100026d0
mov ecx, dword [0x1002288c]
push 5
push str.Shell
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x1000222b
push ebx
mov edi, str.__inside_shell
call fcn.100026d0
push ebx
call fcn.10001c50
jmp 0x100023b1
mov edx, dword [0x1002288c]
push 3
push 0x1001bfc8
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x10002258
push ebx
mov edi, str.__inside_LPP
call fcn.100026d0
push ebx
call fcn.10002c10
jmp 0x100023b1
mov eax, dword [0x1002288c]
push 4
push str.LPBN
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x10002284
push ebx
mov edi, str.__inside_LPBN
call fcn.100026d0
push ebx
call fcn.10002cd0
jmp 0x100023b1
mov ecx, dword [0x1002288c]
push 6
push str.LPIOPR
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x100022b1
push ebx
mov edi, str.__inside_LPIOPR
call fcn.100026d0
push ebx
call fcn.10003b40
jmp 0x100023b1
mov edx, dword [0x1002288c]
push 4
push str.LPIO
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x100022de
push ebx
mov edi, str.__inside_LPIO
call fcn.100026d0
push ebx
call fcn.10003720
jmp 0x100023b1
mov eax, dword [0x1002288c]
push 2
push 0x1001c024
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x1000230b
push ebx
mov edi, str.__inside_DeleteFile
call fcn.100026d0
mov edi, ebx
call fcn.10003f40
jmp 0x100023b1
mov ecx, dword [0x1002288c]
push 0xd
push str.START_SERVICE
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x10002335
push ebx
mov edi, str.__inside_START_SERVICE
call fcn.100026d0
push ebx
call fcn.100038e0
jmp 0x100023b1
mov edx, dword [0x1002288c]
push 0xc
push str.STOP_SERVICE
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x1000235f
push ebx
mov edi, str.__inside_STOP_SERVICE
call fcn.100026d0
push ebx
call fcn.100039a0
jmp 0x100023b1
mov eax, dword [0x1002288c]
push 0xf
push str.RESTART_SERVICE
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x10002388
push ebx
mov edi, str.__inside_RESTART_SERVICE
call fcn.100026d0
push ebx
call fcn.10003a60
jmp 0x100023b1
mov ecx, dword [0x1002288c]
push 7
push str.GCLFPID
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x100023b1
mov edx, ebx
push edx
mov edi, str.__inside_GCL
call fcn.100026d0
call fcn.10004010
mov esi, dword [sym.imp.MSVCR90.dll_free]
test ebp, ebp
je 0x100023c1
push ebp
call esi
add esp, 4
mov eax, dword [0x1002288c]
test eax, eax
je 0x100023da
push eax
call esi
add esp, 4
mov dword [0x1002288c], 0
mov eax, dword [esp + 0x14]
push eax
mov edi, str.OUT_ReadJobFile__
call fcn.100026d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4