Function at 0x4269d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x54
call fcn.0054e110
mov eax, dword [0x6d1554]
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 0x426ec8
cmp dword [0x6da7d4], 0
je 0x426ab3
mov eax, dword [0x6da73c]
test eax, eax
je 0x426a22
lea ecx, [esp + 0x2c]
push ecx
call eax
add esp, 4
jmp 0x426a49
mov eax, dword [0x6da750]
test eax, eax
je 0x426a2f
call eax
jmp 0x426a35
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 [0x6da734]
test edi, edi
je 0x426a6c
push 0xdf
push 0x67b4e9
push 0x13
push 5
call edi
mov edi, dword [0x6da734]
add esp, 0x10
mov eax, dword [0x6da958]
lea ecx, [esp + 0x2c]
cmp eax, dword [ecx]
jne 0x426a8a
mov eax, dword [0x6da95c]
cmp eax, dword [ecx + 4]
jne 0x426a8a
mov ebx, 1
jmp 0x426a8c
xor ebx, ebx
mov dword [esp + 0x10], ebx
test edi, edi
je 0x426aad
push 0xe1
push 0x67b4e9
push 0x13
push 6
call edi
mov edi, dword [0x6da734]
add esp, 0x10
test ebx, ebx
jne 0x426ade
jmp 0x426ac1
mov edi, dword [0x6da734]
mov dword [esp + 0x10], 0
test edi, edi
je 0x426ade
push 0xe6
push 0x67b4e9
push 0x12
push 9
call edi
mov edi, dword [0x6da734]
add esp, 0x10
mov eax, dword [0x6da7c4]
mov ebx, dword [0x6da7d0]
mov dword [esp + 0x40], eax
mov eax, dword [0x6da7c8]
mov dword [esp + 0x44], eax
mov eax, dword [0x6da960]
lea ecx, [esi + ebx]
mov dword [esp + 0x48], eax
mov eax, dword [0x6da964]
mov dword [esp + 0x4c], eax
mov eax, dword [0x6da968]
mov dword [esp + 0x50], eax
mov eax, dword [0x6da96c]
mov dword [esp + 0x54], eax
mov eax, dword [0x6da970]
mov dword [esp + 0x58], eax
mov dword [0x6da7d0], ecx
cmp ecx, 0x3ff
jb 0x426b60
mov eax, 0x401005
mov dword [0x6da7c0], 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 [0x6da7d0], ecx
jmp 0x426b76
mov eax, dword [0x6da7c0]
cmp eax, 0x3ff
jae 0x426b76
cmp ecx, eax
jbe 0x426b76
mov dword [0x6da7c0], 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 [0x6da7c8], eax
cmp dword [esp + 0x10], 0
jne 0x426bc5
test edi, edi
je 0x426bc5
push 0x106
push 0x67b4e9
push 0x12
push 0xa
call edi
mov edi, dword [0x6da734]
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 0x426d24
mov dword [esp + 0x3c], eax
mov esi, eax
cmp eax, 0x14
jle 0x426bfe
mov esi, 0x14
push 0
mov edx, 0x68e388
lea ecx, [esp + 0x18]
call fcn.00440700
add esp, 4
test eax, eax
je 0x426dce
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 0x426dce
lea edi, [ebx - 0x3ff]
add edi, esi
lea ecx, [ebx + 0x6da980]
test edi, edi
jle 0x426c68
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 0x426dce
push edi
push 0x6da980
jmp 0x426c6a
push esi
push ecx
lea eax, [esp + 0x1c]
push eax
call dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x426dce
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 0x426dce
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 0x426dce
push 0
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x18]
call fcn.00440910
add esp, 4
test eax, eax
je 0x426dce
inc dword [esp + 0x44]
add edi, esi
xor ecx, ecx
mov dword [esp + 0x34], edi
test esi, esi
jle 0x426cff
lea ecx, [ecx]
mov al, byte [esp + ecx + 0x48]
xor byte [ebx + 0x6da980], al
lea eax, [ebx + 1]
xor ebx, ebx
cmp eax, 0x3ff
setge bl
inc ecx
dec ebx
and ebx, eax
cmp ecx, esi
jl 0x426ce0
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 0x426bf2
mov edi, dword [0x6da734]
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x426d4d
test edi, edi
je 0x426d4d
push 0x13b
push 0x67b4e9
push 0x12
push 9
call edi
mov edi, dword [0x6da734]
add esp, 0x10
mov edx, dword [esp + 0x10]
xor ecx, ecx
nop
movzx eax, byte [esp + ecx + 0x48]
xor byte [ecx + 0x6da960], al
movzx eax, byte [esp + ecx + 0x49]
xor byte [ecx + 0x6da961], al
movzx eax, byte [esp + ecx + 0x4a]
xor byte [ecx + 0x6da962], al
movzx eax, byte [esp + ecx + 0x4b]
xor byte [ecx + 0x6da963], al
movzx eax, byte [esp + ecx + 0x4c]
xor byte [ecx + 0x6da964], al
add ecx, 5
cmp ecx, 0x14
jl 0x426d50
fld qword [0x693798]
fld qword [0x6da7b8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x426db1
fadd qword [ebp + 0x10]
fstp qword [0x6da7b8]
jmp 0x426db3
fstp st(0)
test edx, edx
jne 0x426dce
test edi, edi
je 0x426dce
push 0x148
push 0x67b4e9
push 0x12
push 0xa
call edi
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x426e4f
mov eax, dword [eax + 0x20]
test eax, eax
je 0x426df2
test byte [esp + 0x1c], 2
jne 0x426df2
lea ecx, [esp + 0x14]
push ecx
call eax
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x426e4f
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x426e4f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x426e4f
test byte [esp + 0x1c], 4
jne 0x426e4f
push ecx
push 0
push eax
mov eax, dword [fcn.005c88b0]
call eax
mov eax, dword [0x6da720]
add esp, 0xc
mov esi, dword [esp + 0x20]
test eax, eax
je 0x426e33
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x6d31e8]
mov eax, dword [0x6da720]
add esp, 4
test eax, eax
je 0x426e4f
push 1
push 0
call eax
add esp, 8
mov esi, dword [esp + 0x24]
test esi, esi
je 0x426ebb
mov eax, dword [esi]
test eax, eax
je 0x426e6a
mov eax, dword [eax + 0x10]
test eax, eax
je 0x426e6a
push esi
call eax
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x426e76
call fcn.0041c370
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x426e82
call fcn.0041c370
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x426e8e
call fcn.00410820
mov eax, dword [0x6da720]
test eax, eax
je 0x426e9f
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x6d31e8]
mov eax, dword [0x6da720]
add esp, 4
test eax, eax
je 0x426ebb
push 1
push 0
call eax
add esp, 8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x426ec8
call fcn.00410820
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054e0f3
mov esp, ebp
pop ebp
ret