Function at 0x100b7b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 8], 0x5a
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
jne 0x100b7b2f
xor eax, eax
jmp 0x100b7ecc
cmp dword [ebp + 0x10], 0
je 0x100b7b3b
cmp dword [ebp + 0x14], 0
jne 0x100b7b43
mov eax, dword [ebp - 8]
jmp 0x100b7ecc
push 8
push str.sha256__
mov eax, dword [ebp + 0xc]
push eax
call fcn.100670f0
add esp, 0xc
test eax, eax
jne 0x100b7d3a
mov ecx, dword [0x10109ae8]
cmp dword [ecx + 0x5c], 0
jne 0x100b7b72
mov eax, dword [ebp - 8]
jmp 0x100b7ecc
push 0x20
call dword [0x101099b0]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100b7b90
mov eax, 0x1b
jmp 0x100b7ecc
push 0x20
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [0x10109ae8]
mov eax, dword [edx + 0x5c]
call eax
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100b7bbd
mov eax, dword [ebp - 0x18]
jmp 0x100b7ecc
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x20
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100dff40
add esp, 0x14
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [0x101099b8]
add esp, 4
mov dword [ebp - 0xc], 0
xor eax, eax
jne 0x100b7bda
cmp dword [ebp - 0x18], 0
je 0x100b7c00
mov eax, dword [ebp - 0x18]
jmp 0x100b7ecc
xor ecx, ecx
jne 0x100b7c00
mov edx, dword [ebp + 0xc]
push edx
call fcn.10062340
add esp, 4
add eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
call dword [0x101099b0]
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100b7c4e
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x101099b8]
add esp, 4
mov dword [ebp - 0x20], 0
xor edx, edx
jne 0x100b7c2c
mov eax, 0x1b
jmp 0x100b7ecc
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.1004b030
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push str._sha256__
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1004d910
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100b7c91
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], 0
mov edx, dword [ebp - 0x1c]
add edx, 8
push edx
call fcn.10062340
add esp, 4
cmp dword [ebp - 0x38], eax
jne 0x100b7cc9
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.1004b6d7
add esp, 0xc
test eax, eax
jne 0x100b7cc9
mov dword [ebp - 8], 0
jmp 0x100b7d02
cmp dword [ebp - 0x10], 0
je 0x100b7cf2
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
mov byte [edx + ecx], 0x3b
push 0x1010acc8
mov eax, dword [ebp - 0x10]
push eax
call fcn.1004d910
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x10], 0
je 0x100b7d02
cmp dword [ebp - 0x1c], 0
jne 0x100b7c68
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x101099b8]
add esp, 4
mov dword [ebp - 0x20], 0
xor edx, edx
jne 0x100b7d02
mov eax, dword [ebp - 0x24]
push eax
call dword [0x101099b8]
add esp, 4
mov dword [ebp - 0x24], 0
xor ecx, ecx
jne 0x100b7d1a
mov eax, dword [ebp - 8]
jmp 0x100b7ecc
push 0x1010acc4
mov edx, dword [ebp + 0xc]
push edx
call fcn.10064ffd
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100b7d5c
mov eax, dword [ebp - 8]
jmp 0x100b7ecc
push 2
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.100654b7
add esp, 0xc
test eax, eax
je 0x100b7d75
jmp 0x100b7e8d
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100745ea
add esp, 4
mov dword [ebp - 0x30], eax
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.100654b7
add esp, 0xc
test eax, eax
je 0x100b7d9d
jmp 0x100b7e8d
cmp dword [ebp - 0x30], 0
jl 0x100b7dac
cmp dword [ebp - 0x30], 0x100000
jle 0x100b7db1
jmp 0x100b7e8d
mov eax, dword [ebp - 0x30]
cdq
push edx
push eax
call fcn.100a7590
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x28]
jbe 0x100b7dcf
jmp 0x100b7e8d
mov ecx, dword [ebp - 0x28]
add ecx, 1
push ecx
call dword [0x101099b0]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100b7ded
jmp 0x100b7e8d
mov edx, dword [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10064b0d
add esp, 0x10
cmp eax, 1
je 0x100b7e0d
jmp 0x100b7e8d
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x28]
jne 0x100b7e36
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.1004b6d7
add esp, 0xc
test eax, eax
jne 0x100b7e34
mov dword [ebp - 8], 0
jmp 0x100b7e8d
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x28]
mov byte [eax], 0
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.100b7ed0
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x100b7e5e
jmp 0x100b7e8d
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0x40]
jne 0x100b7e85
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1004b6d7
add esp, 0xc
test eax, eax
jne 0x100b7e85
mov dword [ebp - 8], 0
xor edx, edx
jne 0x100b7d5c
mov eax, dword [ebp - 4]
push eax
call dword [0x101099b8]
add esp, 4
mov dword [ebp - 4], 0
xor ecx, ecx
jne 0x100b7e8d
mov edx, dword [ebp - 0x2c]
push edx
call dword [0x101099b8]
add esp, 4
mov dword [ebp - 0x2c], 0
xor eax, eax
jne 0x100b7ea5
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100650de
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret