Function at 0x4375e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x437600
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x20], cx
add ecx, 2
mov word [esp + 0x22], cx
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x3c3d3e3f
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x437689
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, 0xd7
sub edx, eax
add eax, 0x6cb96f28
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0xe8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x437650
mov ebx, dword [esp + 8]
mov eax, dword [0x441028]
test eax, eax
je 0x4376de
xor ecx, ecx
mov edx, dword [0x44102c]
nop
nop
cmp dword [edx + ecx*8], 0xd07a397f
je 0x4376b0
inc ecx
cmp eax, ecx
jne 0x4376a0
jmp 0x4376de
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4376de
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push 0
push 0
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x441030]
push eax
call fcn.00433e50
add esp, 0x24
mov ebx, eax
mov dword [esp + 8], 0xfb383953
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x437749
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, pe_nt_image_headers32
sub edx, eax
add eax, 0x3b6cac87
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0x4f
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x437710
cmp ebx, dword [esp + 8]
jne 0x4378c6
push dword [esp + 0x1c]
call fcn.004324a0
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 0x3c3d3e3f
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xc
ja 0x4377db
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov edi, 0xd7
sub edi, ecx
add ecx, 0x6cb96f28
xor edi, ecx
and edi, edx
xor edi, ecx
mov dword [esp + 4], edi
mov ecx, dword [esp + 4]
add cl, 0xe8
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xd
jb 0x4377a0
mov ebx, dword [esp + 8]
mov ecx, dword [0x441028]
test ecx, ecx
je 0x43783f
xor edx, edx
mov edi, dword [0x44102c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xd07a397f
je 0x437810
inc edx
cmp ecx, edx
jne 0x437800
jmp 0x43783f
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, ebx
je 0x43783f
lea edx, [esp + 0x1c]
lea edi, [esp + 0x20]
push edx
push eax
push dword [esp + 0x20]
push 2
push edi
push dword [ebp + 8]
push 6
push dword [0x441030]
push ecx
call fcn.00433e50
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov edx, dword [ebp + 0x18]
mov edi, dword [esp + 0x18]
js 0x4378bd
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x437856
mov eax, dword [edi + 4]
mov dword [ecx], eax
test edx, edx
je 0x4378bd
mov eax, esi
test esi, esi
je 0x4378b8
mov eax, dword [edx]
mov ecx, dword [edi + 8]
cmp eax, ecx
jb 0x43786b
mov eax, ecx
lea edx, [edi + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add esi, ecx
mov edx, dword [esp + 0x18]
add edx, ecx
add edx, 0xc
mov ecx, eax
shr ecx, 1
and ecx, 1
mov dword [esp + 0x28], edx
mov edi, esi
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov edi, dword [esp + 0x18]
test al, 1
mov edx, dword [ebp + 0x18]
je 0x4378b8
and eax, 2
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + eax]
mov byte [esi + eax], cl
mov eax, dword [edi + 8]
mov dword [edx], eax
push edi
call fcn.00432560
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret