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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556126
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5b627c]
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.00422620
mov ecx, eax
call fcn.004225f0
mov eax, dword [ebp - 0x7c]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x409b96
xor edi, edi
jmp 0x409ed8
push 1
push dword [eax + 0x18]
lea eax, [ebp - 0x74]
push eax
call fcn.004ffbb0
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x18]
sub eax, 0x10
push eax
call fcn.0040c650
add esp, 0x10
lea esi, [eax + 0x10]
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 2
call fcn.00414250
mov ecx, eax
test ecx, ecx
je 0x409f1b
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.00412720
mov esi, dword [ebp - 0x68]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409cdc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00474150
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x409cdc
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.0041c540
push 3
push 0x56bab4
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.0041c540
mov byte [ebp - 4], 5
call fcn.00474150
mov ebx, eax
lea ecx, [ebp - 0x11c]
push 0x229
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004066e0
mov edi, eax
push str.InstallHelper::AddStartMenu_delete_link_file:
push edi
mov byte [ebp - 4], 6
call fcn.00407a90
test esi, esi
mov ecx, 0x56ba88
cmovne ecx, esi
push ecx
push edi
call fcn.00405390
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.00407f30
lea ecx, [ebp - 0x4c]
call fcn.004070a0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.004070a0
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.0040c650
add eax, 0x10
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, 0x460
mov byte [ebp - 4], 7
mov word [ebp - 0x34], ax
mov ecx, 0x425
mov eax, 0x46d
xor edi, edi
mov word [ebp - 0x32], ax
mov ebx, 0xf
mov word [ebp - 0x30], cx
mov eax, 0x43a
mov word [ebp - 0x2e], ax
mov eax, 0x428
mov word [ebp - 0x2c], ax
mov eax, 0x422
mov word [ebp - 0x2a], ax
mov eax, 0x479
mov word [ebp - 0x28], ax
mov eax, 0x439
mov word [ebp - 0x26], ax
mov eax, 0x433
mov word [ebp - 0x24], ax
mov eax, 0x423
mov word [ebp - 0x22], ax
mov eax, 0x43c
mov word [ebp - 0x20], ax
mov eax, 0x40f
mov word [ebp - 0x1e], cx
mov word [ebp - 0x1c], ax
mov eax, 0x43e
mov word [ebp - 0x1a], ax
mov eax, 0x438
mov word [ebp - 0x18], ax
mov eax, 0x435
mov word [ebp - 0x16], ax
mov eax, 0x452
mov word [ebp - 0x14], cx
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, 0x6f5e0445
mov edx, 0xfe1111ca
cmovae ecx, ebx
shl ecx, 2
call fcn.00466140
and ax, 0xf
lea ecx, [edi + 0x445]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x34], ax
inc edi
cmp edi, 0x12
jb 0x409da0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406260
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 8
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.0040c650
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.0040cbc0
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 0x409e40
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 0x409e5e
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 0x409e79
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 0x409e97
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 0x409eb5
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 0x409ed3
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 0x409efd
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x409efd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x409efd
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.00465d1b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040c140
int3