Function at 0x404e50
Capabilities:
Delete file
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45e460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [0x47c5d0]
push esi
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x58], eax
call fcn.004502dd
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], 0
call fcn.004502dd
mov edx, dword [esp + 0x78]
xor eax, eax
test edx, edx
mov word [esp + 5], ax
mov byte [esp + 0x64], 1
mov byte [esp + 4], 0
mov byte [esp + 7], al
jle 0x404ecc
jmp 0x404eb0
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx - 0xc]
test ecx, ecx
je 0x404f15
cmp ecx, 0x28
jae 0x404f49
inc eax
cmp eax, edx
jl 0x404eb0
push edi
mov edi, dword [esp + 0x70]
push edi
mov ecx, esi
call fcn.00404c20
test al, al
jne 0x404f7d
push 0x11
push str.Copy_file_failed_
mov ecx, esi
call fcn.00401640
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.0045031c
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 0xffffffff
call fcn.0045031c
xor al, al
jmp 0x40558e
push 0x30
push str.The_length_of_one_script_files_name_is_invalid_
mov ecx, esi
call fcn.00401640
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 0
call fcn.0045031c
lea ecx, [esp + 8]
mov dword [esp + 0x64], 0xffffffff
call fcn.0045031c
xor al, al
jmp 0x40558f
push 0x2f
push str.At_least_one_of_script_files_name_is_too_long_
mov ecx, esi
call fcn.00401640
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 0
call fcn.0045031c
lea ecx, [esp + 8]
mov dword [esp + 0x64], 0xffffffff
call fcn.0045031c
xor al, al
jmp 0x40558f
mov eax, dword [edi]
push 0
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.00450575
test eax, eax
jne 0x404fce
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x1b
push str.Open_objective_file_failed_
mov ecx, esi
call fcn.00401640
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.0045031c
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 0xffffffff
call fcn.0045031c
xor al, al
jmp 0x40558e
push ebx
lea ecx, [esp + 0x10]
call fcn.004501d5
mov edx, eax
shr edx, 0x18
mov byte [esp + 0xc], dl
mov ecx, eax
push 0
shr ecx, 0x10
mov edx, eax
push 0
mov byte [esp + 0x15], cl
shr edx, 8
push 0x24
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], al
call fcn.0045007b
push 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.00450030
mov edx, dword [esp + 0x10]
push 2
push 0
push 0
lea ecx, [esp + 0x1c]
call dword [edx + 0x28]
push 2
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14], 0x47
mov byte [esp + 0x15], 0x58
call fcn.00450030
push 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call fcn.00450030
mov eax, dword [esp + 0x10]
push 2
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x14], 1
mov byte [esp + 0x15], 0
call dword [eax + 0x38]
mov eax, dword [esi + 4]
or edi, 0xffffffff
test eax, eax
lea ebx, [esp + 0xc]
jne 0x4050a7
push 0x400
call fcn.0044ffe6
add esp, 4
push eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00404af0
mov ecx, dword [esi + 4]
mov eax, 2
push ebp
movzx ebp, byte [ebx]
mov edx, edi
shr edx, 0x18
xor edx, ebp
mov ebp, dword [ecx + edx*4]
shl edi, 8
xor edi, ebp
inc ebx
dec eax
jne 0x4050b0
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
push 0
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00450575
test eax, eax
jne 0x40511f
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x18
push str.Open_config_file_failed_
mov ecx, esi
call fcn.00401640
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0
call fcn.0045031c
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0xffffffff
call fcn.0045031c
xor al, al
jmp 0x40558c
lea ecx, [esp + 0x2c]
call fcn.004501d5
mov ebx, eax
mov edx, ebx
shr edx, 0x18
shr eax, 0x10
mov ecx, ebx
shr ecx, 8
mov byte [esp + 0x10], dl
push 4
lea edx, [esp + 0x14]
mov byte [esp + 0x15], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x16], cl
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b], bl
call dword [eax + 0x38]
mov eax, dword [esi + 4]
test eax, eax
lea ebp, [esp + 0x10]
jne 0x40517c
push 0x400
call fcn.0044ffe6
add esp, 4
push eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00404af0
mov eax, 4
movzx ecx, byte [ebp]
mov edx, edi
shr edx, 0x18
xor edx, ecx
mov ecx, dword [esi + 4]
shl edi, 8
xor edi, dword [ecx + edx*4]
inc ebp
dec eax
jne 0x405181
push ebx
call fcn.0044ffe6
add esp, 4
mov ebp, eax
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0044fff0
push ebx
push ebp
call fcn.00404a90
mov edx, dword [esp + 0x1c]
add esp, 8
push ebx
push ebp
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
push edi
push ebx
push ebp
mov ecx, esi
call fcn.00404bc0
push ebp
mov edi, eax
add ebx, 6
call fcn.0044ffe1
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.0045027b
mov al, byte [esp + 0x84]
mov edx, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x18], al
call dword [edx + 0x38]
mov eax, dword [esi + 4]
test eax, eax
jne 0x405223
push 0x400
call fcn.0044ffe6
add esp, 4
push eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00404af0
movzx ecx, byte [esp + 0x10]
mov edx, dword [esi + 4]
mov eax, edi
shr eax, 0x18
xor eax, ecx
mov ebp, dword [edx + eax*4]
mov ecx, dword [esp + 0x84]
shl edi, 8
xor edi, ebp
mov eax, edi
inc ebx
test ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x7c], 0
jle 0x405464
jmp 0x405260
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [ecx + edx*4]
lea edx, [esp + 0x3c]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4052a0
mov edi, dword [0x47b12c]
lea ecx, [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x24], 0x28
mov edi, edi
movzx edx, byte [eax + 0x463a50]
movzx ebp, byte [ecx]
add edx, ebp
and edx, 0x800000ff
jns 0x4052dc
dec edx
or edx, 0xffffff00
inc edx
inc eax
mov byte [ecx], dl
inc ecx
cmp eax, edi
jne 0x4052e6
xor eax, eax
dec dword [esp + 0x24]
jne 0x4052c0
mov edx, dword [esp + 0x14]
push 0x28
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
mov eax, dword [esi + 4]
test eax, eax
mov ebp, dword [esp + 0x28]
lea edi, [esp + 0x3c]
jne 0x405325
push 0x400
call fcn.0044ffe6
add esp, 4
push eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00404af0
mov eax, 0x28
lea ebx, [ebx]
movzx ecx, byte [edi]
mov edx, ebp
shr edx, 0x18
xor edx, ecx
mov ecx, dword [esi + 4]
shl ebp, 8
xor ebp, dword [ecx + edx*4]
inc edi
dec eax
jne 0x405330
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov eax, dword [edx + eax*4]
push 0
push 0
add ebx, 0x28
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], ebx
call fcn.00450575
test eax, eax
je 0x4055aa
lea ecx, [esp + 0x2c]
call fcn.004501d5
mov ebx, eax
mov ecx, ebx
shr ecx, 0x18
mov byte [esp + 0x10], cl
mov edx, ebx
shr edx, 0x10
push 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x15], dl
mov edx, dword [esp + 0x18]
shr eax, 8
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], bl
call dword [edx + 0x38]
mov eax, dword [esi + 4]
test eax, eax
lea edi, [esp + 0x10]
jne 0x4053cf
push 0x400
call fcn.0044ffe6
add esp, 4
push eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00404af0
mov eax, 4
movzx ecx, byte [edi]
mov edx, ebp
shr edx, 0x18
xor edx, ecx
mov ecx, dword [esi + 4]
shl ebp, 8
xor ebp, dword [ecx + edx*4]
inc edi
dec eax
jne 0x4053d4
push ebx
call fcn.0044ffe6
add esp, 4
mov edi, eax
push ebx
push edi
lea ecx, [esp + 0x34]
call fcn.0044fff0
push ebx
push edi
call fcn.00404a90
mov edx, dword [esp + 0x1c]
add esp, 8
push ebx
push edi
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
push ebp
push ebx
push edi
mov ecx, esi
call fcn.00404bc0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
lea ecx, [eax + ebx + 4]
push edi
mov dword [esp + 0x28], ecx
call fcn.0044ffe1
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.0045027b
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x7c], eax
jl 0x405260
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0x10], cl
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 8
mov byte [esp + 0x11], dl
push 4
lea edx, [esp + 0x14]
mov byte [esp + 0x16], cl
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b], al
call fcn.00450030
add ebx, 4
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x11], cl
mov edx, ebx
shr edx, 8
mov byte [esp + 0x10], al
mov byte [esp + 0x12], dl
xor eax, eax
mov ecx, 0xfffffffc
sub ecx, ebx
push 1
mov edx, 0xffffffff
sbb edx, eax
push edx
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], bl
call fcn.0045007b
push 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00450030
mov edx, dword [esp + 0x14]
push 2
push 0
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c], 0x2f
mov byte [esp + 0x1d], 0x47
mov byte [esp + 0x1e], 0x58
call dword [edx + 0x28]
push 3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00450030
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.004501d5
and eax, 0xfff
mov esi, 0x1000
sub esi, eax
push esi
call fcn.0044ffe6
mov ebx, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
push esi
rep stosb byte es:[edi], al
push ebx
lea ecx, [esp + 0x1c]
call fcn.00450030
lea ecx, [esp + 0x14]
call fcn.0045027b
push ebx
call fcn.0044ffe1
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0
call fcn.0045031c
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0xffffffff
call fcn.0045031c
mov al, 1
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x58]
pop esi
call fcn.0043a7a4
add esp, 0x64
ret 0x10
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x13
push str.Script_file_failed_
mov ecx, esi
call fcn.00401640
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0
call fcn.0045031c
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0xffffffff
call fcn.0045031c
xor al, al
jmp 0x40558c