Function at 0x4374c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, dword [ebp + 0x1c]
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 0xc], ecx
je 0x4374eb
cmp eax, 2
je 0x43756a
jmp 0x437682
mov edi, ecx
push 0xbbf966b4
push dword [0x44a398]
call fcn.0043c760
add esp, 8
test eax, eax
je 0x43752e
mov ecx, dword [edi]
test ecx, ecx
je 0x43755e
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x43753a
cmp dword [esp + 0x10], 0
je 0x43753a
mov dword [edi + 4], 3
jmp 0x43755e
mov dword [edi + 4], 1
jmp 0x437682
lea eax, [esp + 0x50]
push eax
call fcn.0043cf20
add esp, 4
test al, al
je 0x43755e
mov eax, dword [esp + 0x50]
mov ecx, 2
cmp eax, 3
je 0x43755b
mov ecx, eax
mov dword [edi + 4], ecx
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x437682
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], 0xaa8fad8a
mov dword [esp + 0x14], 0x99bbab99
mov dword [esp + 0x18], 0xb2b2b789
mov dword [esp + 0x1c], 0x8e678985
mov dword [esp + 0x20], 0xb6b8ba85
mov byte [esp + 0x24], 0x2c
mov dword [esp + 0x25], 0
mov word [esp + 0x29], 0
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xa
xor cl, byte [esp + eax + 0x10]
add cl, 0xce
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x1b
jne 0x4375b0
lea ebx, [esp + 0x10]
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.0043b7c0
add esp, 8
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0x30
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x50]
push 6
push eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.0043b890
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [edi + 4], edx
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, dword [ebp + 0x14]
mov dword [edi], edx
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi], ecx
jmp 0x437770
mov dword [esp + 0x50], 0x73727194
mov byte [esp + 0x54], 0
lea eax, [esp + 0x50]
mov ecx, 0x6b
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [eax]
lea edx, [ecx - 0xdd00]
or edx, edi
and edi, ecx
not edx
or edx, edi
mov edi, edx
and edi, 0x19
mov esi, edx
and esi, 2
mov ebx, esi
xor ebx, 2
imul ebx, edi
or edi, 2
imul edi, esi
xor edx, 0x1b
add edx, ebx
add edx, edi
inc dl
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x66
jne 0x4376a0
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
mov dword [esp + 0x10], 0x20272625
mov byte [esp + 0x14], 0
xor eax, eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
and ecx, 2
mov edx, esi
xor edx, ecx
and ecx, esi
xor edx, 0x89
lea ecx, [edx + ecx*2]
xor cl, byte [esp + esi + 0x10]
add cl, 0x53
mov byte [esp + esi + 0x10], cl
inc esi
add eax, 2
cmp esi, 5
jne 0x437700
mov eax, dword [esp + 0x10]
mov ecx, dword [0x44a3a4]
test ecx, ecx
je 0x43774e
xor edx, edx
mov esi, dword [0x44a3a8]
nop
nop
cmp dword [esi + edx*8], 0xba50defc
je 0x43777a
inc edx
cmp ecx, edx
jne 0x437740
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 dword [esp + 0x4c], ebx
mov dword [esp + 0xc], edi
mov edx, dword [esi + edx*8 + 4]
cmp edx, eax
je 0x43774e
lea eax, [esp + 0x10]
push 0
push dword [esp + 0x50]
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x20]
push 0x18
push edx
push dword [0x44a3ac]
call fcn.00439600
add esp, 0x24
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x43774e