Function at 0x41f6e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x170
mov esi, esp
mov dword [esi + 0x10], 0xb34bb56d
mov dword [esi + 0x14], 0xaf20b122
mov dword [esi + 0x18], 0xab33ad52
mov dword [esi + 0x1c], 0xa737a926
mov dword [esi + 0x20], 0xa3a4a57d
lea eax, [esi + 0x24]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov word [esi + 0x34], 0
mov dword [esi + 0x68], 0
mov ecx, dword [esi + 0x68]
cmp ecx, 0x25
ja 0x41f77b
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x68]
movzx edx, byte [esi + edx + 0x10]
lea edi, [ecx + 0x69]
and edi, edx
add ecx, edx
add edi, edi
sub ecx, edi
add cl, 0x8a
mov edx, dword [esi + 0x68]
mov byte [esi + edx + 0x10], cl
inc dword [esi + 0x68]
mov ecx, dword [esi + 0x68]
cmp ecx, 0x26
jb 0x41f750
lea ebx, [esi + 0x136]
lea edx, [esi + 0x10]
mov ecx, 5
mov edi, ebx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esi + 0x14a]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea eax, [esi + 0x9c]
push eax
push 0
push 0
push 9
push ebx
push 0
call dword [0x444220]
mov edi, dword [esi + 0x9c]
test edi, edi
jns 0x41f7c5
mov eax, 0xffffffff
jmp 0x41f7c8
lea eax, [edi + edi]
push eax
call fcn.00431ad0
add esp, 4
lea ecx, [esi + 0x9c]
push ecx
push edi
mov dword [esi + 0x98], eax
push eax
push 9
push ebx
push 0
call dword [0x444220]
mov dword [esi + 0x10], 0xb323b50a
mov dword [esi + 0x14], 0xaf2db13f
mov dword [esi + 0x18], 0xab22ad3f
mov dword [esi + 0x1c], 0xa7a8a936
mov dword [esi + 0x20], 0
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0x68]
cmp eax, 0x13
ja 0x41f84e
nop
nop
nop
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x68]
movzx edx, byte [esi + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0x49
add ecx, 0x49
and ecx, edx
add ecx, ecx
sub eax, ecx
inc al
mov ecx, dword [esi + 0x68]
mov byte [esi + ecx + 0x10], al
inc dword [esi + 0x68]
mov eax, dword [esi + 0x68]
cmp eax, 0x14
jb 0x41f820
lea edi, [esi + 0xf0]
lea ebx, [esi + 0x10]
mov eax, ebx
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esi + 0x100]
lea eax, [esi + 0x20]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esi + 0x10], 0xdb33d914
mov dword [esi + 0x14], 0xe705e517
mov dword [esi + 0x18], 0xe310e117
mov dword [esi + 0x1c], 0xef2ded00
mov dword [esi + 0x20], 0xeb1ce909
mov dword [esi + 0x24], 0xf704f515
mov dword [esi + 0x28], 0xf3f2f109
lea eax, [esi + 0x2c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x2f], 0
mov dword [esi + 0x68], 0
mov ecx, dword [esi + 0x68]
cmp ecx, 0x22
ja 0x41f8f2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x68]
add cl, 0x9c
xor cl, byte [esi + edx + 0x10]
add cl, 0xbc
mov edx, dword [esi + 0x68]
mov byte [esi + edx + 0x10], cl
inc dword [esi + 0x68]
mov ecx, dword [esi + 0x68]
cmp ecx, 0x23
jb 0x41f8d0
lea edi, [esi + 0x11a]
mov ecx, 7
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esi + 0x136]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esi + 0x10], 0x7b037922
mov dword [esi + 0x14], 0x7f197d0f
mov dword [esi + 0x18], 0x7302710f
mov dword [esi + 0x1c], 0x77247516
mov dword [esi + 0x20], 0x8bca8922
lea eax, [esi + 0x24]
mov word [esi + 0x24], 0x8d8a
mov dword [esi + 0x26], 0
mov dword [esi + 0x2a], 0
mov dword [esi + 0x2e], 0
mov dword [esi + 0x32], 0
mov dword [esi + 0x36], 0
mov word [esi + 0x3a], 0
mov dword [esi + 0x68], 0
mov ecx, dword [esi + 0x68]
cmp ecx, 0x2b
ja 0x41f9bd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 0x68]
mov edi, dword [esi + 0x68]
movzx edx, byte [esi + edi + 0x10]
lea ebx, [ecx + 0x6f]
mov edi, edx
not edi
or edi, ebx
and ebx, edx
add ebx, edi
sub ecx, ebx
add cl, 0x65
mov edx, dword [esi + 0x68]
mov byte [esi + edx + 0x10], cl
mov ecx, dword [esi + 0x68]
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov dword [esi + 0x68], ecx
mov ecx, dword [esi + 0x68]
cmp ecx, 0x2c
jb 0x41f980
lea ebx, [esi + 0x14a]
lea edx, [esi + 0x10]
mov ecx, 5
mov edi, ebx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esi + 0x15e]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea eax, [esi + 0xf0]
mov dword [esi + 0xe4], eax
lea eax, [esi + 0x11a]
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], ebx
lea ebx, [esi + 0x10]
mov eax, dword [esi + 0x98]
add eax, 2
mov dword [esi + 0xc8], eax
xor ecx, ecx
xor eax, eax
mov dword [esi + 0xa0], 0
cmp ecx, 3
setne al
mov ecx, 0x7dda3a52
xor ecx, dword [0x43fb8c]
mov eax, dword [eax*4 + 0x43fb84]
add eax, ecx
inc eax
xor edx, edx
jmp eax
or bh, al
push es
add byte [eax], al
add byte [eax], al
call fcn.00435d60
cmp al, 0x1b
je 0x435d99
movzx eax, al
cmp eax, 0x23
je 0x435da1
cmp eax, 0x33
jne 0x435dab
mov dword [esi], 2
jmp 0x435da7
mov dword [esi], 1
jmp 0x435da7
mov dword [esi], 3
mov al, 1
pop esi
ret
cmp dword [esi], 0
setne al
pop esi
ret
and al, 8
mov dword [esp + 0x2c], edx
mov edi, eax
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x10
mov dword [esp + 0x1c], esi
mov edx, esi
mov edi, eax
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 2
push dword [esp + 0x54]
call dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push 0x8000
push eax
push ebx
push 0xffffffffffffffff
call dword [0x444444]
cmp esi, 0xc0000023
jne 0x436de2
push dword [esp + 0x20]
call fcn.00431ad0
add esp, 4
mov edi, eax
mov ecx, dword [0x444434]
mov esi, 0xffffffff
test ecx, ecx
je 0x436dd9
mov edx, dword [esp + 0x20]
mov eax, dword [0x444438]
add eax, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax - 8], 0xdfe873fb
je 0x436bc4
add eax, 0xc
dec ecx
jne 0x436bb0
jmp 0x436dd9
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0x900000c2
mov dword [esp + 0x10], 0xd2ff0000
mov dword [esp + 0xc], 0xba00
mov dword [esp + 8], 0xb8
mov eax, dword [eax]
mov dword [esp + 9], eax
mov eax, dword [0x44443c]
mov dword [esp + 0xe], eax
mov word [esp + 0x15], 0x14
mov dword [esp + 4], 0
mov dword [esp + 0x28], 0x10
push 0x40
push 0x3000
lea eax, [esp + 0x30]
push eax
push 0
lea ebx, [esp + 0x14]
push ebx
push 0xffffffffffffffff
mov esi, edx
call dword [0x444440]
mov eax, dword [esp + 4]
mov dword [esp], edi
mov edi, eax
mov ecx, 4
mov edx, dword [esp + 0x2c]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x10
mov edi, eax
xor ecx, ecx
mov eax, dword [esp + 0x1c]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov edi, dword [esp]
lea eax, [esp + 0x20]
push eax
push esi
push edi
push 2
push dword [esp + 0x54]
call dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x24], 0
push 0x8000
lea eax, [esp + 0x28]
push eax
push ebx
push 0xffffffffffffffff
call dword [0x444444]
test esi, esi
js 0x436dd9
cmp dword [esp + 0x4c], 0
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
je 0x436d7a
test ebp, ebp
je 0x436d6c
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
cmp ecx, eax
jb 0x436cc0
mov ecx, eax
test ecx, ecx
je 0x436d66
mov eax, ecx
mov ecx, dword [esp]
add ecx, 0x2c
mov edi, eax
and edi, 3
mov dword [esp + 0x1c], eax
je 0x436cf4
dec eax
movzx ebx, word [ecx]
xor edx, edx
test bx, bx
setne dl
lea ecx, [ecx + edx*2]
mov word [ebp], bx
add ebp, 2
dec edi
jne 0x436cdb
cmp dword [esp + 0x1c], 4
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
jb 0x436d66
movzx edx, word [ecx]
xor ebx, ebx
test dx, dx
setne bl
lea edi, [ecx + ebx*2]
mov word [ebp], dx
movzx ecx, word [ecx + ebx*2]
xor edx, edx
test cx, cx
setne dl
lea ebx, [edi + edx*2]
mov word [ebp + 2], cx
movzx ecx, word [edi + edx*2]
xor edx, edx
test cx, cx
setne dl
lea edi, [ebx + edx*2]
mov word [ebp + 4], cx
movzx edx, word [ebx + edx*2]
xor ecx, ecx
test dx, dx
setne cl
mov word [ebp + 6], dx
add ebp, 8
lea ecx, [edi + ecx*2]
add eax, 0xfffffffc
jne 0x436d07
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov word [ebp], 0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x436d8a
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [ecx], eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x436d9c
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x436dae
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [ecx], eax
test ebx, ebx
je 0x436dba
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov dword [ebx], eax
test edi, edi
je 0x436dc8
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [edi], eax
test edx, edx
je 0x436dd6
mov edi, dword [esp]
mov eax, dword [edi + 0x28]
mov dword [edx], eax
jmp 0x436dd9
mov edi, dword [esp]
push edi
call fcn.00431b80
add esp, 4
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret