Function at 0x10056d00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 8], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xc], 0x5a
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
jne 0x10056d2f
xor eax, eax
jmp 0x1005711d
cmp dword [ebp + 0x10], 0
je 0x10056d3b
cmp dword [ebp + 0x14], 0
jne 0x10056d43
mov eax, dword [ebp - 0xc]
jmp 0x1005711d
push 8
push str.sha256__
mov eax, dword [ebp + 0xc]
push eax
call fcn.10011940
add esp, 0xc
test eax, eax
jne 0x10056f81
mov ecx, dword [0x10097a70]
cmp dword [ecx + 0x5c], 0
jne 0x10056d72
mov eax, dword [ebp - 0xc]
jmp 0x1005711d
push 0x20
call dword [0x10097938]
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10056d90
mov eax, 0x1b
jmp 0x1005711d
push 0x20
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [0x10097a70]
mov eax, dword [edx + 0x5c]
call eax
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10056dbd
mov eax, dword [ebp - 0x1c]
jmp 0x1005711d
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 0x20
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1007f950
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [0x10097940]
add esp, 4
mov dword [ebp - 0x10], 0
xor eax, eax
jne 0x10056dda
cmp dword [ebp - 0x1c], 0
je 0x10056e00
mov eax, dword [ebp - 0x1c]
jmp 0x1005711d
xor ecx, ecx
jne 0x10056e00
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
add dword [ebp - 0x20], 1
cmp byte [ebp - 1], 0
jne 0x10056e13
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [0x10097938]
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10056e6f
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x10097940]
add esp, 4
mov dword [ebp - 0x2c], 0
xor ecx, ecx
jne 0x10056e4d
mov eax, 0x1b
jmp 0x1005711d
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.100099d0
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
push str._sha256__
mov eax, dword [ebp - 0x28]
push eax
call fcn.100096f0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10056eb2
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x14]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x28]
add ecx, 8
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x24]
mov cl, byte [eax]
mov byte [ebp - 2], cl
add dword [ebp - 0x24], 1
cmp byte [ebp - 2], 0
jne 0x10056ec4
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x54]
jne 0x10056f10
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x28]
add edx, 8
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10025220
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x10056f10
mov dword [ebp - 0xc], 0
jmp 0x10056f49
cmp dword [ebp - 0x14], 0
je 0x10056f39
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x14]
mov byte [eax + edx], 0x3b
push 0x10098bac
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100096f0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x14], 0
je 0x10056f49
cmp dword [ebp - 0x28], 0
jne 0x10056e89
mov edx, dword [ebp - 0x2c]
push edx
call dword [0x10097940]
add esp, 4
mov dword [ebp - 0x2c], 0
xor eax, eax
jne 0x10056f49
mov ecx, dword [ebp - 0x30]
push ecx
call dword [0x10097940]
add esp, 4
mov dword [ebp - 0x30], 0
xor edx, edx
jne 0x10056f61
mov eax, dword [ebp - 0xc]
jmp 0x1005711d
push 0x10098ba8
mov eax, dword [ebp + 0xc]
push eax
call fcn.10010cb6
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10056fa3
mov eax, dword [ebp - 0xc]
jmp 0x1005711d
push 2
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1001107d
add esp, 0xc
test eax, eax
je 0x10056fbc
jmp 0x100570de
mov edx, dword [ebp - 0x18]
push edx
call fcn.1001721b
add esp, 4
mov dword [ebp - 0x3c], eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.1001107d
add esp, 0xc
test eax, eax
je 0x10056fe4
jmp 0x100570de
cmp dword [ebp - 0x3c], 0
jl 0x10056ff3
cmp dword [ebp - 0x3c], 0x100000
jle 0x10056ff8
jmp 0x100570de
mov eax, dword [ebp - 0x3c]
cdq
push edx
push eax
call fcn.10046130
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0x34]
jbe 0x10057016
jmp 0x100570de
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
call dword [0x10097938]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10057034
jmp 0x100570de
mov eax, dword [ebp - 0x18]
push eax
push 1
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10010ac4
add esp, 0x10
cmp eax, 1
je 0x10057054
jmp 0x100570de
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x34]
jne 0x10057082
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.10025220
add esp, 0xc
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x10057080
mov dword [ebp - 0xc], 0
jmp 0x100570de
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x34]
mov byte [ecx], 0
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10057130
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x100570aa
jmp 0x100570de
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x64]
jne 0x100570d6
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.10025220
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x100570d6
mov dword [ebp - 0xc], 0
xor eax, eax
jne 0x10056fa3
mov ecx, dword [ebp - 8]
push ecx
call dword [0x10097940]
add esp, 4
mov dword [ebp - 8], 0
xor edx, edx
jne 0x100570de
mov eax, dword [ebp - 0x38]
push eax
call dword [0x10097940]
add esp, 4
mov dword [ebp - 0x38], 0
xor ecx, ecx
jne 0x100570f6
mov edx, dword [ebp - 0x18]
push edx
call fcn.10010d43
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret