Function at 0x4598d0
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
cmp dword [ebp + 0xc], 0
jne 0x4598f8
xor eax, eax
jmp 0x459ce6
cmp dword [ebp + 0x10], 0
je 0x459904
cmp dword [ebp + 0x14], 0
jne 0x45990c
mov eax, dword [ebp - 0xc]
jmp 0x459ce6
push 8
push str.sha256__
mov eax, dword [ebp + 0xc]
push eax
call fcn.00427350
add esp, 0xc
test eax, eax
jne 0x459b4a
mov ecx, dword [0x4a9aa8]
cmp dword [ecx + 0x58], 0
jne 0x45993b
mov eax, dword [ebp - 0xc]
jmp 0x459ce6
push 0x20
call dword [0x4a9970]
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x459959
mov eax, 0x1b
jmp 0x459ce6
push 0x20
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [0x4a9aa8]
mov eax, dword [edx + 0x58]
call eax
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x459986
mov eax, dword [ebp - 0x1c]
jmp 0x459ce6
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 0x20
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00485707
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [0x4a9978]
add esp, 4
mov dword [ebp - 0x18], 0
xor eax, eax
jne 0x4599a3
cmp dword [ebp - 0x1c], 0
je 0x4599c9
mov eax, dword [ebp - 0x1c]
jmp 0x459ce6
xor ecx, ecx
jne 0x4599c9
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 0x4599dc
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 [0x4a9970]
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x459a38
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x4a9978]
add esp, 4
mov dword [ebp - 0x2c], 0
xor ecx, ecx
jne 0x459a16
mov eax, 0x1b
jmp 0x459ce6
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041e360
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.0041d9a0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x459a7b
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x10]
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 0x459a8d
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 0x459ad9
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.0041e98d
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x459ad9
mov dword [ebp - 0xc], 0
jmp 0x459b12
cmp dword [ebp - 0x10], 0
je 0x459b02
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x10]
mov byte [eax + edx], 0x3b
push 0x4aab7c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041d9a0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x10], 0
je 0x459b12
cmp dword [ebp - 0x28], 0
jne 0x459a52
mov edx, dword [ebp - 0x2c]
push edx
call dword [0x4a9978]
add esp, 4
mov dword [ebp - 0x2c], 0
xor eax, eax
jne 0x459b12
mov ecx, dword [ebp - 0x30]
push ecx
call dword [0x4a9978]
add esp, 4
mov dword [ebp - 0x30], 0
xor edx, edx
jne 0x459b2a
mov eax, dword [ebp - 0xc]
jmp 0x459ce6
push 0x4aab78
mov eax, dword [ebp + 0xc]
push eax
call fcn.00460231
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x459b6c
mov eax, dword [ebp - 0xc]
jmp 0x459ce6
push 2
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042449a
add esp, 0xc
test eax, eax
je 0x459b85
jmp 0x459ca7
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042d6c8
add esp, 4
mov dword [ebp - 0x3c], eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042449a
add esp, 0xc
test eax, eax
je 0x459bad
jmp 0x459ca7
cmp dword [ebp - 0x3c], 0
jl 0x459bbc
cmp dword [ebp - 0x3c], 0x100000
jle 0x459bc1
jmp 0x459ca7
mov eax, dword [ebp - 0x3c]
cdq
push edx
push eax
call fcn.0044c430
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0x34]
jbe 0x459bdf
jmp 0x459ca7
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
call dword [0x4a9970]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x459bfd
jmp 0x459ca7
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0042491d
add esp, 0x10
cmp eax, 1
je 0x459c1d
jmp 0x459ca7
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x34]
jne 0x459c4b
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041e98d
add esp, 0xc
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x459c49
mov dword [ebp - 0xc], 0
jmp 0x459ca7
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.00459cf0
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x459c73
jmp 0x459ca7
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x64]
jne 0x459c9f
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041e98d
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x459c9f
mov dword [ebp - 0xc], 0
xor eax, eax
jne 0x459b6c
mov ecx, dword [ebp - 8]
push ecx
call dword [0x4a9978]
add esp, 4
mov dword [ebp - 8], 0
xor edx, edx
jne 0x459ca7
mov eax, dword [ebp - 0x38]
push eax
call dword [0x4a9978]
add esp, 4
mov dword [ebp - 0x38], 0
xor ecx, ecx
jne 0x459cbf
mov edx, dword [ebp - 0x14]
push edx
call fcn.00424c1b
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret