Function at 0x6361ca6d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
je 0x6361ca83
cmp dword [ebx + 0x38], edi
jne 0x6361ca8b
push 0xffffffffffffff9a
pop eax
jmp 0x6361ccd5
cmp dword [ebx + 0x9c], edi
je 0x6361ca9a
push ebx
call fcn.6361c80a
pop ecx
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov esi, ebx
call fcn.6361c42a
add esp, 0xc
test eax, eax
je 0x6361cabd
push 0xffffffffffffff99
pop eax
jmp 0x6361ccd4
push 0x90
call fcn.6361d0e6
mov esi, eax
cmp esi, edi
pop ecx
mov dword [ebp - 8], esi
je 0x6361cc75
push 0x4000
call fcn.6361d0e6
cmp eax, edi
pop ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x8c], ecx
jne 0x6361cb0a
push esi
call fcn.6361d0f8
pop ecx
jmp 0x6361cc75
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov dword [esi + 0x40], edi
je 0x6361cb19
mov ecx, dword [ebx + 0x54]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x6361cb4b
push 6
pop edx
mov dword [ecx], edx
mov eax, dword [ebx + 0x50]
and eax, edx
push 2
pop edx
sub eax, edx
je 0x6361cb45
sub eax, edx
je 0x6361cb41
sub eax, edx
jne 0x6361cb4b
mov dword [ecx], 1
jmp 0x6361cb4b
mov dword [ecx], edx
jmp 0x6361cb4b
mov dword [ecx], 9
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x84], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x80], eax
lea edi, [esi + 0x60]
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebp - 8]
xor esi, esi
mov dword [edi + 0x88], eax
mov dword [edi + 0x18], esi
cmp dword [ebx + 0x54], 8
jne 0x6361cbbe
cmp dword [ebp + 0x14], esi
jne 0x6361cbbe
push 0x38
push str.1.2.1
lea eax, [edi + 4]
push 0xfffffffffffffff1
push eax
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [eax], esi
mov dword [edi + 8], esi
call fcn.6362c9ae
add esp, 0x10
cmp eax, esi
jne 0x6361ccd4
mov dword [edi + 0x40], 1
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x98]
lea eax, [eax + ecx + 0x1e]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], esi
mov dword [ebx + 0x9c], edi
mov edi, dword [ebp + 0x18]
cmp edi, esi
je 0x6361ccd2
call fcn.6362c663
mov dword [ebx + 0xb0], eax
lea esi, [ebx + 0xa4]
mov dword [ebp - 0xc], eax
mov dword [esi], 0x12345678
mov dword [esi + 4], 0x23456789
mov dword [esi + 8], 0x34567890
mov al, byte [edi]
mov dword [ebp + 8], edi
jmp 0x6361cc36
mov edi, dword [ebp - 0xc]
movsx eax, al
push eax
mov ecx, esi
call fcn.6361bdc3
add esp, 4
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
jne 0x6361cc1d
mov eax, dword [ebx + 0x9c]
mov ecx, dword [eax + 0x88]
add ecx, dword [eax + 0x3c]
xor edi, edi
push edi
push edi
push ecx
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0x10]
add esp, 0x14
test eax, eax
jne 0x6361cc75
push 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 4]
add esp, 0x10
cmp eax, 0xc
jae 0x6361cc7c
push 0xffffffffffffff98
jmp 0x6361cab7
mov dword [ebp + 8], edi
mov eax, dword [ebx + 0xac]
mov edi, dword [ebp + 8]
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
lea edi, [ebp + edi - 0x18]
shr ecx, 8
xor byte [edi], cl
movsx eax, byte [edi]
mov edi, dword [ebx + 0xb0]
push eax
mov ecx, esi
call fcn.6361bdc3
add esp, 4
inc dword [ebp + 8]
cmp dword [ebp + 8], 0xc
jl 0x6361cc7f
mov eax, dword [ebx + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [ebx + 0xa0], 1
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret