Function at 0x100b3670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101babcd
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1024bdac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.100b07a0
movzx ecx, al
test ecx, ecx
jne 0x100b36b2
xor al, al
jmp 0x100b3891
push 0
lea edx, [ebp - 0x20]
push edx
push 0x10
mov eax, dword [ebp - 0x1c]
add eax, 0x14c
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xd8
call fcn.100a6040
mov dword [ebp - 4], 0
jmp 0x100b36f0
lea ecx, [ebp - 0x38]
call fcn.100a5e50
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xd8
call fcn.100a6010
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.100a5e90
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x44]
call fcn.10053000
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x100b3763
lea ecx, [ebp - 0x38]
call fcn.100a5e70
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.100afe90
cmp eax, 4
je 0x100b3740
jmp 0x100b36e8
mov ecx, dword [ebp - 0x24]
call fcn.100b2ca0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x100b3761
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [edx + ecx*4 + 0x13c], eax
jmp 0x100b36e8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10053000
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x18], 0
jle 0x100b3804
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0x10]
call fcn.10044250
push eax
lea ecx, [ebp - 0xe]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
lea ecx, [ebp - 0x54]
call fcn.1005e7f0
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x54]
call fcn.10058560
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x15c], 0
je 0x100b37fc
push 0xfc
push 0x102095a8
push 0x10209588
push 0x10209574
call fcn.100a8090
add esp, 0x10
lea ecx, [ebp - 0x54]
call fcn.10058640
push 0
lea ecx, [ebp - 0x20]
push ecx
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x18], 0
jle 0x100b388f
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x11]
call fcn.10044250
push eax
lea ecx, [ebp - 0xf]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
lea ecx, [ebp - 0x64]
call fcn.1005e7f0
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x64]
call fcn.10058560
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x160], 0
je 0x100b3887
push 0x105
push str.C:UsersAdministratorDownloadsCompressedHSACSX1_HSACSX_AntiCheat_SourceHSACSGuardN3BASEN3UIButton.cpp
push 0x10209618
push 0x10209594
call fcn.100a8090
add esp, 0x10
lea ecx, [ebp - 0x64]
call fcn.10058640
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4