Function at 0x684017d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x244
mov dword [esp + 0x6c], pe_nt_image_headers32
mov dword [esp + 8], eax
mov eax, 0xffffff8a
mov dword [esp + 4], edx
lea edx, [esp + 0x154]
mov dword [esp + 0xc], ecx
mov ecx, 0x42
mov ebx, ecx
lea edi, [ecx + ecx]
mov byte [edx + 6], al
add edx, 8
xor ebx, 0xffffffb7
mov byte [edx - 1], cl
mov byte [edx - 8], bl
mov ebx, eax
xor ebx, 0xffffffe1
mov byte [edx - 7], bl
mov ebx, eax
shr bl, 7
mov esi, ebx
or edi, esi
movzx esi, al
mov ebx, edi
lea edi, [esi + esi]
not ebx
mov byte [edx - 6], bl
mov ebx, ecx
shr bl, 7
or ebx, edi
not ebx
mov byte [edx - 5], bl
mov ebx, ecx
xor ebx, 0xffffffdb
mov byte [edx - 4], bl
mov ebx, eax
xor ebx, 0xffffffc0
mov byte [edx - 3], bl
test al, 1
je 0x6840185a
xor eax, 0x30
xor ecx, 0xffffffa8
movzx esi, al
shl esi, 7
mov ebx, ecx
shr cl, 1
shl ebx, 7
or ecx, esi
shr al, 1
lea esi, [esp + 0x244]
or eax, ebx
cmp edx, esi
jne 0x684017ff
mov ecx, dword [esp + 0xc]
xor eax, eax
mov edx, dword [ecx + eax]
mov dword [esp + eax + 0x4c], edx
add eax, 4
cmp eax, 0x10
jne 0x6840187b
lea ebx, [esp + 0x154]
lea esi, [esp + 0x1ac]
mov ecx, ebx
lea edx, [esp + 0x4c]
lea eax, [esp + 0x5c]
call fcn.68401ca0
lea eax, [esp + 0x64]
lea ecx, [ebx + 4]
lea edx, [esp + 0x54]
call fcn.68401e20
xor eax, eax
cmp ebx, esi
jne 0x68401c28
lea edi, [esp + 0x3c]
mov edx, dword [esp + eax + 0x5c]
mov dword [edi + eax], edx
add eax, 4
cmp eax, 0x10
jne 0x684018c5
mov esi, dword [esp + 0xc]
lea ebp, [esp + 0x1b4]
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov esi, 1
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
lea esi, [esi]
mov ecx, esi
lea eax, [esp + 0x6c]
lea ebx, [esi - 1]
shl ecx, 4
add ecx, eax
xor eax, eax
lea esi, [esi]
nop
movzx edx, byte [edi + eax]
xor dl, byte [ebp + eax]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0x10
jne 0x68401910
and ebx, 1
jne 0x68401c78
movzx edx, byte [esp + 0x3c]
movzx ebx, byte [esp + 0x3d]
xor eax, eax
movzx ecx, word [esp + 0x40]
shl edx, 7
shr bl, 1
mov al, dl
movzx edx, byte [esp + 0x3d]
shl ch, 7
or al, bl
movzx ebx, byte [esp + 0x3e]
shl cl, 7
shl edx, 7
shr bl, 1
or edx, ebx
movzx ebx, byte [esp + 0x3f]
mov ah, dl
movzx edx, byte [esp + 0x3e]
shr bl, 1
movzx eax, ax
shl edx, 7
or edx, ebx
movzx ebx, byte [esp + 0x40]
movzx edx, dl
shr bl, 1
shl edx, 0x10
mov byte [esp], bl
movzx ebx, byte [esp + 0x3f]
or eax, edx
shl ebx, 7
or bl, byte [esp]
shl ebx, 0x18
or eax, ebx
movzx ebx, byte [esp + 0x3c]
mov dword [esp + 0x5c], eax
movzx eax, word [esp + 0x41]
and ebx, 0xfffffffe
mov edx, eax
movzx eax, ah
shr dh, 1
shl eax, 7
shr dl, 1
or edx, ecx
mov word [esp + 0x60], dx
movzx edx, byte [esp + 0x43]
mov ecx, edx
shl edx, 7
shr cl, 1
or eax, ecx
movzx ecx, byte [esp + 0x4b]
mov byte [esp + 0x62], al
mov eax, ecx
and eax, 0x7f
or edx, eax
movzx eax, byte [esp + 0x44]
mov byte [esp + 0x63], dl
mov edx, eax
shr dl, 7
or edx, ebx
mov byte [esp + 0x64], dl
movzx edx, byte [esp + 0x45]
mov ebx, edx
shr bl, 7
add eax, eax
add edx, edx
shr cl, 7
or eax, ebx
mov byte [esp + 0x65], al
movzx eax, byte [esp + 0x46]
mov ebx, eax
add eax, eax
shr bl, 7
or edx, ebx
mov byte [esp + 0x66], dl
movzx edx, byte [esp + 0x47]
mov ebx, edx
add edx, edx
shr bl, 7
or eax, ebx
mov byte [esp + 0x67], al
movzx eax, byte [esp + 0x48]
mov ebx, eax
add eax, eax
shr bl, 7
or edx, ebx
mov byte [esp + 0x68], dl
movzx edx, byte [esp + 0x49]
mov ebx, edx
add edx, edx
shr bl, 7
or eax, ebx
mov byte [esp + 0x69], al
movzx eax, byte [esp + 0x4a]
mov ebx, eax
add eax, eax
shr bl, 7
or eax, ecx
or edx, ebx
mov byte [esp + 0x6a], dl
mov byte [esp + 0x6b], al
xor eax, eax
mov edx, dword [esp + eax + 0x5c]
mov dword [edi + eax], edx
add eax, 4
cmp eax, 0x10
jne 0x68401a64
add esi, 1
add ebp, 0x10
cmp esi, 0xa
jne 0x684018f8
mov esi, dword [esp + 0xc]
mov dword [esp + 0x70], 0x12
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov esi, dword [esp + 0x258]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov ebx, dword [esi + edx]
mov dword [esp + edx + 0x2c], ebx
add edx, 4
cmp edx, 0x10
jne 0x68401aab
mov edx, dword [esp + 4]
test edx, edx
je 0x68401c17
mov esi, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
add esi, 0xc
mov dword [esp], esi
lea esi, [esp + 0x7c]
lea esi, [esi]
mov eax, dword [esp]
xor edx, edx
lea ebp, [eax - 0xc]
lea esi, [esi]
nop
movzx eax, byte [ebp + edx]
mov byte [esp + edx + 0x1c], al
add edx, 1
cmp edx, 0x10
jne 0x68401af0
xor edx, edx
lea esi, [esi]
nop
movzx eax, byte [ebp + edx]
mov byte [edi + edx], al
add edx, 1
cmp edx, 0x10
jne 0x68401b08
mov eax, dword [esp + 0x10]
xor dword [esp + 0x40], eax
xor edx, edx
mov eax, dword [esp + 0xc]
xor dword [esp + 0x48], eax
mov eax, dword [edi + edx]
mov dword [esp + edx + 0x5c], eax
add edx, 4
cmp edx, 0x10
jne 0x68401b2a
lea ebx, [esp + 0x104]
mov ecx, ebx
lea edx, [esp + 0x5c]
lea eax, [esp + 0x154]
call fcn.68401ca0
lea ecx, [ebx + 4]
lea edx, [esp + 0x64]
lea eax, [esp + 0x15c]
call fcn.68401e20
cmp ebx, esi
jne 0x68401c50
xor edx, edx
mov eax, dword [esp + edx + 0x154]
mov dword [esp + edx + 0x4c], eax
add edx, 4
cmp edx, 0x10
jne 0x68401b6f
xor edx, edx
lea esi, [esi]
movzx eax, byte [esp + edx + 0x4c]
mov byte [ebp + edx], al
add edx, 1
cmp edx, 0x10
jne 0x68401b88
xor edx, edx
lea esi, [esi]
nop
movzx eax, byte [esp + edx + 0x74]
xor byte [ebp + edx + 4], al
add edx, 1
cmp edx, 4
jne 0x68401ba0
mov edx, 0xc
lea esi, [esi]
lea esi, [esi]
movzx eax, byte [esp + edx + 0x6c]
xor byte [ebp + edx], al
add edx, 1
cmp edx, 0x10
jne 0x68401bc0
lea edx, [esp + 0x2c]
lea esi, [esi]
add ebp, 1
add edx, 1
movzx eax, byte [edx - 1]
xor byte [ebp - 1], al
cmp edx, edi
jne 0x68401bd8
xor eax, eax
mov edx, dword [esp + eax + 0x1c]
mov dword [esp + eax + 0x2c], edx
add eax, 4
cmp eax, 0x10
jne 0x68401beb
mov ecx, dword [esp + 8]
add dword [esp], 0x10
mov eax, dword [esp]
sub eax, ecx
mov ecx, dword [esp + 4]
sub eax, 0xc
cmp eax, ecx
jb 0x68401ae0
add esp, 0x244
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + eax + 0x60]
mov dword [esp + eax + 0x4c], edx
add eax, 4
cmp eax, 0xc
jne 0x68401c28
mov eax, dword [esp + 0x5c]
add ebx, 8
mov dword [esp + 0x58], eax
jmp 0x68401898
mov eax, dword [esp + 0x160]
mov dword [esp + 0x5c], eax
xor eax, eax
mov edx, dword [esp + eax + 0x154]
mov dword [esp + eax + 0x60], edx
add eax, 4
cmp eax, 0xc
jne 0x68401c5d
sub ebx, 8
jmp 0x68401b40
mov ebx, dword [esp + 0xc]
xor eax, eax
mov edx, dword [ecx + eax]
xor edx, dword [ebx + eax]
mov dword [ecx + eax], edx
add eax, 4
cmp eax, 0x10
jne 0x68401c7e
jmp 0x6840192c