Function at 0x174d860
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
mov eax, edx
sub eax, 0x80
je 0x174d89f
sub eax, 0x40
je 0x174d88f
sub eax, 0x40
je 0x174d87f
mov eax, 1
ret 0xc
mov eax, dword [esp + 4]
mov dword [eax + 0x200], 0xe
jmp 0x174d8ad
mov eax, dword [esp + 4]
mov dword [eax + 0x200], 0xc
jmp 0x174d8ad
mov eax, dword [esp + 4]
mov dword [eax + 0x200], 0xa
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov ebp, edx
push edi
sar ebp, 5
xor edi, edi
test ebp, ebp
jle 0x174d8f4
mov esi, dword [esp + 0x18]
add esi, 2
movzx ebx, byte [esi]
xor edx, edx
mov dh, byte [esi - 2]
add edi, 1
add esi, 4
mov dl, byte [esi - 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [esi - 3]
shl edx, 8
or edx, ebx
cmp edi, ebp
mov ebx, eax
mov dword [ebx + edi*4 - 4], edx
jl 0x174d8c7
mov edx, dword [esp + 0x1c]
sub edx, 0x80
je 0x174dbc8
sub edx, 0x40
je 0x174d9ef
sub edx, 0x40
jne 0x174ddb3
lea ebx, [ecx + 0x2a04]
mov dword [esp + 0x1c], 7
mov ebp, dword [eax + 0x1c]
mov edx, ebp
shr edx, 0x10
movzx edx, dl
mov esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
mov edi, dword [eax + 0xc]
mov edx, ebp
shr edx, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0x1c]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, ebp
shr edx, 0x18
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax + 4]
xor esi, dword [eax]
add ebx, 4
xor esi, dword [ebx - 4]
add eax, 0x20
xor edx, esi
mov dword [eax], esi
mov esi, dword [eax - 0x18]
xor esi, edx
mov dword [eax + 4], edx
xor edi, esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov edx, edi
shr edx, 0x18
mov esi, dword [ecx + edx*4 + 0x204]
mov edx, edi
shr edx, 0x10
movzx edx, dl
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, edi
mov edi, dword [eax - 0xc]
shr edx, 8
movzx edx, dl
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0xc]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax - 8]
xor esi, dword [eax - 0x10]
xor edi, esi
xor edx, edi
mov dword [eax + 0x18], edx
xor edx, ebp
sub dword [esp + 0x1c], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], edx
jne 0x174d920
jmp 0x174ddb3
lea ebp, [ecx + 0x2a08]
mov ebx, 2
lea ebx, [ebx]
mov edi, dword [eax + 0x14]
mov edx, edi
shr edx, 0x10
movzx edx, dl
mov esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
mov edx, edi
shr edx, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0x14]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, edi
shl esi, 8
shr edx, 0x18
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax + 4]
xor esi, dword [ebp - 4]
xor esi, dword [eax]
xor edx, esi
mov dword [eax + 0x1c], edx
mov dword [eax + 0x18], esi
mov esi, dword [eax + 8]
xor esi, edx
mov edx, dword [eax + 0xc]
xor edx, esi
mov dword [eax + 0x20], esi
mov esi, dword [eax + 0x10]
xor esi, edx
xor edi, esi
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], edi
mov edx, edi
shr edx, 0x10
movzx edx, dl
mov esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
mov edx, edi
shr edx, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0x2c]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax + 0x1c]
shl esi, 8
shr edi, 0x18
xor esi, dword [ecx + edi*4 + 0x204]
mov edi, dword [eax + 0x2c]
xor esi, dword [ebp]
xor esi, dword [eax + 0x18]
xor edx, esi
mov dword [eax + 0x30], esi
mov esi, dword [eax + 0x20]
xor esi, edx
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x24]
xor edx, esi
mov dword [eax + 0x38], esi
mov esi, dword [eax + 0x28]
xor esi, edx
xor edi, esi
mov dword [eax + 0x3c], edx
mov edx, edi
shr edx, 0x10
movzx edx, dl
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], edi
mov esi, dword [ecx + edx*4 + 0x204]
mov edx, edi
shr edx, 8
shl esi, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0x44]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
shr edi, 0x18
xor esi, dword [ecx + edi*4 + 0x204]
mov edx, dword [eax + 0x34]
xor esi, dword [ebp + 4]
mov edi, dword [eax + 0x44]
xor esi, dword [eax + 0x30]
add ebp, 0x10
xor edx, esi
mov dword [eax + 0x48], esi
mov esi, dword [eax + 0x38]
xor esi, edx
mov dword [eax + 0x4c], edx
mov edx, dword [eax + 0x3c]
xor edx, esi
mov dword [eax + 0x50], esi
mov esi, dword [eax + 0x40]
xor esi, edx
mov dword [eax + 0x54], edx
xor edi, esi
mov dword [eax + 0x58], esi
mov dword [eax + 0x5c], edi
mov edx, edi
shr edx, 0x10
movzx edx, dl
mov esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
mov edx, edi
shr edx, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0x5c]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax + 0x4c]
shl esi, 8
shr edi, 0x18
xor esi, dword [ecx + edi*4 + 0x204]
add eax, 0x60
xor esi, dword [ebp - 8]
xor esi, dword [eax - 0x18]
xor edx, esi
mov dword [eax], esi
mov esi, dword [eax - 0x10]
xor esi, edx
mov dword [eax + 4], edx
mov edx, dword [eax - 0xc]
xor edx, esi
mov dword [eax + 8], esi
mov esi, dword [eax - 8]
xor esi, edx
mov dword [eax + 0xc], edx
mov edx, dword [eax - 4]
xor edx, esi
sub ebx, 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edx
jne 0x174da00
jmp 0x174ddb3
lea ebp, [ecx + 0x2a08]
mov ebx, 2
mov edi, dword [eax + 0xc]
mov edx, edi
shr edx, 0x10
movzx edx, dl
mov esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
mov edx, edi
shr edx, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0xc]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, edi
shl esi, 8
shr edx, 0x18
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax + 4]
xor esi, dword [ebp - 4]
xor esi, dword [eax]
xor edx, esi
mov dword [eax + 0x10], esi
mov esi, dword [eax + 8]
xor esi, edx
xor edi, esi
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], edi
mov edx, edi
shr edx, 0x10
movzx edx, dl
mov esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
mov edx, edi
shr edx, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0x1c]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax + 0x14]
shl esi, 8
shr edi, 0x18
xor esi, dword [ecx + edi*4 + 0x204]
mov edi, dword [eax + 0x1c]
xor esi, dword [ebp]
xor esi, dword [eax + 0x10]
xor edx, esi
mov dword [eax + 0x20], esi
mov esi, dword [eax + 0x18]
xor esi, edx
xor edi, esi
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], esi
mov edx, edi
shr edx, 0x10
movzx edx, dl
mov dword [eax + 0x2c], edi
mov esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
mov edx, edi
shr edx, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0x2c]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax + 0x24]
shl esi, 8
shr edi, 0x18
xor esi, dword [ecx + edi*4 + 0x204]
mov edi, dword [eax + 0x2c]
xor esi, dword [ebp + 4]
xor esi, dword [eax + 0x20]
xor edx, esi
mov dword [eax + 0x30], esi
mov esi, dword [eax + 0x28]
xor esi, edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], esi
xor edi, esi
mov dword [eax + 0x3c], edi
mov edx, edi
shr edx, 0x10
movzx edx, dl
mov esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
mov edx, edi
shr edx, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax + 0x3c]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax + 0x34]
shl esi, 8
shr edi, 0x18
xor esi, dword [ecx + edi*4 + 0x204]
mov edi, dword [eax + 0x3c]
xor esi, dword [ebp + 8]
add ebp, 0x14
xor esi, dword [eax + 0x30]
add eax, 0x50
xor edx, esi
mov dword [eax - 0x10], esi
mov esi, dword [eax - 0x18]
xor esi, edx
mov dword [eax - 0xc], edx
xor edi, esi
mov dword [eax - 8], esi
mov dword [eax - 4], edi
mov edx, edi
shr edx, 0x10
movzx edx, dl
mov esi, dword [ecx + edx*4 + 0x204]
shl esi, 8
mov edx, edi
shr edx, 8
movzx edx, dl
xor esi, dword [ecx + edx*4 + 0x204]
movzx edx, byte [eax - 4]
shl esi, 8
xor esi, dword [ecx + edx*4 + 0x204]
mov edx, dword [eax - 0xc]
shl esi, 8
shr edi, 0x18
xor esi, dword [ecx + edi*4 + 0x204]
xor esi, dword [ebp - 8]
xor esi, dword [eax - 0x10]
xor edx, esi
mov dword [eax], esi
mov esi, dword [eax - 8]
xor esi, edx
mov dword [eax + 4], edx
mov edx, dword [eax - 4]
xor edx, esi
sub ebx, 1
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
jne 0x174dbd3
lea edx, [ecx + 0x204]
mov edi, 0x40
mov edi, edi
mov esi, dword [edx]
mov ebx, dword [ecx + esi*4 + 0x1a04]
mov dword [edx + 0x2828], ebx
mov ebx, dword [ecx + esi*4 + 0x1e04]
mov dword [edx + 0x2c28], ebx
mov ebx, dword [ecx + esi*4 + 0x2204]
mov dword [edx + 0x3028], ebx
mov esi, dword [ecx + esi*4 + 0x2604]
mov dword [edx + 0x3428], esi
mov esi, dword [edx + 4]
mov ebx, dword [ecx + esi*4 + 0x1a04]
mov dword [edx + 0x282c], ebx
mov ebx, dword [ecx + esi*4 + 0x1e04]
mov dword [edx + 0x2c2c], ebx
mov ebx, dword [ecx + esi*4 + 0x2204]
mov dword [edx + 0x302c], ebx
mov esi, dword [ecx + esi*4 + 0x2604]
mov dword [edx + 0x342c], esi
mov esi, dword [edx + 8]
mov ebx, dword [ecx + esi*4 + 0x1a04]
mov dword [edx + 0x2830], ebx
mov ebx, dword [ecx + esi*4 + 0x1e04]
mov dword [edx + 0x2c30], ebx
mov ebx, dword [ecx + esi*4 + 0x2204]
mov dword [edx + 0x3030], ebx
mov esi, dword [ecx + esi*4 + 0x2604]
mov dword [edx + 0x3430], esi
mov esi, dword [edx + 0xc]
mov ebx, dword [ecx + esi*4 + 0x1a04]
mov dword [edx + 0x2834], ebx
mov ebx, dword [ecx + esi*4 + 0x1e04]
mov dword [edx + 0x2c34], ebx
mov ebx, dword [ecx + esi*4 + 0x2204]
mov dword [edx + 0x3034], ebx
mov esi, dword [ecx + esi*4 + 0x2604]
mov dword [edx + 0x3434], esi
add edx, 0x10
sub edi, 1
jne 0x174ddc0
mov edi, dword [eax]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x100], edi
mov edi, dword [eax + 4]
add eax, 4
lea esi, [edx + 0x100]
mov dword [esi + 4], edi
mov edi, dword [eax + 4]
add esi, 4
add eax, 4
add esi, 4
mov dword [esi], edi
mov edi, dword [eax + 4]
add eax, 4
add esi, 4
mov dword [esi], edi
mov ebp, 1
add esi, 4
add eax, 4
cmp dword [edx + 0x200], ebp
jle 0x174dffb
mov edi, dword [eax - 0x20]
mov edx, edi
shr edx, 8
movzx edx, dl
mov edx, dword [ecx + edx*4 + 0x322c]
sub eax, 0x20
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [ecx + ebx*4 + 0x2e2c]
shr edi, 0x18
xor edx, dword [ecx + edi*4 + 0x2a2c]
movzx edi, byte [eax]
xor edx, dword [ecx + edi*4 + 0x362c]
add eax, 4
mov dword [esi], edx
mov edi, dword [eax]
mov edx, edi
shr edx, 8
movzx edx, dl
mov edx, dword [ecx + edx*4 + 0x322c]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [ecx + ebx*4 + 0x2e2c]
shr edi, 0x18
xor edx, dword [ecx + edi*4 + 0x2a2c]
movzx edi, byte [eax]
xor edx, dword [ecx + edi*4 + 0x362c]
add esi, 4
mov dword [esi], edx
mov edi, dword [eax + 4]
add eax, 4
mov edx, edi
shr edx, 8
movzx edx, dl
mov edx, dword [ecx + edx*4 + 0x322c]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [ecx + ebx*4 + 0x2e2c]
shr edi, 0x18
xor edx, dword [ecx + edi*4 + 0x2a2c]
movzx edi, byte [eax]
xor edx, dword [ecx + edi*4 + 0x362c]
add esi, 4
mov dword [esi], edx
mov edi, dword [eax + 4]
add eax, 4
mov edx, edi
shr edx, 8
movzx edx, dl
mov edx, dword [ecx + edx*4 + 0x322c]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [ecx + ebx*4 + 0x2e2c]
shr edi, 0x18
xor edx, dword [ecx + edi*4 + 0x2a2c]
movzx edi, byte [eax]
xor edx, dword [ecx + edi*4 + 0x362c]
add esi, 4
mov dword [esi], edx
mov edx, dword [esp + 0x14]
add ebp, 1
add esi, 4
add eax, 4
cmp ebp, dword [edx + 0x200]
jl 0x174def2
mov ecx, dword [eax - 0x20]
mov dword [esi], ecx
sub eax, 0x20
mov edx, dword [eax + 4]
add eax, 4
mov dword [esi + 4], edx
mov ecx, dword [eax + 4]
add esi, 4
add eax, 4
add esi, 4
mov dword [esi], ecx
mov edx, dword [eax + 4]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc