Function at 0x47dcc0
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
cmp dword [ebp + 0xc], 0
jne 0x47dce8
xor eax, eax
jmp 0x47e092
cmp dword [ebp + 0x10], 0
je 0x47dcf4
cmp dword [ebp + 0x14], 0
jne 0x47dcfc
mov eax, dword [ebp - 8]
jmp 0x47e092
push 8
push str.sha256__
mov eax, dword [ebp + 0xc]
push eax
call fcn.005fbc60
add esp, 0xc
test eax, eax
jne 0x47df00
mov ecx, dword [0x6b5380]
cmp dword [ecx + 0x5c], 0
jne 0x47dd2b
mov eax, dword [ebp - 8]
jmp 0x47e092
push 0x20
call dword [0x6b5368]
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47dd49
mov eax, 0x1b
jmp 0x47e092
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 [0x6b5380]
mov eax, dword [edx + 0x5c]
call eax
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47dd76
mov eax, dword [ebp - 0x1c]
jmp 0x47e092
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x20
mov eax, dword [ebp - 0x18]
push eax
call fcn.004aced0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x6b536c]
add esp, 4
mov dword [ebp - 0x18], 0
xor edx, edx
jne 0x47dd8f
cmp dword [ebp - 0x1c], 0
je 0x47ddb5
mov eax, dword [ebp - 0x1c]
jmp 0x47e092
mov eax, dword [ebp - 0x10]
push eax
push str._public_key_hash:_sha256___s
mov ecx, dword [ebp + 8]
push ecx
call fcn.00487990
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00606e50
add esp, 4
add eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
call dword [0x6b5368]
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x47de14
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x6b536c]
add esp, 4
mov dword [ebp - 0x10], 0
xor edx, edx
jne 0x47ddf2
mov eax, 0x1b
jmp 0x47e092
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.005f31f0
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push str._sha256__
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005f5510
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47de57
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
mov byte [ecx + eax], 0
mov edx, dword [ebp - 0x20]
add edx, 8
push edx
call fcn.00606e50
add esp, 4
cmp dword [ebp - 0x38], eax
jne 0x47de8f
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.005f3f0d
add esp, 0xc
test eax, eax
jne 0x47de8f
mov dword [ebp - 8], 0
jmp 0x47dec8
cmp dword [ebp - 0xc], 0
je 0x47deb8
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0x3b
push str.sha256__
mov eax, dword [ebp - 0xc]
push eax
call fcn.005f5510
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0
je 0x47dec8
cmp dword [ebp - 0x20], 0
jne 0x47de2e
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x6b536c]
add esp, 4
mov dword [ebp - 0x10], 0
xor edx, edx
jne 0x47dec8
mov eax, dword [ebp - 0x24]
push eax
call dword [0x6b536c]
add esp, 4
mov dword [ebp - 0x24], 0
xor ecx, ecx
jne 0x47dee0
mov eax, dword [ebp - 8]
jmp 0x47e092
push 0x62d51c
mov edx, dword [ebp + 0xc]
push edx
call fcn.004a2e60
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47df22
mov eax, dword [ebp - 8]
jmp 0x47e092
push 2
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00601277
add esp, 0xc
test eax, eax
je 0x47df3b
jmp 0x47e053
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00601915
add esp, 4
mov dword [ebp - 0x30], eax
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00601277
add esp, 0xc
test eax, eax
je 0x47df63
jmp 0x47e053
cmp dword [ebp - 0x30], 0
jl 0x47df72
cmp dword [ebp - 0x30], 0x100000
jle 0x47df77
jmp 0x47e053
mov eax, dword [ebp - 0x30]
cdq
push edx
push eax
call fcn.00470d60
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x28]
jbe 0x47df95
jmp 0x47e053
mov ecx, dword [ebp - 0x28]
add ecx, 1
push ecx
call dword [0x6b5368]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x47dfb3
jmp 0x47e053
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.00600d6c
add esp, 0x10
cmp eax, 1
je 0x47dfd3
jmp 0x47e053
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x28]
jne 0x47dffc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.005f3f0d
add esp, 0xc
test eax, eax
jne 0x47dffa
mov dword [ebp - 8], 0
jmp 0x47e053
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.0047f400
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x47e024
jmp 0x47e053
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0x40]
jne 0x47e04b
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005f3f0d
add esp, 0xc
test eax, eax
jne 0x47e04b
mov dword [ebp - 8], 0
xor edx, edx
jne 0x47df22
mov eax, dword [ebp - 4]
push eax
call dword [0x6b536c]
add esp, 4
mov dword [ebp - 4], 0
xor ecx, ecx
jne 0x47e053
mov edx, dword [ebp - 0x2c]
push edx
call dword [0x6b536c]
add esp, 4
mov dword [ebp - 0x2c], 0
xor eax, eax
jne 0x47e06b
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00600b02
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret