Function at 0x5df7b7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffda0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
mov ebx, eax
je 0x5dfbb5
mov eax, 0xdf6
call fcn.005e4f8b
push eax
call fcn.006013ab
pop ecx
push 0x443291
call fcn.006013ab
pop ecx
xor edx, edx
or word [ebx + 0x3ee4], 0x40
mov eax, dword [ebx + reloc.MSVCRT.dll___dllonexit]
push edx
add eax, 7
xor edx, edx
push eax
mov eax, ebx
call fcn.005d9e13
xor ecx, ecx
mov edx, 0x73
mov eax, ebx
call fcn.005ddac7
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.005d9e13
mov eax, ebx
call fcn.005d9ecb
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005dfbbf
mov dword [ebp - 4], eax
lea esi, reloc.MSVCRT.dll___dllonexit
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, reloc.MSVCRT.dll___dllonexit
mov edx, 0x14
call fcn.005dd5ef
mov word [esi + 8], 0x8000
xor ecx, ecx
mov eax, ebx
mov dword [esi + 0x24], ecx
xor ecx, ecx
or word [ebx + 0x4c28], 0x4000
push 0
push 0x443297
push 0
xor edx, edx
call fcn.005df403
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.005d9e13
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x20], ecx
lea eax, reloc.MSVCRT.dll___dllonexit
mov edx, dword [ebp - 4]
shl edx, 9
call fcn.005da2bb
push dword [ebp - 0x102c]
push 0
push dword [ebp - 0x1030]
call fcn.00611107
mov dword [ebp - 0x24], 0xfffffff
add esp, 0xc
jmp 0x5dfa60
call fcn.005e23b3
cmp dword [ebp - 8], 0
jne 0x5df904
cmp dword [ebp - 0xc], reloc.MSVCRT.dll___dllonexit
jae 0x5df936
jmp 0x5df906
jge 0x5df936
mov eax, dword [ebp - 0xc]
lea edx, reloc.MSVCRT.dll___dllonexit
mov edi, eax
mov eax, 0x200
sub eax, edi
add edx, edi
push eax
push 0
push edx
call fcn.00611107
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
add esp, 0xc
jmp 0x5df946
sub dword [ebp - 0xc], reloc.MSVCRT.dll___dllonexit
sbb dword [ebp - 8], 0
mov edi, 0x200
lea edx, reloc.MSVCRT.dll___dllonexit
mov ecx, edi
mov eax, ebx
call fcn.005d9ca7
mov edx, dword [ebp - 0x20]
shl edx, 9
add edx, dword [ebp - reloc.MSVCRT.dll___dllonexit]
xor eax, eax
mov cl, byte [ebp + eax - 0x1230]
xor byte [edx + eax], cl
inc eax
cmp eax, 0x200
jl 0x5df963
lea edx, reloc.MSVCRT.dll___dllonexit
mov ecx, 0x200
or eax, reloc.MSVCRT.dll___dllonexit
call fcn.005e27df
mov byte [ebp + esi - 0x1024], al
inc esi
shr eax, 8
mov byte [ebp + esi - 0x1024], al
inc esi
cmp esi, 0x1000
jne 0x5df9f4
lea eax, reloc.MSVCRT.dll___dllonexit
mov edx, ebx
call fcn.005d95ef
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.005d9e13
lea edx, reloc.MSVCRT.dll___dllonexit
mov ecx, esi
mov eax, ebx
call fcn.005d9aeb
lea edx, reloc.MSVCRT.dll___dllonexit
mov ecx, esi
mov eax, dword [ebp - 0x24]
call fcn.005e27df
mov dword [ebp - 0x24], eax
xor esi, esi
lea eax, reloc.MSVCRT.dll___dllonexit
mov edx, 2
call fcn.005d9613
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
and eax, 0xff
xor edx, edx
cmp edx, 0
jne 0x5dfa48
cmp eax, 0
jne 0x5dfa48
mov ecx, dword [ebx + reloc.MSVCRT.dll___dllonexit]
cmp byte [ecx + 0x20b4], 0
jne 0x5dfa48
push 0
push 0x200
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00613da7
push edx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0060f92b
push eax
push 0x44329a
call fcn.006013ab
add esp, 8
add dword [ebp - 0x1c], 1
adc dword [ebp - 0x18], 0
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 4]
jb 0x5dfa60
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 8], 0
jne 0x5dfa72
cmp dword [ebp - 0xc], 0
ja 0x5df8ee
jmp 0x5dfa78
jg 0x5df8ee
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.005d9e13
lea edx, reloc.MSVCRT.dll___dllonexit
mov ecx, esi
mov eax, ebx
call fcn.005d9aeb
lea edx, reloc.MSVCRT.dll___dllonexit
mov ecx, esi
mov eax, dword [ebp - 0x24]
call fcn.005e27df
mov dword [ebp - 0x24], eax
mov eax, ebx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - reloc.MSVCRT.dll___dllonexit]
shl ecx, 9
call fcn.005d9aeb
mov ecx, dword [ebp - 4]
shl ecx, 9
mov edx, dword [ebp - reloc.MSVCRT.dll___dllonexit]
mov eax, dword [ebp - 0x24]
call fcn.005e27df
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
not eax
mov dword [ebx + reloc.MSVCRT.dll___dllonexit], eax
mov eax, ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
xor edx, edx
call fcn.005d9e13
lea eax, reloc.MSVCRT.dll___dllonexit
xor edx, edx
call fcn.005ed6bb
mov edx, 0x4432a4
lea eax, reloc.MSVCRT.dll___dllonexit
mov ecx, 8
call fcn.005ed867
lea eax, reloc.MSVCRT.dll___dllonexit
mov edx, dword [ebp - 4]
call fcn.005ed7ef
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
lea eax, reloc.MSVCRT.dll___dllonexit
call fcn.005ed83f
lea edx, reloc.MSVCRT.dll___dllonexit
lea eax, reloc.MSVCRT.dll___dllonexit
call fcn.005ed937
push 0
push 0x443297
push 0
push 0
push 2
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00613da7
mov ecx, eax
mov edx, dword [ebp - 4]
shl edx, 9
add ecx, edx
xor edx, edx
mov eax, ebx
call fcn.005df403
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.005d9e13
mov ecx, dword [ebx + reloc.MSVCRT.dll___dllonexit]
cmp byte [ecx + 0x20b4], 0
jne 0x5dfb95
push 0x4432ad
call fcn.006013ab
pop ecx
lea eax, reloc.MSVCRT.dll___dllonexit
mov edx, 2
call fcn.005ed6ef
lea eax, reloc.MSVCRT.dll___dllonexit
mov edx, 2
call fcn.005d7827
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret