Function at 0x42cdd0
Capabilities:
Check if file exists
Encode data using xor
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4d7cf6
mov eax, dword fs:[0]
push eax
mov eax, 0x1e4
call fcn.00468d20
mov eax, dword [0x5808f0]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5808f0]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x208]
mov eax, dword [esp + 0x20c]
mov ebx, ecx
mov ebp, 7
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x174], ebp
mov dword [esp + 0x170], edi
mov word [esp + 0x160], cx
xor edx, edx
mov dword [esp + 0x200], edi
mov dword [esp + 0x190], ebp
mov dword [esp + 0x18c], edi
mov word [esp + 0x17c], dx
mov dword [esp + 0x1ac], ebp
mov dword [esp + 0x1a8], edi
mov word [esp + 0x198], cx
mov byte [esp + 0x200], 2
cmp byte [ebx + 0x48], dl
jne 0x42cf22
mov edx, dword [esp + 0x210]
push edx
push eax
push esi
mov ecx, ebx
mov byte [ebx + 0x4a], 1
call fcn.0041ca10
mov esi, 8
cmp dword [esp + 0x1ac], esi
jb 0x42cebf
mov eax, dword [esp + 0x198]
push eax
call fcn.004699ce
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1ac], ebp
mov dword [esp + 0x1a8], edi
mov word [esp + 0x198], cx
cmp dword [esp + 0x190], esi
jb 0x42cef0
mov edx, dword [esp + 0x17c]
push edx
call fcn.004699ce
add esp, 4
xor eax, eax
mov dword [esp + 0x190], ebp
mov dword [esp + 0x18c], edi
mov word [esp + 0x17c], ax
cmp dword [esp + 0x174], esi
jb 0x42d67c
mov ecx, dword [esp + 0x160]
push ecx
jmp 0x42d674
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42cf27
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x164]
call fcn.0041c510
mov byte [ebx + 0x4a], 0
inc byte [ebx + 0x4a]
mov ecx, dword [ebx + 0x18]
mov ebp, 8
cmp dword [ebx + 0x1c], ebp
jb 0x42cf5d
mov eax, dword [ebx + 8]
jmp 0x42cf60
lea eax, [ebx + 8]
push ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x168]
call fcn.0041b940
cmp eax, 0xffffffff
je 0x42d44d
push eax
push edi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x168]
call fcn.0041c930
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x168]
mov byte [esp + 0x20c], 3
call fcn.0041c410
mov byte [esp + 0x200], 2
cmp dword [esp + 0x38], ebp
jb 0x42cfbf
mov eax, dword [esp + 0x24]
push eax
call fcn.004699ce
add esp, 4
push 1
push 0xffffffffffffffff
push 0x4e174c
lea ecx, [esp + 0x168]
call fcn.0041b940
mov esi, eax
cmp esi, 0xffffffff
je 0x42d071
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x168]
call fcn.0041c930
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x184]
mov byte [esp + 0x20c], 4
call fcn.0041c410
mov byte [esp + 0x200], 2
cmp dword [esp + 0x38], ebp
jb 0x42d029
mov eax, dword [esp + 0x24]
push eax
call fcn.004699ce
add esp, 4
push esi
push edi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x168]
call fcn.0041c930
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x168]
mov byte [esp + 0x20c], 5
call fcn.0041c410
mov byte [esp + 0x200], 2
cmp dword [esp + 0x38], ebp
jb 0x42d094
mov edx, dword [esp + 0x24]
push edx
call fcn.004699ce
add esp, 4
jmp 0x42d094
lea ecx, [esp + 0x15c]
call fcn.0041c620
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x184]
call fcn.0041c410
mov ecx, dword [esp + 0x18c]
inc ecx
push ecx
call fcn.004691cd
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
je 0x42d489
mov ecx, dword [esp + 0x17c]
cmp dword [esp + 0x190], ebp
jae 0x42d0ca
lea ecx, [esp + 0x17c]
mov eax, dword [esp + 0x18c]
push eax
push esi
push eax
push ecx
call fcn.0041a9c0
add esp, 0x10
push str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
lea ecx, [esp + 0x1b4]
call fcn.004034d0
mov edx, dword [esp + 0x18c]
push esi
push edx
push esi
lea ecx, [esp + 0x1bc]
call fcn.00403570
mov edi, eax
test edi, edi
je 0x42d5da
and eax, 0x8000000f
jns 0x42d11a
dec eax
or eax, 0xfffffff0
inc eax
jne 0x42d5da
xor esi, esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x58], vtable.dwcl::AES.0
push esi
push 0x20
lea ecx, [ebx + 0x24]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x20c], 6
call fcn.00401b90
cmp edi, esi
jbe 0x42d180
mov esi, dword [esp + 0x1c]
lea ebp, [edi - 1]
shr ebp, 4
inc ebp
cmp byte [ebx + 0x49], 0
je 0x42d16d
xor eax, eax
mov dl, byte [ebx + 0x49]
xor byte [esi + eax], dl
inc eax
cmp eax, 0x10
jl 0x42d161
push esi
push esi
lea ecx, [esp + 0x60]
call fcn.00401c20
add esi, 0x10
sub ebp, 1
jne 0x42d159
mov esi, dword [esp + 0x1c]
lea eax, [edi + edi + 2]
push eax
mov byte [edi + esi], 0
call fcn.004691cd
add esp, 4
push edi
mov ebp, eax
push ebp
push edi
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x4e174c
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x44]
xor ecx, ecx
push eax
mov word [ebp + edi*2], cx
call fcn.0042cd00
push ebp
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x218], 7
call fcn.0042cd00
add esp, 0x18
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x168]
mov byte [esp + 0x20c], 8
call fcn.0041c410
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x42d20b
mov edx, dword [esp + 0x24]
push edx
call fcn.004699ce
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov byte [esp + 0x200], 6
cmp dword [esp + 0x54], esi
jb 0x42d23d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004699ce
add esp, 4
push 1
push 0xffffffffffffffff
push 0x4e1750
lea ecx, [esp + 0x168]
call fcn.0041b940
push 1
push 0xffffffffffffffff
push 0x4e174c
lea ecx, [esp + 0x168]
mov esi, eax
call fcn.0041b940
cmp dword [esp + 0x174], 8
mov edi, eax
mov eax, dword [esp + 0x160]
jae 0x42d283
lea eax, [esp + 0x160]
mov edx, dword [esp + 0x210]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.0046a38b
add esp, 0xc
cmp esi, 0xffffffff
je 0x42d33f
cmp esi, edi
jbe 0x42d33f
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x168]
call fcn.0041c930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x20c], 9
call fcn.0041c410
mov edi, 8
mov byte [esp + 0x200], 6
cmp dword [esp + 0x54], edi
jb 0x42d2f7
mov edx, dword [esp + 0x40]
push edx
call fcn.004699ce
add esp, 4
push esi
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x168]
call fcn.0041c930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x168]
mov byte [esp + 0x20c], 0xa
call fcn.0041c410
mov byte [esp + 0x200], 6
cmp dword [esp + 0x54], edi
jb 0x42d33f
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004699ce
add esp, 4
mov edi, dword [esp + 0x14]
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42d3aa
mov ecx, dword [esp + 0x198]
mov eax, 8
cmp dword [esp + 0x1ac], eax
jae 0x42d36d
lea ecx, [esp + 0x198]
cmp dword [esp + 0x174], eax
mov eax, dword [esp + 0x160]
jae 0x42d384
lea eax, [esp + 0x160]
mov edx, dword [esp + 0x210]
push ecx
push esi
push eax
push str._s__d__s
push edx
push edi
call fcn.0046a2b8
add esp, 0x18
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42d351
mov eax, dword [esp + 0x1c]
push eax
call fcn.004690f0
push ebp
call fcn.004690f0
mov eax, edi
add esp, 8
lea edx, [eax + 2]
xor ebp, ebp
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42d3c4
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x164]
call fcn.0041c510
mov eax, dword [ebx + 0x18]
mov edi, 8
cmp dword [ebx + 0x1c], edi
jb 0x42d3f3
mov ecx, dword [ebx + 8]
jmp 0x42d3f6
lea ecx, [ebx + 8]
push eax
push ebp
push ecx
lea ecx, [esp + 0x168]
call fcn.0042c570
cmp eax, 0xffffffff
je 0x42d524
mov ecx, dword [ebx + 0x18]
cmp dword [ebx + 0x1c], edi
jb 0x42d41b
mov eax, dword [ebx + 8]
jmp 0x42d41e
lea eax, [ebx + 8]
push ecx
push ebp
push eax
lea ecx, [esp + 0x168]
call fcn.0042c570
lea ecx, [esp + 0x58]
test eax, eax
je 0x42d554
mov byte [esp + 0x200], 2
call fcn.00402020
xor edi, edi
jmp 0x42cf48
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x210]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.0046a38b
add esp, 0xc
cmp dword [esp + 0x1ac], ebp
jb 0x42d615
mov ecx, dword [esp + 0x198]
push ecx
call fcn.004699ce
add esp, 4
jmp 0x42d615
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x210]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.0046a38b
add esp, 0xc
cmp dword [esp + 0x1ac], ebp
jb 0x42d4bc
mov eax, dword [esp + 0x198]
push eax
call fcn.004699ce
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a8], edi
mov word [esp + 0x198], cx
cmp dword [esp + 0x190], ebp
jb 0x42d4f2
mov edx, dword [esp + 0x17c]
push edx
call fcn.004699ce
add esp, 4
xor eax, eax
mov dword [esp + 0x190], esi
mov dword [esp + 0x18c], edi
mov word [esp + 0x17c], ax
cmp dword [esp + 0x174], ebp
jb 0x42d67c
mov ecx, dword [esp + 0x160]
push ecx
jmp 0x42d674
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], vtable.dwcl::AbstractCipher.0
cmp eax, ebp
je 0x42d541
push eax
call fcn.004690f0
add esp, 4
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x42d559
push eax
call fcn.004690f0
add esp, 4
jmp 0x42d559
call fcn.00402020
cmp dword [esp + 0x1ac], edi
jb 0x42d572
mov edx, dword [esp + 0x198]
push edx
call fcn.004699ce
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a8], ebp
mov word [esp + 0x198], ax
cmp dword [esp + 0x190], edi
jb 0x42d5a8
mov ecx, dword [esp + 0x17c]
push ecx
call fcn.004699ce
add esp, 4
xor edx, edx
mov dword [esp + 0x190], esi
mov dword [esp + 0x18c], ebp
mov word [esp + 0x17c], dx
cmp dword [esp + 0x174], edi
jb 0x42d67c
mov eax, dword [esp + 0x160]
push eax
jmp 0x42d674
push esi
call fcn.004690f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x214]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.0046a38b
add esp, 0x10
cmp dword [esp + 0x1ac], ebp
jb 0x42d613
mov ecx, dword [esp + 0x198]
push ecx
call fcn.004699ce
add esp, 4
xor edi, edi
xor edx, edx
mov esi, 7
mov word [esp + 0x198], dx
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1ac], esi
cmp dword [esp + 0x190], ebp
jb 0x42d64b
mov eax, dword [esp + 0x17c]
push eax
call fcn.004699ce
add esp, 4
xor ecx, ecx
mov word [esp + 0x17c], cx
mov dword [esp + 0x18c], edi
mov dword [esp + 0x190], esi
cmp dword [esp + 0x174], ebp
jb 0x42d67c
mov edx, dword [esp + 0x160]
push edx
call fcn.004699ce
add esp, 4
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.004690b5
add esp, 0x1f0
ret 0xc