Function at 0x4de3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60108d
mov eax, dword fs:[0]
push eax
mov eax, 0x2003c
call fcn.005ddc60
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20044], edx
mov esi, ecx
mov dword [ebp - 0x20034], esi
mov eax, dword [ebp + 0xc]
or ebx, 0xffffffff
cmp dword [0x6b1a40], 0
mov dword [ebp - 0x20040], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20030], eax
je 0x4de51f
cmp dword [0x6b1a44], 8
mov edi, 0x6b1a30
cmovae edi, dword [0x6b1a30]
cmp word [edi], 0
je 0x4de51f
nop
push 0x3d
push edi
call fcn.00588565
mov esi, eax
add esp, 8
test esi, esi
je 0x4de502
call fcn.0040bf10
mov ecx, esi
sub ecx, edi
push eax
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2003c]
call fcn.00435c40
mov dword [ebp - 4], 1
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x2002c]
call fcn.0040c380
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20044]
test eax, eax
je 0x4de86c
mov esi, dword [ebp - 0x2003c]
mov ecx, eax
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4de4b6
test dx, dx
je 0x4de4b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4de4b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4de490
xor eax, eax
jmp 0x4de4bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4de77e
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x2002c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4de4e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4de502
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], 0
jne 0x4de430
mov esi, dword [ebp - 0x20034]
mov dword [ebp - 0x20038], 0
mov dword [ebp - 4], 8
lea eax, [ebp - 0x20038]
push eax
push 0
push 0
push 0x20
push 0
push dword [ebp - 0x20030]
call dword [sym.imp.ole32.dll_StgOpenStorage]
test eax, eax
jne 0x4de731
mov dword [ebp - 0x2002c], eax
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2002c]
mov eax, dword [ebp - 0x20038]
push edx
push 0
push 0x10
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4de71d
push 0x20000
push eax
lea eax, [ebp - 0x20010]
push eax
call fcn.00588800
mov eax, dword [ebp - 0x2002c]
lea edx, [ebp - 0x2003c]
add esp, 0xc
mov dword [ebp - 0x2003c], 0
mov ecx, dword [eax]
push edx
push 0x20000
lea edx, [ebp - 0x20010]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4de71d
mov esi, dword [ebp - 0x2003c]
test esi, esi
je 0x4de71d
mov edi, esi
xor ecx, ecx
shr edi, 1
cmp esi, 4
jbe 0x4de5fc
xor edx, edx
xor dword [ebp + edx - 0x20010], 0x2424
lea ecx, [ecx + 1]
lea edx, [ecx*4]
lea eax, [edx + 4]
cmp eax, esi
jb 0x4de5e0
lea eax, [edi + edi]
cmp eax, 0x20000
jae 0x4de867
xor ecx, ecx
mov word [ebp + eax - 0x20010], cx
lea eax, [ebp - 0x20010]
push edi
push eax
lea ecx, [ebp - 0x20028]
call fcn.004833f0
mov byte [ebp - 4], 0xb
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4de635
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x6b1a30
call fcn.004767a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x20028]
call fcn.00476270
cmp word [ebp - 0x20010], 0
lea esi, [ebp - 0x20010]
je 0x4de71d
push 0x3d
push esi
call fcn.00588565
mov edi, eax
add esp, 8
test edi, edi
je 0x4de706
call fcn.0040bf10
mov ecx, edi
sub ecx, esi
push eax
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x20034]
call fcn.00435c40
mov byte [ebp - 4], 0xd
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x20030]
call fcn.0040c380
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x20034]
mov edx, dword [ebp - 0x20044]
call fcn.004895c0
test al, al
jne 0x4de7d8
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x20030]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4de6e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x20034]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4de706
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2]
add esi, 2
cmp word [esi], 0
jne 0x4de666
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2002c]
test eax, eax
je 0x4de731
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x103
push 0x639ee0
push dword [ebp - 0x20040]
call fcn.005a829a
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20038]
test eax, eax
je 0x4de760
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
push 0x103
push dword [ebp - 0x2002c]
push dword [ebp - 0x20040]
call fcn.005a829a
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x2002c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4de7b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4de7d4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x4de762
push 0x103
push dword [ebp - 0x20030]
push dword [ebp - 0x20040]
call fcn.005a829a
add esp, 0xc
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x20030]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4de812
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x20034]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4de831
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2002c]
test eax, eax
je 0x4de845
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20038]
test eax, eax
je 0x4de7d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
jmp 0x4de762
call fcn.0055faf0
push 0x80004005
call fcn.0040b250
int3