Function at 0x438ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x5a
test esi, esi
jne 0x438cca
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push edi
test ebx, ebx
je 0x4390d3
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4390d3
push 8
push str.sha256__
push esi
call fcn.0047f090
add esp, 0xc
test eax, eax
jne 0x438e72
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], eax
mov eax, dword [0x4c059c]
cmp dword [eax + 0x58], 0
je 0x4390d3
push 0x20
call dword [0x4c0510]
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x438d95
push 0x20
push eax
mov eax, dword [0x4c059c]
push edi
push ebx
mov eax, dword [eax + 0x58]
call eax
mov ebx, dword [ebp - 0x10]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x438d51
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x20
push ebx
call fcn.00456dc0
add esp, 0x10
mov edi, eax
push ebx
call dword [0x4c0514]
add esp, 4
test edi, edi
je 0x438d68
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
push str._public_key_hash:_sha256___s
push dword [ebp + 8]
call fcn.00440060
push esi
call dword [0x4c051c]
add esp, 0x10
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x438da1
push dword [ebp + 0xc]
call dword [0x4c0514]
add esp, 4
pop edi
pop ebx
mov eax, 0x1b
pop esi
mov esp, ebp
pop ebp
ret
mov esi, eax
push str._sha256__
push esi
call fcn.0046ecc0
mov edi, eax
add esp, 8
test edi, edi
je 0x438dba
mov byte [edi], 0
add esi, 8
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438dc2
mov ebx, dword [ebp + 0xc]
sub ecx, edx
mov edx, dword [ebp - 4]
cmp edx, ecx
jne 0x438e23
mov ecx, ebx
sub edx, 4
jb 0x438df1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x438df6
add ecx, 4
add esi, 4
sub edx, 4
jae 0x438de0
cmp edx, 0xfffffffc
je 0x438e69
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x438e23
cmp edx, 0xfffffffd
je 0x438e69
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x438e23
cmp edx, 0xfffffffe
je 0x438e69
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x438e23
cmp edx, 0xffffffff
je 0x438e69
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x438e69
test edi, edi
je 0x438e45
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.0046ecc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x438da3
mov ebx, dword [ebp + 0xc]
push ebx
call dword [0x4c0514]
push dword [ebp - 0x14]
mov dword [ebp + 0xc], 0
call dword [0x4c0514]
mov eax, dword [ebp - 8]
add esp, 8
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x438e45
push 0x4a2c5c
push esi
call fcn.00451a10
add esp, 8
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4390d3
push 2
push 0
push eax
call fcn.00478069
add esp, 0xc
test eax, eax
jne 0x438f6a
push dword [ebp + 0xc]
call fcn.0047e7ab
push 0
push 0
push dword [ebp + 0xc]
mov esi, eax
call fcn.00478069
add esp, 0x10
test eax, eax
jne 0x438f6a
cmp esi, 0x100000
ja 0x438f6a
mov eax, esi
cdq
push edx
push eax
call fcn.00443270
mov esi, eax
add esp, 8
cmp edi, esi
ja 0x438f6a
lea eax, [esi + 1]
push eax
call dword [0x4c0510]
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x438f6a
push dword [ebp + 0xc]
push 1
push esi
push eax
call fcn.00477c5f
add esp, 0x10
cmp eax, 1
jne 0x438f6a
cmp edi, esi
jne 0x438f98
mov ecx, dword [ebp - 4]
sub edi, 4
jb 0x438f31
nop dword [eax]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x438f36
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x438f20
cmp edi, 0xfffffffc
je 0x438f63
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x438f6a
cmp edi, 0xfffffffd
je 0x438f63
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x438f6a
cmp edi, 0xfffffffe
je 0x438f63
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x438f6a
cmp edi, 0xffffffff
je 0x438f63
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
jne 0x438f6a
mov dword [ebp - 8], 0
push dword [ebp - 4]
call dword [0x4c0514]
push dword [ebp - 0xc]
call dword [0x4c0514]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0
call fcn.0047720a
mov eax, dword [ebp - 8]
add esp, 0xc
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push str._____BEGIN_PUBLIC_KEY_____
push eax
mov dword [ebp - 0x14], 0
mov byte [esi + eax], 0
call fcn.0046ecc0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x438f6a
mov eax, dword [ebp - 4]
mov esi, ecx
sub esi, eax
je 0x438fc9
cmp byte [ecx - 1], 0xa
jne 0x438f6a
add esi, 0x1a
add eax, esi
push str._n_____END_PUBLIC_KEY_____
push eax
call fcn.0046ecc0
add esp, 8
test eax, eax
je 0x438f6a
sub eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
sub eax, esi
inc eax
push eax
call dword [0x4c0510]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x438f6a
mov edx, dword [ebp - 0x18]
cmp esi, edx
jae 0x439032
mov eax, dword [ebp - 4]
xor ebx, ebx
mov edi, ecx
nop
mov cl, byte [eax + esi]
cmp cl, 0xa
je 0x439021
cmp cl, 0xd
je 0x439021
mov byte [edi + ebx], cl
inc ebx
inc esi
cmp esi, edx
jb 0x439010
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov byte [ecx + eax], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
call fcn.00456bd0
push dword [ebp - 0x10]
mov esi, eax
call dword [0x4c0514]
add esp, 0x10
test esi, esi
jne 0x438f6a
cmp edi, dword [ebp - 0x1c]
jne 0x438f6a
mov ecx, dword [ebp - 0xc]
sub edi, 4
jb 0x439081
nop
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x43908a
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x439070
cmp edi, 0xfffffffc
je 0x438f63
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x4390c7
cmp edi, 0xfffffffd
je 0x438f63
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x4390c7
cmp edi, 0xfffffffe
je 0x438f63
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x4390c7
cmp edi, 0xffffffff
je 0x438f63
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
je 0x438f63
mov dword [ebp - 8], 0x5a
jmp 0x438f6a
pop edi
pop ebx
mov eax, 0x5a
pop esi
mov esp, ebp
pop ebp
ret