Function at 0x1000c0b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [edx + 0x90]
xor ebp, ebp
push edi
xor edi, edi
mov dword [esp + 0x1c], ecx
mov ebx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [edx + 0x194], 0x176f
mov dword [esp + 0x24], edi
cmp dword [esp + 0x30], edi
jle 0x1000c2e3
nop word [eax + eax]
mov eax, dword [esp + 0x40]
mov cl, byte [edi + eax]
mov eax, dword [edx + 0x18]
sub cl, byte [esp + 0x3c]
add eax, edi
xor cl, byte [esp + 0x38]
mov byte [eax + esi], cl
mov ecx, dword [esp + 0x34]
cmp ecx, 8
je 0x1000c29e
mov esi, dword [edx + 0x18]
mov al, 1
mov ebx, dword [esp + 0x18]
add esi, edi
shl al, cl
dec al
mov cl, byte [esi + ebx]
and cl, al
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x34]
mov ebx, ecx
mov dword [esp + 0x20], ebx
test ecx, ecx
je 0x1000c29a
nop
mov esi, dword [edx + 0x19c]
mov ecx, 0x190f
mov eax, dword [esi + 0x198]
add eax, 0x246
cmp eax, ecx
jb 0x1000c173
lea edi, [edx + 0xc8]
mov dword [edx + 0x2c], edi
inc ecx
mov eax, dword [esi + 0x198]
add eax, 0x246
cmp ecx, eax
jbe 0x1000c160
mov eax, dword [edx + 0x24]
mov edi, dword [esp + 0x2c]
cmp dword [eax + 0x64], 0x19af
jg 0x1000c189
mov dword [edx + 0x194], edi
mov al, byte [eax + 0x64]
lea ecx, [ebx - 1]
mov bl, byte [esp + 0x13]
xor al, 0xac
shr bl, cl
and bl, al
mov eax, ebp
inc ebp
test eax, eax
je 0x1000c1c5
mov ecx, dword [esp + 0x14]
add ecx, dword [edx + 0x18]
mov al, byte [ecx]
add al, al
or al, bl
mov byte [ecx], al
mov eax, dword [edx + 0x12c]
mov eax, dword [eax + 0x10c]
add eax, 0x16cb
or dword [edx + 0x50], eax
jmp 0x1000c1e3
mov ecx, dword [edx]
mov eax, dword [edx + 0xfc]
xor eax, 0x119a
imul eax, dword [ecx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [ecx + eax], bl
mov esi, dword [edx + 0x24]
mov eax, dword [esi + 0x1c]
sub eax, 0x11cf
cmp ebp, eax
jne 0x1000c256
mov eax, dword [edx]
mov ecx, dword [eax + 0x198]
imul eax, dword [eax + 0x1c], 0x3c7b8b30
xor ecx, 0x35b
cmp eax, ecx
jbe 0x1000c219
mov eax, dword [edx + 0x84]
add eax, 0x139b
mov dword [edx + 0x50], eax
mov ecx, dword [edx + 0x58]
imul eax, dword [ecx + 8], 0x883c7076
cmp eax, 0x139b
jb 0x1000c238
mov eax, dword [ecx + 0xfc]
sub eax, 0x13a4
mov dword [esi + 0x50], eax
mov eax, dword [edx + 0x24]
mov eax, dword [eax + 0x13c]
imul eax, edi
mov dword [edx + 0x2c], eax
mov eax, dword [edx]
mov ebp, dword [eax + 0x64]
xor ebp, 0x19ad
inc dword [esp + 0x14]
imul eax, dword [edx + 0x64], 0x9298e821
mov ebx, dword [esp + 0x20]
dec ebx
mov dword [esp + 0x20], ebx
cmp eax, 0x174f
jg 0x1000c282
mov ecx, 0x1750
lea esi, [edx + 0x6c]
sub ecx, eax
mov eax, dword [edx + 0x24]
xor dword [eax + 0x10], esi
sub ecx, 1
jne 0x1000c277
mov eax, dword [edx + 0x30]
imul eax, edi
or dword [edx + 0xfc], eax
test ebx, ebx
jne 0x1000c140
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
cmp dword [edx + 8], 0x19ad
jne 0x1000c2bd
mov eax, dword [edx]
mov ecx, dword [edx + 0x58]
mov eax, dword [eax + 0x12c]
imul eax, dword [esp + 0x1c]
add dword [ecx + 0xc8], eax
mov eax, dword [edx + 0xf8]
inc edi
mov dword [esp + 0x24], edi
mov eax, dword [eax + 0x19c]
sub eax, dword [esp + 0x1c]
xor dword [edx + 0x50], eax
cmp edi, dword [esp + 0x30]
jl 0x1000c0f0
mov ebx, dword [esp + 0x14]
mov edi, dword [edx + 0x38]
mov esi, 0x1112
mov eax, dword [edi + 0x64]
xor eax, 0x8bf
cmp eax, esi
jbe 0x1000c320
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x150]
or ebx, 0x139b
add ecx, ebx
inc esi
mov dword [edx + 0x150], ecx
mov eax, dword [edi + 0x64]
xor eax, 0x8bf
cmp esi, eax
jb 0x1000c307
mov ebx, dword [esp + 0x14]
mov ecx, dword [edx + 0x10c]
lea eax, [ecx - 0x132f]
or dword [edx + 0x60], eax
mov eax, dword [edx + 0x50]
or eax, dword [esp + 0x2c]
or dword [edx + 0x194], eax
cmp dword [esp + 0x34], 8
jne 0x1000c379
mov eax, dword [edx + 0x58]
mov eax, dword [eax + 0x14]
sub eax, 0x876
cmp eax, 0x174d
jb 0x1000c365
mov eax, dword [edx + 0x19c]
imul eax, dword [eax + 0x50], 0x1292
mov dword [edx + 0x70], eax
mov ebx, dword [esp + 0x18]
or ecx, 0x1648
add ebx, dword [esp + 0x30]
mov dword [edx + 0x10c], ecx
imul ecx, dword [edx + 0x64], 0x9ef18cf4
mov eax, ebx
cmp ecx, 0x190f
jb 0x1000c391
add dword [edx + 0x68], 0xe42
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret