Function at 0x41f560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
lea edi, [ebp - 0x60]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0x5a
mov dword [ebp - 0x60], 0
cmp dword [ebp + 0xc], 0
jne 0x41f5a0
xor eax, eax
jmp 0x41f9a8
cmp dword [ebp + 0x10], 0
je 0x41f5ac
cmp dword [ebp + 0x14], 0
jne 0x41f5b4
mov eax, dword [ebp - 0x30]
jmp 0x41f9a8
push 8
push 0x4bcb84
mov eax, dword [ebp + 0xc]
push eax
call fcn.00493f10
add esp, 0xc
test eax, eax
jne 0x41f7fb
mov ecx, dword [0x4bcac8]
cmp dword [ecx + 0x5c], 0
jne 0x41f5e3
mov eax, dword [ebp - 0x30]
jmp 0x41f9a8
mov esi, esp
push 0x20
call dword [section..data]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x41f60a
mov eax, 0x1b
jmp 0x41f9a8
mov esi, esp
push 0x20
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [0x4bcac8]
mov eax, dword [edx + 0x5c]
call eax
add esp, 0x10
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x41f640
mov eax, dword [ebp - 0x34]
jmp 0x41f9a8
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x4c]
push edx
push 0x20
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044e2b0
add esp, 0x14
mov dword [ebp - 0x34], eax
mov esi, esp
mov edx, dword [ebp - 0x60]
push edx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x60], 0
xor eax, eax
jne 0x41f65d
cmp dword [ebp - 0x34], 0
je 0x41f68c
mov eax, dword [ebp - 0x34]
jmp 0x41f9a8
mov ecx, dword [ebp - 0x4c]
push ecx
push str._t_public_key_hash:_sha256___s_n
mov edx, dword [ebp + 8]
push edx
call fcn.0042aa70
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048f060
add esp, 4
add eax, 1
mov dword [ebp - 0x44], eax
mov esi, esp
mov ecx, dword [ebp - 0x44]
push ecx
call dword [section..data]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x41f6fd
mov esi, esp
mov edx, dword [ebp - 0x4c]
push edx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x4c], 0
xor eax, eax
jne 0x41f6d2
mov eax, 0x1b
jmp 0x41f9a8
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.004876b0
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
push str._sha256__
mov edx, dword [ebp - 0x58]
push edx
call fcn.00489520
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x41f740
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x5c]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0x58]
add eax, 8
push eax
call fcn.0048f060
add esp, 4
cmp dword [ebp - 0x3c], eax
jne 0x41f778
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x58]
add edx, 8
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00487e97
add esp, 0xc
test eax, eax
jne 0x41f778
mov dword [ebp - 0x30], 0
jmp 0x41f7b1
cmp dword [ebp - 0x5c], 0
je 0x41f7a1
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x5c]
mov byte [eax + edx], 0x3b
push str.sha256__
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00489520
add esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x5c], 0
je 0x41f7b1
cmp dword [ebp - 0x58], 0
jne 0x41f717
mov esi, esp
mov edx, dword [ebp - 0x4c]
push edx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x4c], 0
xor eax, eax
jne 0x41f7b1
mov esi, esp
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x54], 0
xor edx, edx
jne 0x41f7d2
mov eax, dword [ebp - 0x30]
jmp 0x41f9a8
push 0x4bcbc8
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048b540
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f81d
mov eax, dword [ebp - 0x30]
jmp 0x41f9a8
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.0048ed87
add esp, 0xc
test eax, eax
je 0x41f836
jmp 0x41f957
mov edx, dword [ebp - 4]
push edx
call fcn.00496456
add esp, 4
mov dword [ebp - 0x18], eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.0048ed87
add esp, 0xc
test eax, eax
je 0x41f85e
jmp 0x41f957
cmp dword [ebp - 0x18], 0
jl 0x41f86d
cmp dword [ebp - 0x18], 0x100000
jle 0x41f872
jmp 0x41f957
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
call fcn.0042e9e0
add esp, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0x1c]
jbe 0x41f890
jmp 0x41f957
mov edx, dword [ebp - 0x1c]
add edx, 1
mov esi, esp
push edx
call dword [section..data]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41f8b7
jmp 0x41f957
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0048e929
add esp, 0x10
cmp eax, 1
je 0x41f8d7
jmp 0x41f957
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x1c]
jne 0x41f900
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00487e97
add esp, 0xc
test eax, eax
jne 0x41f8fe
mov dword [ebp - 0x30], 0
jmp 0x41f957
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x1c]
mov byte [ecx], 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0041fec0
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41f928
jmp 0x41f957
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x24]
jne 0x41f94f
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00487e97
add esp, 0xc
test eax, eax
jne 0x41f94f
mov dword [ebp - 0x30], 0
xor eax, eax
jne 0x41f81d
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 8], 0
xor edx, edx
jne 0x41f957
mov esi, esp
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x10], 0
xor ecx, ecx
jne 0x41f978
mov edx, dword [ebp - 4]
push edx
call fcn.0048b9df
add esp, 4
mov eax, dword [ebp - 0x30]
push edx
mov ecx, ebp
push eax
lea edx, [0x41f9cc]
call fcn.00485bbb
pop eax
pop edx
pop edi
pop esi
add esp, 0x60
cmp ebp, esp
call fcn.00485c0f
mov esp, ebp
pop ebp
ret