Function at 0x43bab0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x30], 0
mov ebp, dword [esp + 0xc0]
mov dword [esp], esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x6a09e667
mov dword [esp + 0x3c], 0xbb67ae85
mov dword [esp + 0x40], 0x3c6ef372
mov dword [esp + 0x44], 0xa54ff53a
mov dword [esp + 0x48], 0x510e527f
mov dword [esp + 0x4c], 0x9b05688c
mov dword [esp + 0x50], 0x1f83d9ab
mov dword [esp + 0x54], 0x5be0cd19
call sym._strlen
mov dword [esp], eax
call sym._curlx_uztoui
test eax, eax
je 0x43be5d
mov ebx, eax
mov dword [esp + 0xc0], ebp
xor eax, eax
lea edi, [esp + 0x30]
jmp 0x43bb8f
mov edx, 0x40
lea ecx, [esp + 0x5c]
mov dword [esp + 4], esi
sub edx, eax
cmp edx, ebx
cmova edx, ebx
add eax, ecx
mov dword [esp], eax
mov dword [esp + 8], edx
mov ebp, edx
add esi, ebp
sub ebx, ebp
call sym._memcpy
mov eax, dword [esp + 0x58]
add eax, ebp
mov dword [esp + 0x58], eax
cmp eax, 0x40
je 0x43bca8
test ebx, ebx
je 0x43bbc4
test eax, eax
jne 0x43bb50
cmp ebx, 0x3f
jbe 0x43bb50
mov edx, esi
mov eax, edi
call sym._sha256_compress
test eax, eax
js 0x43be28
add dword [esp + 0x30], 0x200
mov eax, dword [esp + 0x58]
adc dword [esp + 0x34], 0
sub ebx, 0x40
add esi, 0x40
test ebx, ebx
jne 0x43bb8f
mov ebp, dword [esp + 0xc0]
cmp eax, 0x3f
ja 0x43bda6
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
lea ecx, [eax + 1]
mov byte [esp + eax + 0x5c], pe_nt_image_headers32
lea edx, [eax*8]
mov dword [esp + 0x18], ecx
add ebx, edx
adc esi, 0
mov edx, ebx
mov byte [esp + 0x2f], bl
mov ecx, esi
mov dword [esp + 0x34], esi
shr ecx, 0x18
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ecx
mov ecx, esi
shr ecx, 0x10
mov byte [esp + 0x2c], cl
mov ecx, esi
movzx ecx, ch
mov dword [esp + 0x28], ecx
mov ecx, esi
mov byte [esp + 0x2e], cl
mov ecx, ebx
shr ecx, 0x18
mov dword [esp + 0x24], ecx
mov ecx, esi
mov esi, dword [esp + 0x18]
shrd edx, ecx, 0x10
movzx ecx, bh
mov byte [esp + 0x2d], dl
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], esi
cmp esi, 0x38
jbe 0x43bce0
cmp esi, 0x40
je 0x43bc8b
mov ecx, 0x40
lea eax, [edi + eax + 0x2d]
sub ecx, esi
je 0x43bc83
xor edx, edx
test cl, 1
je 0x43bc73
mov edx, 1
mov byte [eax], 0
cmp edx, ecx
jae 0x43bc83
mov byte [eax + edx], 0
mov byte [eax + edx + 1], 0
add edx, 2
cmp edx, ecx
jb 0x43bc73
mov dword [esp + 0x58], 0x40
lea esi, [esp + 0x5c]
mov eax, edi
mov edx, esi
call sym._sha256_compress
mov dword [esp + 0x18], 0
jmp 0x43bce6
lea edx, [esp + 0x5c]
mov eax, edi
call sym._sha256_compress
test eax, eax
js 0x43be28
add dword [esp + 0x30], 0x200
mov dword [esp + 0x58], 0
adc dword [esp + 0x34], 0
xor eax, eax
jmp 0x43bb8b
lea esi, [esp + 0x5c]
je 0x43bd15
mov ebx, dword [esp + 0x18]
mov eax, 0x38
sub eax, ebx
lea ecx, [edi + ebx + 0x2c]
cmp eax, 4
jae 0x43bdb8
test eax, eax
je 0x43bd0d
mov byte [ecx], 0
test al, 2
jne 0x43be51
mov dword [esp + 0x58], 0x38
movzx eax, byte [esp + 0x1c]
mov edx, esi
mov byte [esp + 0x94], al
movzx eax, byte [esp + 0x2c]
mov byte [esp + 0x95], al
movzx eax, byte [esp + 0x28]
mov byte [esp + 0x96], al
movzx eax, byte [esp + 0x2e]
mov byte [esp + 0x97], al
movzx eax, byte [esp + 0x24]
mov byte [esp + 0x98], al
movzx eax, byte [esp + 0x2d]
mov byte [esp + 0x99], al
movzx eax, byte [esp + 0x20]
mov byte [esp + 0x9a], al
movzx eax, byte [esp + 0x2f]
mov byte [esp + 0x9b], al
mov eax, edi
call sym._sha256_compress
xor eax, eax
mov edx, dword [edi + eax*4 + 8]
mov ecx, edx
mov byte [ebp + eax*4 + 2], dh
shr ecx, 0x18
mov byte [ebp + eax*4 + 3], dl
mov byte [ebp + eax*4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [ebp + eax*4 + 1], cl
add eax, 1
cmp eax, 8
jne 0x43bd80
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ecx + 4]
mov dword [ecx], 0
and edx, 0xfffffffc
mov dword [ecx + eax - 4], 0
sub ecx, edx
add eax, ecx
and eax, 0xfffffffc
cmp eax, 4
jb 0x43bd0d
mov ebx, eax
mov ecx, 4
and ebx, 0xfffffffc
mov dword [esp + 0x18], ebx
lea ebx, [eax - 1]
shr ebx, 2
mov dword [edx], 0
and ebx, 1
cmp ecx, eax
jae 0x43bd0d
test ebx, ebx
jne 0x43be38
mov eax, dword [esp + 0x18]
mov dword [edx + ecx], 0
mov dword [edx + ecx + 4], 0
add ecx, 8
cmp ecx, eax
jb 0x43be09
jmp 0x43bd0d
mov ebp, dword [esp + 0xc0]
mov eax, dword [esp + 0x58]
jmp 0x43bbcb
mov dword [edx + 4], 0
mov eax, dword [esp + 0x18]
mov ecx, 8
cmp ecx, eax
jb 0x43be05
jmp 0x43bd0d
xor edx, edx
mov word [ecx + eax - 2], dx
jmp 0x43bd0d
mov dword [esp + 0x30], 0
lea edi, [esp + 0x30]
lea esi, [esp + 0x5c]
mov dword [esp + 0x34], 0
mov byte [esp + 0x5c], pe_nt_image_headers32
mov byte [esp + 0x2f], 0
mov byte [esp + 0x20], 0
mov byte [esp + 0x2d], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x2e], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x18], 1
jmp 0x43bce6