Function at 0x40c45e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
push 0x5a
xor edi, edi
pop esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
cmp dword [ebp + 0xc], ebx
jne 0x40c480
xor eax, eax
jmp 0x40c6c3
cmp dword [ebp + 0x10], ebx
je 0x40c6c1
cmp dword [ebp + 0x14], ebx
je 0x40c6c1
push 8
push str.sha256__
push dword [ebp + 0xc]
call fcn.0043b711
add esp, 0xc
test eax, eax
jne 0x40c5d6
mov eax, dword [0x462014]
cmp dword [eax + 0x5c], ebx
je 0x40c6c1
push 0x20
call dword [section..data]
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x40c4d1
push 0x1b
pop eax
jmp 0x40c6c3
mov eax, dword [0x462014]
push 0x20
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [eax + 0x5c]
add esp, 0x10
cmp eax, ebx
jne 0x40c6c3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0x20
push esi
push dword [ebp + 8]
call fcn.00430254
push esi
mov edi, eax
call dword [0x462004]
add esp, 0x18
cmp edi, ebx
je 0x40c517
mov eax, edi
jmp 0x40c6c3
push dword [ebp - 4]
push str._t_public_key_hash:_sha256___s_n
push dword [ebp + 8]
call fcn.0040e9e4
push dword [ebp + 0xc]
call fcn.0043bce0
lea esi, [eax + 1]
push esi
call dword [section..data]
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x40c551
push dword [ebp - 4]
call dword [0x462004]
pop ecx
jmp 0x40c4c9
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0043c360
add esp, 0xc
mov edi, ebx
push str._sha256__
push edi
call fcn.0043da30
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40c576
mov byte [esi], 0
add edi, 8
push edi
call fcn.0043bce0
pop ecx
cmp dword [ebp - 0x10], eax
jne 0x40c598
push dword [ebp - 0x10]
push edi
push dword [ebp - 4]
call fcn.0043dcaf
add esp, 0xc
test eax, eax
je 0x40c5b4
test esi, esi
je 0x40c5b8
push str.sha256__
push esi
mov byte [esi], 0x3b
call fcn.0043da30
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40c560
jmp 0x40c5b8
and dword [ebp - 8], 0
push dword [ebp - 4]
call dword [0x462004]
and dword [ebp - 4], 0
push ebx
call dword [0x462004]
pop ecx
pop ecx
mov eax, dword [ebp - 8]
jmp 0x40c6c3
push 0x451f64
push dword [ebp + 0xc]
call fcn.0043d309
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x40c6c1
push 2
push ebx
push eax
call fcn.0043d3aa
add esp, 0xc
test eax, eax
jne 0x40c69e
push dword [ebp + 0xc]
call fcn.0043dc4a
push ebx
push ebx
push dword [ebp + 0xc]
mov esi, eax
call fcn.0043d3aa
add esp, 0x10
test eax, eax
jne 0x40c69e
cmp esi, 0x100000
ja 0x40c69e
mov eax, esi
cdq
push edx
push eax
call fcn.0040e6f9
mov esi, eax
pop ecx
pop ecx
cmp dword [ebp + 0x14], esi
ja 0x40c69e
lea eax, [esi + 1]
push eax
call dword [section..data]
mov edi, eax
pop ecx
cmp edi, ebx
je 0x40c69e
push dword [ebp + 0xc]
push 1
push esi
push edi
call fcn.0043c186
add esp, 0x10
cmp eax, 1
jne 0x40c69e
cmp dword [ebp + 0x14], esi
jne 0x40c66a
push dword [ebp + 0x14]
push edi
jmp 0x40c68c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov byte [esi + edi], bl
call fcn.0040c3b6
pop ecx
pop ecx
test eax, eax
jne 0x40c69e
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x10]
jne 0x40c69e
push eax
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.0043dcaf
add esp, 0xc
test eax, eax
jne 0x40c69e
mov dword [ebp - 8], ebx
push edi
call dword [0x462004]
push dword [ebp - 0xc]
call dword [0x462004]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
call fcn.0043d493
add esp, 0xc
jmp 0x40c5ce
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret