Function at 0x101b3d1
Capabilities:
Check for software breakpoints
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1038008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push 0x4f4
push edi
push ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x68], edi
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
xor esi, esi
inc esi
lea edi, [esi + 0x7f]
push edi
push 3
push 0
push esi
push SysAllocStringLen
push dword [ebp - 0x60]
mov dword [ebx + 0x414], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
je 0x101b5eb
push 0
lea ecx, [ebp - 0x64]
push ecx
push 0x4c
lea ecx, [ebp - 0x50]
push ecx
push eax
mov dword [ebp - 0x54], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101b494
cmp dword [ebp - 0x64], 0x4c
jne 0x101b494
cmp dword [ebp - 0x50], 0x4c
jne 0x101b494
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x410], eax
movzx eax, word [ebp - 0x10]
mov dword [ebx + 0x418], eax
mov eax, ecx
dec eax
je 0x101b484
dec eax
dec eax
je 0x101b484
sub eax, 4
je 0x101b484
xor esi, esi
jmp 0x101b48a
mov dword [ebx + 0x414], ecx
mov eax, dword [ebp - 0x3c]
and eax, edi
mov dword [ebp - 0x54], eax
jmp 0x101b496
xor esi, esi
mov edi, dword [ebp - 0x58]
test esi, esi
je 0x101b5e2
test byte [ebp - 0x3c], 1
je 0x101b4af
push edi
call fcn.0101ad9f
mov esi, eax
test esi, esi
je 0x101b5e2
test byte [ebp - 0x3c], 2
je 0x101b4c5
push edi
call fcn.0101adea
mov esi, eax
test esi, esi
je 0x101b5e2
test byte [ebp - 0x3c], 4
je 0x101b4de
push dword [ebp - 0x54]
push edi
call fcn.0101ae3c
mov esi, eax
test esi, esi
je 0x101b5e2
test byte [ebp - 0x3c], 8
je 0x101b4f7
push dword [ebp - 0x54]
push edi
call fcn.0101ae3c
mov esi, eax
test esi, esi
je 0x101b5e2
test byte [ebp - 0x3c], 0x10
je 0x101b510
push dword [ebp - 0x54]
push edi
call fcn.0101ae3c
mov esi, eax
test esi, esi
je 0x101b5e2
test byte [ebp - 0x3c], 0x20
je 0x101b529
push dword [ebp - 0x54]
push edi
call fcn.0101ae3c
mov esi, eax
test esi, esi
je 0x101b5e2
test byte [ebp - 0x3c], 0x40
je 0x101b5ca
push 0x104
lea eax, [ebx + 0x208]
push eax
push dword [ebp - 0x54]
push edi
call fcn.0101ae9e
mov esi, eax
jmp 0x101b5ca
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x101b5e2
cmp dword [ebp - 0x70], 0xa0000002
jne 0x101b589
cmp eax, 0xcc
jne 0x101b5b1
lea eax, [ebx + 0x41c]
push eax
push edi
call fcn.0101afd6
test eax, eax
je 0x101b5b1
mov dword [ebp - 0x5c], 1
jmp 0x101b5c4
cmp dword [ebp - 0x70], 0xa0000004
jne 0x101b5b5
cmp eax, 0xc
jne 0x101b5b1
lea eax, [ebx + 0x4e8]
push eax
push edi
call fcn.0101b05e
test eax, eax
je 0x101b5b1
mov dword [ebp - 0x68], 1
jmp 0x101b5be
xor esi, esi
jmp 0x101b5be
push eax
push edi
call fcn.0101b136
mov esi, eax
cmp dword [ebp - 0x5c], 0
je 0x101b5ca
cmp dword [ebp - 0x68], 0
jne 0x101b5e2
test esi, esi
je 0x101b5e2
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.0101b0a1
mov esi, eax
test esi, esi
jne 0x101b554
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101b5ee
mov esi, dword [ebp - 0x64]
push 0x104
push ebx
push dword [ebp - 0x60]
call fcn.0101b1e7
pop edi
test esi, esi
pop esi
pop ebx
je 0x101b60f
xor eax, eax
cmp dword [ebp - 0x5c], eax
setne al
inc eax
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
xor ecx, ebp
call fcn.0100158a
leave
ret 8