Function at 0x10005dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x178
lea ecx, [esp + 0x4c]
call fcn.10006460
mov ebx, dword [esp + 0x54]
test ebx, ebx
js 0x10006216
mov esi, dword [esp + 0x4c]
je 0x10005e28
call sub.KERNEL32.dll_GetProcessHeap
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10006236
lea ecx, [esp + 0xc]
mov edx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
jmp 0x10005e46
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xc]
xor edx, edx
call fcn.10116c80
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp + 4], eax
add eax, edi
push ebx
mov dword [esp + 0x34], esi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], edi
je 0x10005ea6
mov esi, dword [0x104d41f8]
test esi, esi
je 0x1000621d
mov ebx, dword [0x104d41f0]
xor ecx, ecx
nop
mov eax, ecx
xor edx, edx
div esi
movzx eax, byte [ebx + edx]
mov edx, dword [esp + 4]
xor byte [edx + ecx], al
inc ecx
cmp edi, ecx
jne 0x10005e90
lea ecx, [esp + 0xc]
call fcn.10006300
mov esi, edi
add esi, edi
js 0x10006216
mov ebx, dword [esp + 0x10]
test esi, esi
mov dword [esp + 8], ebx
je 0x10005ede
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x10005ee5
mov ecx, esi
jmp 0x100062ed
xor esi, esi
mov eax, 1
test edi, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
je 0x10005f2f
mov ebx, dword [esp + 4]
nop dword [eax]
movzx esi, byte [ebx]
lea ecx, [esp + 0x34]
inc ebx
mov eax, esi
shr eax, 4
movzx edx, byte [eax + str.0123456789abcdef]
call fcn.10001430
and esi, 0xf
lea ecx, [esp + 0x34]
movzx edx, byte [esi + str.0123456789abcdef]
call fcn.10001430
dec edi
jne 0x10005f00
mov edi, dword [ebp + 8]
cmp dword [esp + 8], 0
je 0x10005f4a
call sub.KERNEL32.dll_GetProcessHeap
push dword [esp + 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xffffffff
je 0x1000623d
lea ecx, [esp + 0x58]
mov edx, edi
push eax
call fcn.1000b810
add esp, 4
cmp dword [esp + 0x58], 1
je 0x10006253
mov edi, dword [esp + 0x60]
test edi, edi
js 0x10006216
mov esi, dword [esp + 0x5c]
je 0x10005fb6
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x100062eb
lea ecx, [esp + 0x58]
mov edx, edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 0
jmp 0x10005fd4
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x58]
xor edx, edx
call fcn.10116c80
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
add eax, ebx
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebx, edi
mov edi, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0x58]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xe8]
mov dword [esp + 0xf0], ebx
mov edx, edi
movsd qword [esp + 0xe8], xmm0
mov dword [esp + 8], eax
call fcn.10116c80
mov ebx, dword [esp + 0xe8]
mov esi, dword [esp + 0xf0]
lea eax, [ebx + esi]
push edi
push dword [esp + 0xc]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0xec]
add esi, edi
lea edi, [esp + 0x58]
mov dword [esp + 0x40], ebx
mov edx, ebx
mov ecx, edi
mov dword [esp + 0x48], eax
push esi
call fcn.10001c90
add esp, 4
cmp dword [esp + 0x58], 1
je 0x1000627f
lea eax, [esp + 0x60]
push 0x88
push eax
lea esi, [esp + 0xf0]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x88
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x18]
mov edx, edi
call fcn.100eb0d0
cmp dword [esp + 0x18], 1
je 0x100062a8
movsd xmm0, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x24]
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
mov ebx, dword [esp + 0x5c]
test ebx, ebx
js 0x10006216
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
je 0x10006107
call sub.KERNEL32.dll_GetProcessHeap
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10006236
lea ecx, [esp + 0x18]
mov edx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
jmp 0x10006125
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x18]
xor edx, edx
call fcn.10116c80
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov dword [esp + 4], eax
add eax, esi
push ebx
mov edi, dword [esp + 0x48]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + ebx]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
push ebx
push edi
lea ecx, [esp + 0x68]
push ecx
call dword [eax + 4]
add esp, 0xc
add esi, ebx
je 0x100062cf
cmp dword [esp + 0x2c], 0
je 0x1000621d
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
xor ecx, ecx
nop dword [eax]
mov eax, ecx
xor edx, edx
div edi
movzx eax, byte [ebx + edx]
mov edx, dword [esp + 4]
xor byte [edx + ecx], al
inc ecx
cmp esi, ecx
jne 0x10006180
lea ecx, [esp + 0x18]
call fcn.100063b0
push esi
mov esi, dword [esp + 8]
push esi
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x100061c5
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x48], 0
mov esi, dword [esp + 0x30]
je 0x100061e1
call sub.KERNEL32.dll_GetProcessHeap
push dword [esp + 0x40]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x38], 0
je 0x100061f9
call sub.KERNEL32.dll_GetProcessHeap
push dword [esp + 8]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x50], 0
je 0x1000620e
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10006550
ud2
mov ecx, 0x103e6710
mov edx, 0x39
push 0x103e683c
call fcn.100082b0
add esp, 4
ud2
mov ecx, ebx
jmp 0x100062ed
mov ecx, 0xffffffff
xor edx, edx
push 0x10421784
call fcn.100088f0
add esp, 4
ud2
movsd xmm0, qword [esp + 0x5c]
lea eax, [esp + 0xe8]
mov ecx, 0x1044a65b
mov edx, 0x2b
movsd qword [esp + 0xe8], xmm0
push 0x103e6778
push 0x103e674c
jmp 0x100062a5
mov eax, dword [esp + 0x5c]
mov ecx, 0x1044a65b
mov edx, 0x2b
mov dword [esp + 0xe8], eax
push 0x103e6788
push 0x103e675c
lea eax, [esp + 0xf0]
push eax
jmp 0x100062c5
mov eax, dword [esp + 0x1c]
mov ecx, 0x1044a65b
mov edx, 0x2b
mov dword [esp + 0x58], eax
push 0x103e6798
push 0x103e675c
push edi
call fcn.1000a790
add esp, 0xc
ud2
lea ecx, [esp + 0x18]
call fcn.100063b0
xor ecx, ecx
xor edx, edx
push 0x103e67a8
call fcn.10008300
add esp, 4
ud2
mov ecx, edi
mov edx, 1
call fcn.10006540
ud2