Function at 0x40e7c0
Capabilities:
Check if file exists
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d536
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5be26c]
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
lea eax, [ebp - 0x7c]
push eax
call fcn.00427810
mov ecx, eax
call fcn.004277e0
mov eax, dword [ebp - 0x7c]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x40e816
xor edi, edi
jmp 0x40eb58
push 1
push dword [eax + 0x18]
lea eax, [ebp - 0x74]
push eax
call fcn.00505f80
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x18]
sub eax, 0x10
push eax
call fcn.004112a0
add esp, 0x10
lea esi, [eax + 0x10]
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 2
call fcn.00418e90
mov ecx, eax
test ecx, ecx
je 0x40eb9b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x68], eax
push esi
push dword [ebp - 0x74]
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 3
push str._s_s.lnk
push eax
call fcn.00417340
mov esi, dword [ebp - 0x68]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e95c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0047a530
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40e95c
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], al
call fcn.004210f0
push 3
push 0x572954
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.004210f0
mov byte [ebp - 4], 5
call fcn.0047a530
mov ebx, eax
lea ecx, [ebp - 0x11c]
push 0x229
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b1c0
mov edi, eax
push str.InstallHelper::AddStartMenu_delete_link_file:
push edi
mov byte [ebp - 4], 6
call fcn.0040c570
test esi, esi
mov ecx, 0x572928
cmovne ecx, esi
push ecx
push edi
call fcn.00409810
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.0040cbc0
lea ecx, [ebp - 0x4c]
call fcn.0040bb80
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.0040bb80
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004112a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, 0x4c80
mov byte [ebp - 4], 7
mov word [ebp - 0x34], ax
mov ecx, 0x4ccc
mov word [ebp - 0x32], ax
xor edi, edi
mov word [ebp - 0x30], cx
mov eax, 0x4cd1
mov word [ebp - 0x2e], ax
mov ebx, 0xf
mov eax, 0x4ccf
mov word [ebp - 0x2c], ax
mov eax, 0x4c93
mov word [ebp - 0x2a], cx
mov word [ebp - 0x28], ax
mov eax, 0x4cd2
mov word [ebp - 0x26], ax
mov eax, 0x4cd7
mov word [ebp - 0x24], ax
mov eax, 0x4cc7
mov word [ebp - 0x22], ax
mov eax, 0x4cd5
mov word [ebp - 0x20], ax
mov eax, 0x4cdf
mov word [ebp - 0x1e], ax
mov eax, 0x4cec
mov word [ebp - 0x1c], ax
mov eax, 0x4cdb
mov word [ebp - 0x1a], ax
mov eax, 0x4cda
mov word [ebp - 0x18], ax
mov eax, 0x4cd8
mov word [ebp - 0x16], ax
mov eax, 0x4cc5
mov word [ebp - 0x14], ax
mov eax, 0x4cbf
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x34]
nop dword [eax + eax]
mov ax, word [ebp + edi*2 - 0x34]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xa4884ca4
mov edx, 0x5d7349bf
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi + 0x4ca4]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x34], ax
inc edi
cmp edi, 0x12
jb 0x40ea20
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040ad40
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 8
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.004112a0
lea esi, [eax + 0x10]
mov dword [ebp - 0x84], esi
mov edi, dword [ebp - 0x80]
push 0
push esi
push dword [ebp - 0x68]
mov byte [ebp - 4], 9
push dword [ebp - 0x6c]
push edi
push dword [ebp - 0x70]
call fcn.00411810
or ebx, 0xffffffff
mov byte [ebp - 4], 8
add esp, 0x1c
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40eac0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40eade
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40eaf9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40eb17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40eb35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x74]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40eb53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 1
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x40eb7d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40eb7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40eb7d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
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.0046c10d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410d90
int3