Function at 0x4379c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x4379e2
cmp eax, 2
je 0x437a5b
jmp 0x437b7c
push 0xbbf966b4
push dword [0x448e58]
call fcn.0043cfb0
add esp, 8
test eax, eax
je 0x437a1f
mov ecx, dword [esi]
test ecx, ecx
je 0x437a4f
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x437a2b
cmp dword [esp], 0
je 0x437a2b
mov dword [esi + 4], 3
jmp 0x437a4f
mov dword [esi + 4], 1
jmp 0x437b7c
lea eax, [esp + 0x40]
push eax
call fcn.0043d910
add esp, 4
test al, al
je 0x437a4f
mov eax, dword [esp + 0x40]
mov ecx, 2
cmp eax, 3
je 0x437a4c
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x437b7c
mov edi, dword [ebp + 0xc]
mov dword [esp], 0xee35eb32
mov dword [esp + 4], 0x13e9111f
mov dword [esp + 8], 0xf6f20d07
mov dword [esp + 0xc], 0xa2d0f1b
mov dword [esp + 0x10], 0xfa040603
mov byte [esp + 0x14], 0x70
mov dword [esp + 0x15], 0
mov dword [esp + 0x18], 0
mov eax, 0x69
mov ecx, 0x96
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 0x69]
mov edx, ecx
xor edx, eax
and edx, ebx
xor edx, eax
add dl, 0x7d
mov byte [esp + eax - 0x69], dl
inc eax
dec ecx
cmp eax, 0x85
jne 0x437ab0
mov ebx, esp
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.0043bfe0
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0x30
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x40]
push 6
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.0043c0b0
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
jmp 0x437c90
mov dword [esp + 0x40], 0x3f3e3944
mov word [esp + 0x44], 0
mov byte [esp + 0x46], 0
mov eax, 0xa
mov ecx, 0xf5
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 0x36]
mov edx, eax
xor edx, ecx
and edx, edi
xor edx, ecx
mov bl, 0xcd
sub bl, dl
mov byte [esp + eax + 0x36], bl
inc eax
dec ecx
cmp eax, 0x11
jne 0x437ba0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov dword [esp], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax]
mov ecx, eax
xor ecx, 0xe8669847
lea esi, [ecx + eax*2]
mov ecx, ebx
and ecx, esi
mov edi, ecx
and edi, 2
mov edx, ecx
or ecx, 2
imul ecx, edi
xor edi, 2
and edx, 0x4d
imul edx, edi
add ecx, edx
mov edx, ecx
xor edx, esi
not esi
and esi, ecx
add esi, esi
sub edx, esi
add dl, bl
add dl, 0x79
mov byte [esp + eax], dl
mov ecx, eax
mov edx, eax
and edx, 2
mov esi, eax
xor esi, 1
add esi, eax
mov eax, esi
sub eax, edx
and ecx, 1
and esi, ecx
or eax, ecx
add eax, esi
cmp eax, 4
jb 0x437be0
mov eax, dword [esp]
mov ecx, dword [0x448e64]
test ecx, ecx
je 0x437c6e
xor edx, edx
mov esi, dword [0x448e68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xba50defc
je 0x437c9a
inc edx
cmp ecx, edx
jne 0x437c60
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov edx, dword [esi + edx*8 + 4]
cmp edx, eax
je 0x437c6e
mov eax, esp
push 0
push dword [esp + 0x3c]
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push edx
push dword [0x448e6c]
call fcn.0043a3b0
add esp, 0x24
mov ecx, dword [esp]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x437c6e