Function at 0x40ff90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d79e
mov eax, dword fs:[0]
push eax
sub esp, 0x200
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 - 0x160]
push eax
call fcn.00427810
mov ecx, eax
call fcn.004277e0
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp - 0x160], 0
jne 0x40ffeb
xor edi, edi
jmp 0x410a26
call fcn.00418e90
mov ecx, eax
test ecx, ecx
je 0x410a6c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 1
push eax
call fcn.00418e00
mov ecx, eax
call fcn.00422e40
mov dword [ebp - 0x154], eax
mov eax, 0xc723
mov byte [ebp - 4], 2
mov word [ebp - 0x120], ax
mov ecx, 0xc73d
mov word [ebp - 0x11e], cx
mov eax, 0xc737
mov word [ebp - 0x11c], ax
mov edi, 0xc7fe
mov eax, 0xc72f
mov edx, 0xc7e2
mov word [ebp - 0x11a], ax
mov esi, 0xc7e6
mov eax, 0xc72b
mov word [ebp - 0x118], ax
mov eax, 0xc734
mov word [ebp - 0x116], ax
mov eax, 0xc724
mov word [ebp - 0x114], ax
mov eax, 0xc731
mov word [ebp - 0x112], ax
mov eax, 0xc720
mov word [ebp - 0x110], ax
mov eax, 0xc716
mov word [ebp - 0x10e], cx
mov ecx, 0xc7eb
mov word [ebp - 0x10c], ax
mov eax, 0xc711
mov word [ebp - 0x10a], ax
mov eax, 0xc7f6
mov word [ebp - 0x108], di
mov word [ebp - 0x106], dx
mov word [ebp - 0x104], di
mov word [ebp - 0x102], cx
mov word [ebp - 0x100], si
mov word [ebp - 0xfe], ax
mov eax, 0xc7dd
mov word [ebp - 0xfc], ax
mov eax, 0xc7dc
mov word [ebp - 0xfa], ax
mov eax, 0xc7e5
mov word [ebp - 0xf8], ax
mov eax, 0xc7f3
mov word [ebp - 0xf6], cx
mov word [ebp - 0xf4], dx
mov edx, 0xc7c1
mov word [ebp - 0xf2], cx
mov ecx, 0xc7fb
mov word [ebp - 0xf0], cx
mov word [ebp - 0xee], ax
mov eax, 0xc7d3
mov word [ebp - 0xec], ax
mov eax, 0xc7e9
mov word [ebp - 0xea], dx
mov word [ebp - 0xe8], ax
mov eax, 0xc7ef
mov word [ebp - 0xe6], ax
mov word [ebp - 0xe4], ax
mov eax, 0xc7f1
mov word [ebp - 0xe2], ax
mov eax, 0xc7c7
mov word [ebp - 0xe0], di
mov word [ebp - 0xde], si
mov word [ebp - 0xdc], ax
mov eax, 0xc7ee
mov word [ebp - 0xda], di
mov word [ebp - 0xd8], ax
mov eax, 0xc7ff
mov word [ebp - 0xd6], si
mov word [ebp - 0xd4], ax
xor edi, edi
mov word [ebp - 0xd2], cx
mov eax, 0xc7f2
mov word [ebp - 0xd0], ax
mov ebx, 0xf
mov eax, 0xc7cc
mov word [ebp - 0xce], ax
mov eax, 0xc7ca
mov word [ebp - 0xcc], ax
mov eax, 0xc7fc
mov word [ebp - 0xca], ax
mov eax, 0xc7c5
mov word [ebp - 0xc8], ax
mov eax, 0xc7c3
mov word [ebp - 0xc6], ax
mov eax, 0xc7de
mov word [ebp - 0xc4], ax
mov eax, 0xc7d0
mov word [ebp - 0xc2], ax
mov eax, 0xc7ce
mov word [ebp - 0xc0], dx
mov word [ebp - 0xbe], ax
mov eax, 0xc7cd
mov word [ebp - 0xbc], ax
mov eax, 0xc7f7
mov word [ebp - 0xba], ax
mov eax, 0xc789
mov word [ebp - 0xb8], ax
mov eax, 0xc7d6
mov word [ebp - 0xb6], ax
mov eax, 0xc7f9
mov word [ebp - 0xb4], ax
mov eax, 0xc781
mov word [ebp - 0xb2], ax
mov eax, 0xc7df
mov word [ebp - 0xb0], ax
mov eax, 0xc7a0
mov word [ebp - 0xae], ax
mov ax, word [ebp - 0x120]
mov ax, word [ebp + edi*2 - 0x120]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xfcc4c774
mov edx, 0x7fccd1d0
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi - 0x388c]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x120], ax
inc edi
cmp edi, 0x3a
jb 0x4102b3
mov eax, dword [ebp - 0x160]
push dword [eax + 0x14]
mov eax, dword [ebp - 0x154]
push dword [eax]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00417340
mov edx, dword [ebp - 0x168]
or ebx, 0xffffffff
add esp, 0x10
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410342
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x160]
push dword [eax + 0x58]
push str.DisplayName
push dword [ebp - 0x158]
push SysReAllocStringLen
call fcn.004634a0
mov eax, dword [ebp - 0x160]
add esp, 0xc
mov esi, esp
mov dword [ebp - 0x154], esi
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004112a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x174]
push eax
call fcn.0045da80
add esp, 8
mov byte [ebp - 4], 3
call fcn.00418e90
mov ecx, eax
test ecx, ecx
je 0x410a76
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x164], eax
mov eax, 0xc342
mov byte [ebp - 4], 4
mov word [ebp - 0xac], ax
mov edi, 0xc316
mov eax, 0xc346
mov esi, 0xc314
mov word [ebp - 0xaa], ax
mov edx, 0xc304
mov word [ebp - 0xa8], di
mov eax, 0xc349
mov word [ebp - 0xa6], ax
mov ecx, 0xc315
mov eax, 0xc34f
mov word [ebp - 0xa4], ax
mov eax, 0xc34a
mov word [ebp - 0xa2], ax
mov eax, 0xc305
mov word [ebp - 0xa0], si
mov word [ebp - 0x9e], ax
mov eax, 0xc306
mov word [ebp - 0x9c], ax
mov eax, 0xc311
mov word [ebp - 0x9a], dx
mov word [ebp - 0x98], si
mov word [ebp - 0x96], ax
mov eax, 0xc319
mov word [ebp - 0x94], ax
mov eax, 0xc31b
mov word [ebp - 0x92], si
mov word [ebp - 0x90], ax
mov eax, 0xc353
mov word [ebp - 0x8e], ax
mov eax, 0xc35f
mov word [ebp - 0x8c], ax
mov eax, 0xc307
mov word [ebp - 0x8a], cx
mov word [ebp - 0x88], ax
mov eax, 0xc312
mov word [ebp - 0x86], si
mov word [ebp - 0x84], ax
mov eax, 0xc348
mov word [ebp - 0x82], ax
mov eax, 0xc301
mov word [ebp - 0x80], dx
mov word [ebp - 0x7e], cx
mov word [ebp - 0x7c], di
mov word [ebp - 0x7a], si
xor esi, esi
mov word [ebp - 0x78], dx
mov word [ebp - 0x76], ax
mov eax, 0xc388
mov word [ebp - 0x74], ax
mov ax, word [ebp - 0xac]
mov ax, word [ebp + esi*2 - 0xac]
mov ecx, esi
and ecx, 0xf
movzx edi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x598a973
cmovae ecx, eax
mov eax, 0xbc7c364
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [esi - 0x3c9c]
xor ax, cx
xor ax, di
mov word [ebp + esi*2 - 0xac], ax
inc esi
cmp esi, 0x1d
jb 0x4104e1
mov eax, dword [ebp - 0x160]
push dword [eax + 0x28]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00417340
mov eax, 0x7595
mov edx, 0x75ab
mov word [ebp - 0x50], ax
mov ecx, 0x75a2
mov word [ebp - 0x4e], dx
mov eax, 0x75a6
mov word [ebp - 0x4c], ax
add esp, 0xc
mov word [ebp - 0x4a], cx
mov eax, 0x75bd
mov word [ebp - 0x48], ax
xor edi, edi
mov eax, 0x75b7
mov ebx, 0xf
mov word [ebp - 0x46], ax
mov eax, 0x758f
mov word [ebp - 0x44], dx
mov word [ebp - 0x42], cx
mov ecx, 0x75b9
mov word [ebp - 0x40], cx
mov word [ebp - 0x3e], ax
mov eax, 0x75a3
mov word [ebp - 0x3c], ax
mov word [ebp - 0x3a], ax
mov eax, 0x75b5
mov word [ebp - 0x38], cx
mov word [ebp - 0x36], ax
mov eax, 0x75bf
mov word [ebp - 0x34], ax
mov eax, 0x75d7
mov word [ebp - 0x32], ax
mov ax, word [ebp - 0x50]
mov ax, word [ebp + edi*2 - 0x50]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0x14e275c8
mov edx, 0xee425d5
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi + 0x75c8]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x50], ax
inc edi
cmp edi, 0x10
jb 0x4105d2
push dword [ebp - 0x164]
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0x50]
push eax
push esi
push SysReAllocStringLen
call fcn.004634a0
mov eax, dword [ebp - 0x160]
push dword [eax + 0x18]
push str.Publisher
push esi
push SysReAllocStringLen
call fcn.004634a0
mov eax, dword [ebp - 0x160]
mov ecx, 0x75b6
add esp, 0x20
xor edi, edi
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x154], eax
mov eax, 0x7589
mov word [ebp - 0x70], ax
mov eax, 0x75ab
mov word [ebp - 0x6e], ax
mov eax, 0x75bc
mov word [ebp - 0x6c], ax
mov eax, 0x75b8
mov word [ebp - 0x6a], ax
mov eax, 0x75af
mov word [ebp - 0x68], ax
mov word [ebp - 0x66], ax
mov eax, 0x75a6
mov word [ebp - 0x64], ax
mov eax, 0x7582
mov word [ebp - 0x62], ax
mov eax, 0x75ba
mov word [ebp - 0x60], ax
mov eax, 0x75bf
mov word [ebp - 0x5e], ax
mov eax, 0x75a5
mov word [ebp - 0x5c], cx
mov word [ebp - 0x5a], ax
mov eax, 0x75b9
mov word [ebp - 0x58], ax
mov eax, 0x75b4
mov word [ebp - 0x56], ax
mov eax, 0x75d7
mov word [ebp - 0x54], cx
mov word [ebp - 0x52], ax
mov ax, word [ebp - 0x70]
mov ax, word [ebp + edi*2 - 0x70]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0xee425d5
cmovae ecx, eax
mov eax, 0x14e275c8
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi + 0x75c8]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x70], ax
inc edi
cmp edi, 0x10
jb 0x4106e2
push dword [ebp - 0x154]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x158]
push SysReAllocStringLen
call fcn.004634a0
mov eax, dword [ebp - 0x160]
add esp, 0xc
mov esi, esp
mov dword [ebp - 0x154], esi
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004112a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x16c]
push eax
call fcn.0045da80
add esp, 8
mov eax, dword [eax]
xor edi, edi
mov dword [ebp - 0x154], eax
mov ebx, 0xf
mov eax, 0xa634
mov byte [ebp - 4], 5
mov word [ebp - 0x30], ax
mov eax, 0xa61f
mov word [ebp - 0x2e], ax
mov eax, 0xa607
mov word [ebp - 0x2c], ax
mov eax, 0xa609
mov word [ebp - 0x2a], ax
mov eax, 0xa61e
mov word [ebp - 0x28], ax
mov eax, 0xa611
mov word [ebp - 0x26], ax
mov eax, 0xa60f
mov word [ebp - 0x24], ax
mov eax, 0xa622
mov word [ebp - 0x22], ax
mov eax, 0xa617
mov word [ebp - 0x20], ax
mov eax, 0xa603
mov word [ebp - 0x1e], ax
mov eax, 0xa606
mov word [ebp - 0x1c], ax
mov eax, 0xa614
mov word [ebp - 0x1a], ax
mov eax, 0xa613
mov word [ebp - 0x18], ax
mov eax, 0xa61c
mov word [ebp - 0x16], ax
mov eax, 0xa670
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x30]
mov ax, word [ebp + edi*2 - 0x30]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0x3056a670
mov edx, 0x9ef06f8a
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi - 0x5990]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x30], ax
inc edi
cmp edi, ebx
jb 0x410813
push dword [ebp - 0x154]
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0x30]
push eax
push esi
push SysReAllocStringLen
call fcn.004634a0
mov edx, dword [ebp - 0x16c]
or ebx, 0xffffffff
add esp, 0x10
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410892
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x160]
add eax, 0x94
push 3
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0045e740
push dword [eax]
mov byte [ebp - 4], 6
push str.URLInfoAbout
push esi
push SysReAllocStringLen
call fcn.004634a0
mov edx, dword [ebp - 0x170]
add esp, 0x1c
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4108e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0047a530
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4109c4
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], al
call fcn.004210f0
push 3
push 0x572c38
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 7
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
call fcn.004210f0
mov byte [ebp - 4], 8
call fcn.0047a530
mov ebx, eax
lea ecx, [ebp - 0x20c]
push 0x215
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0040b1c0
mov edi, eax
push str.InstallHelper::AddUninstallItem_success
push edi
mov byte [ebp - 4], 9
call fcn.00409810
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.0040cbc0
lea ecx, [ebp - 0x138]
call fcn.0040bb80
lea ecx, [ebp - 0x150]
call fcn.0040bb80
or ebx, 0xffffffff
mov edx, dword [ebp - 0x164]
mov edi, 1
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4109ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x174]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410a0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410a26
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x15c]
test esi, esi
je 0x410a4e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x410a4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x410a4e
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
push 0x80004005
call fcn.00410d90
int3