Function at 0x42d380
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d9ae
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x43e064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], ecx
push 0x208
call fcn.0040c362
add esp, 4
mov edi, eax
push 0x208
call fcn.0040c362
mov ecx, dword [0x48ef80]
add esp, 4
mov esi, dword [0x48ef84]
mov dword [ebp - 0x10c], eax
push 0x104
push edi
push 0
call ecx
push eax
call esi
mov edx, dword [ebp - 0x10c]
mov ecx, edx
sub ecx, edi
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x42d412
push 0x5c
push edx
call fcn.0040d731
movaps xmm0, xmmword [0x43af80]
lea ecx, [ebp - 0x158]
add esp, 8
mov byte [ebp - 0x148], 0x77
movups xmmword [ebp - 0x158], xmm0
lea esi, [eax + 2]
call fcn.004014e0
cmp dword [eax], 0
je 0x42d474
lea ecx, [ebp - 0x10c]
mov word [ebp - 0x10c], 0x4f52
call fcn.00401600
xor ecx, ecx
mov eax, dword [eax]
movsx eax, byte [eax]
mov word [esi + eax*2], cx
push esi
lea ecx, [ebp - 0x50]
call fcn.00401710
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x40]
jb 0x42d49a
mov ecx, dword [ebp - 0x50]
mov edi, ecx
lea esi, [ecx + eax*2]
jmp 0x42d4a2
lea edx, [ebp - 0x50]
lea esi, [edx + eax*2]
mov edi, edx
cmp edi, esi
je 0x42d4cd
sub ecx, edi
mov dword [ebp - 0x10c], ecx
nop
movzx eax, word [edi]
push eax
call fcn.004114de
mov ecx, dword [ebp - 0x10c]
add esp, 4
mov word [edi + ecx], ax
add edi, 2
cmp edi, esi
jne 0x42d4b0
cmp dword [ebp - 0x3c], 8
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x98]
cmovae edx, dword [ebp - 0x50]
call fcn.0042db00
mov ecx, 0x43a460
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x118], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d510
sub ecx, edx
push ecx
push 0x43a460
lea ecx, [ebp - 0x12c]
call fcn.00401b60
lea edx, [ebp - 0x12c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.004012b0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x42d54b
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.0042db00
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x130]
cmp ecx, 8
jb 0x42d599
mov edx, dword [ebp - 0x144]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42d58f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d950
push ecx
push edx
call fcn.0040c354
add esp, 8
xor eax, eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 7
mov word [ebp - 0x144], ax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x118]
cmp ecx, 0x10
jb 0x42d5f4
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42d5ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d950
push ecx
push edx
call fcn.0040c354
add esp, 8
lea eax, [ebp - 0x98]
mov dword [ebp - 0x11c], 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.004018c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
mov edx, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x58]
sub eax, edx
mov dword [ebp - 0x10c], edx
push edi
push ecx
cmp edi, eax
ja 0x42d670
cmp dword [ebp - 0x24], 0x10
lea esi, [ebp - 0x38]
lea eax, [edi + edx]
cmovae esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
lea eax, [esi + edx]
push eax
call fcn.0040e200
mov ecx, dword [ebp - 0x10c]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x42d67f
push dword [ebp - 0x110]
lea ecx, [ebp - 0x38]
push edi
call fcn.00401c00
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x108]
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
push eax
movlpd qword [ebp - 0x108], xmm0
mov dword [ebp - 0xbc], 0x6a09e667
mov dword [ebp - 0xb8], 0xbb67ae85
mov dword [ebp - 0xb4], 0x3c6ef372
mov dword [ebp - 0xb0], 0xa54ff53a
mov dword [ebp - 0xac], 0x510e527f
mov dword [ebp - 0xa8], 0x9b05688c
mov dword [ebp - 0xa4], 0x1f83d9ab
mov dword [ebp - 0xa0], 0x5be0cd19
call fcn.0040a520
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x108]
call fcn.0040a720
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x80]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x20], xmm0
push eax
call fcn.004018c0
lea ecx, [ebp - 0x20]
call fcn.0042ae00
push dword [ebp - 0x110]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10c], eax
call fcn.0040c362
xor esi, esi
add esp, 0x1c
mov edi, eax
cmp dword [ebp - 0x110], esi
jbe 0x42d78a
sub dword [ebp - 0x114], edi
mov ecx, dword [ebp - 0x10c]
lea edx, [esi + edi]
mov eax, esi
inc esi
and eax, 0x1f
mov cl, byte [eax + ecx]
mov eax, dword [ebp - 0x114]
mov al, byte [eax + edx]
xor al, cl
mov byte [edx], al
cmp esi, dword [ebp - 0x110]
jb 0x42d763
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x42d7d3
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x42d7b4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d955
push edx
push ecx
call fcn.0040c354
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0x10
jb 0x42d807
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42d7fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d955
push ecx
push edx
call fcn.0040c354
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0x10
jb 0x42d84d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42d843
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d955
push ecx
push edx
call fcn.0040c354
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x42d893
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42d889
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d955
push ecx
push edx
call fcn.0040c354
add esp, 8
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0x10
jb 0x42d8df
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42d8d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d955
push ecx
push edx
call fcn.0040c354
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 8
jb 0x42d930
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42d926
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d955
push ecx
push edx
call fcn.0040c354
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040c311
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004122c5
call fcn.004122c5
int3