Function at 0x4271c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x54
call fcn.0055d6e0
mov eax, dword [0x6f36d4]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
push edi
test esi, esi
je 0x4276b8
cmp dword [0x6fd434], 0
je 0x4272a3
mov eax, dword [0x6fd3a0]
test eax, eax
je 0x427212
lea ecx, [esp + 0x2c]
push ecx
call eax
add esp, 4
jmp 0x427239
mov eax, dword [0x6fd3b4]
test eax, eax
je 0x42721f
call eax
jmp 0x427225
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x30], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
mov edi, dword [0x6fd398]
test edi, edi
je 0x42725c
push 0xdf
push 0x69b439
push 0x13
push 5
call edi
mov edi, dword [0x6fd398]
add esp, 0x10
mov eax, dword [0x6fd5b8]
lea ecx, [esp + 0x2c]
cmp eax, dword [ecx]
jne 0x42727a
mov eax, dword [0x6fd5bc]
cmp eax, dword [ecx + 4]
jne 0x42727a
mov ebx, 1
jmp 0x42727c
xor ebx, ebx
mov dword [esp + 0x10], ebx
test edi, edi
je 0x42729d
push 0xe1
push 0x69b439
push 0x13
push 6
call edi
mov edi, dword [0x6fd398]
add esp, 0x10
test ebx, ebx
jne 0x4272ce
jmp 0x4272b1
mov edi, dword [0x6fd398]
mov dword [esp + 0x10], 0
test edi, edi
je 0x4272ce
push 0xe6
push 0x69b439
push 0x12
push 9
call edi
mov edi, dword [0x6fd398]
add esp, 0x10
mov eax, dword [0x6fd424]
mov ebx, dword [0x6fd430]
mov dword [esp + 0x40], eax
mov eax, dword [0x6fd428]
mov dword [esp + 0x44], eax
mov eax, dword [0x6fd5c0]
lea ecx, [esi + ebx]
mov dword [esp + 0x48], eax
mov eax, dword [0x6fd5c4]
mov dword [esp + 0x4c], eax
mov eax, dword [0x6fd5c8]
mov dword [esp + 0x50], eax
mov eax, dword [0x6fd5cc]
mov dword [esp + 0x54], eax
mov eax, dword [0x6fd5d0]
mov dword [esp + 0x58], eax
mov dword [0x6fd430], ecx
cmp ecx, 0x3ff
jb 0x427350
mov eax, 0x401005
mov dword [0x6fd420], 0x3ff
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3ff
sub ecx, eax
mov dword [0x6fd430], ecx
jmp 0x427366
mov eax, dword [0x6fd420]
cmp eax, 0x3ff
jae 0x427366
cmp ecx, eax
jbe 0x427366
mov dword [0x6fd420], ecx
mov ecx, dword [ebp + 0xc]
mov eax, 0x66666667
imul esi
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
lea eax, [esi + esi*4]
shl eax, 2
sub ecx, eax
xor eax, eax
test ecx, ecx
setg al
add eax, esi
add dword [0x6fd428], eax
cmp dword [esp + 0x10], 0
jne 0x4273b5
test edi, edi
je 0x4273b5
push 0x106
push 0x69b439
push 0x12
push 0xa
call edi
mov edi, dword [0x6fd398]
add esp, 0x10
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x427514
mov dword [esp + 0x3c], eax
mov esi, eax
cmp eax, 0x14
jle 0x4273ee
mov esi, 0x14
push 0
mov edx, 0x6ae2d8
lea ecx, [esp + 0x18]
call fcn.00440ee0
add esp, 4
test eax, eax
je 0x4275be
push 0x14
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4275be
lea edi, [ebx - 0x3ff]
add edi, esi
lea ecx, [ebx + 0x6fd5e0]
test edi, edi
jle 0x427458
mov eax, esi
sub eax, edi
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
call dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4275be
push edi
push 0x6fd5e0
jmp 0x42745a
push esi
push ecx
lea eax, [esp + 0x1c]
push eax
call dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4275be
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x14]
push esi
push edi
push eax
call dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4275be
push 8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4275be
push 0
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x18]
call fcn.004410f0
add esp, 4
test eax, eax
je 0x4275be
inc dword [esp + 0x44]
add edi, esi
xor ecx, ecx
mov dword [esp + 0x34], edi
test esi, esi
jle 0x4274ef
lea ecx, [ecx]
mov al, byte [esp + ecx + 0x48]
xor byte [ebx + 0x6fd5e0], al
lea eax, [ebx + 1]
xor ebx, ebx
cmp eax, 0x3ff
setge bl
inc ecx
dec ebx
and ebx, eax
cmp ecx, esi
jl 0x4274d0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add ecx, 0x14
sub eax, 0x14
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
cmp ecx, dword [ebp + 0xc]
jl 0x4273e2
mov edi, dword [0x6fd398]
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x42753d
test edi, edi
je 0x42753d
push 0x13b
push 0x69b439
push 0x12
push 9
call edi
mov edi, dword [0x6fd398]
add esp, 0x10
mov edx, dword [esp + 0x10]
xor ecx, ecx
nop
movzx eax, byte [esp + ecx + 0x48]
xor byte [ecx + 0x6fd5c0], al
movzx eax, byte [esp + ecx + 0x49]
xor byte [ecx + 0x6fd5c1], al
movzx eax, byte [esp + ecx + 0x4a]
xor byte [ecx + 0x6fd5c2], al
movzx eax, byte [esp + ecx + 0x4b]
xor byte [ecx + 0x6fd5c3], al
movzx eax, byte [esp + ecx + 0x4c]
xor byte [ecx + 0x6fd5c4], al
add ecx, 5
cmp ecx, 0x14
jl 0x427540
fld qword [0x6b36e8]
fld qword [0x6fd418]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4275a1
fadd qword [ebp + 0x10]
fstp qword [0x6fd418]
jmp 0x4275a3
fstp st(0)
test edx, edx
jne 0x4275be
test edi, edi
je 0x4275be
push 0x148
push 0x69b439
push 0x12
push 0xa
call edi
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42763f
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4275e2
test byte [esp + 0x1c], 2
jne 0x4275e2
lea ecx, [esp + 0x14]
push ecx
call eax
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42763f
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x42763f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42763f
test byte [esp + 0x1c], 4
jne 0x42763f
push ecx
push 0
push eax
mov eax, dword [fcn.005d9d70]
call eax
mov eax, dword [0x6fd384]
add esp, 0xc
mov esi, dword [esp + 0x20]
test eax, eax
je 0x427623
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x6f5478]
mov eax, dword [0x6fd384]
add esp, 4
test eax, eax
je 0x42763f
push 1
push 0
call eax
add esp, 8
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4276ab
mov eax, dword [esi]
test eax, eax
je 0x42765a
mov eax, dword [eax + 0x10]
test eax, eax
je 0x42765a
push esi
call eax
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x427666
call fcn.0041cb50
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x427672
call fcn.0041cb50
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42767e
call fcn.00410ff0
mov eax, dword [0x6fd384]
test eax, eax
je 0x42768f
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x6f5478]
mov eax, dword [0x6fd384]
add esp, 4
test eax, eax
je 0x4276ab
push 1
push 0
call eax
add esp, 8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4276b8
call fcn.00410ff0
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret