Function at 0x40b310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55638e
mov eax, dword fs:[0]
push eax
sub esp, 0x200
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 - 0x160]
push eax
call fcn.00422620
mov ecx, eax
call fcn.004225f0
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp - 0x160], 0
jne 0x40b36b
xor edi, edi
jmp 0x40bdda
call fcn.00414250
mov ecx, eax
test ecx, ecx
je 0x40be20
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.004141c0
mov ecx, eax
call fcn.0041e290
mov dword [ebp - 0x154], eax
mov eax, 0x65c3
mov byte [ebp - 4], 2
mov word [ebp - 0x120], ax
mov ecx, 0x65ca
mov eax, 0x65d0
mov esi, 0x65d2
mov word [ebp - 0x11e], ax
mov edi, 0x65c6
mov eax, 0x65d4
mov edx, 0x65cb
mov word [ebp - 0x11c], ax
mov eax, 0x65c5
mov word [ebp - 0x11a], cx
mov word [ebp - 0x118], ax
mov eax, 0x65da
mov word [ebp - 0x116], ax
mov eax, 0x65c0
mov word [ebp - 0x114], ax
mov eax, 0x65d6
mov word [ebp - 0x112], ax
mov eax, 0x65c8
mov word [ebp - 0x110], ax
mov eax, 0x65dc
mov word [ebp - 0x10e], ax
mov eax, 0x65f2
mov word [ebp - 0x10c], ax
mov eax, 0x65c4
mov word [ebp - 0x10a], ax
mov eax, 0x65d7
mov word [ebp - 0x108], si
mov word [ebp - 0x106], cx
mov ecx, 0x65cc
mov word [ebp - 0x104], ax
mov eax, 0x65db
mov word [ebp - 0x102], cx
mov word [ebp - 0x100], di
mov word [ebp - 0xfe], ax
mov eax, 0x65fe
mov word [ebp - 0xfc], ax
mov eax, 0x65f9
mov word [ebp - 0xfa], ax
mov eax, 0x65c5
mov word [ebp - 0xf8], dx
mov word [ebp - 0xf6], ax
mov eax, 0x65d3
mov word [ebp - 0xf4], di
mov word [ebp - 0xf2], cx
mov ecx, 0x65c0
mov word [ebp - 0xf0], ax
mov eax, 0x65f7
mov word [ebp - 0xee], si
mov word [ebp - 0xec], ax
mov eax, 0x65f4
mov word [ebp - 0xea], ax
mov eax, 0x65c5
mov word [ebp - 0xe8], ax
mov eax, 0x65c7
mov word [ebp - 0xe6], ax
mov eax, 0x65d6
mov word [ebp - 0xe4], di
mov word [ebp - 0xe2], ax
mov eax, 0x65de
mov word [ebp - 0xe0], ax
mov eax, 0x65e4
mov word [ebp - 0xde], dx
mov word [ebp - 0xdc], ax
mov eax, 0x65db
mov word [ebp - 0xda], ax
mov word [ebp - 0xd8], cx
xor edi, edi
mov ecx, 0x65c8
mov ebx, 0xf
mov word [ebp - 0xd6], cx
mov ecx, 0x65b7
mov word [ebp - 0xd4], ax
mov eax, 0x65dc
mov word [ebp - 0xd2], ax
mov eax, 0x65da
mov word [ebp - 0xd0], ax
mov eax, 0x65ed
mov word [ebp - 0xce], ax
mov eax, 0x65ee
mov word [ebp - 0xcc], ax
mov eax, 0x65a9
mov word [ebp - 0xca], ax
mov word [ebp - 0xc8], ax
mov eax, 0x65ab
mov word [ebp - 0xc6], ax
mov eax, 0x65a1
mov word [ebp - 0xc4], cx
mov word [ebp - 0xc2], cx
mov word [ebp - 0xc0], ax
mov eax, 0x65a3
mov word [ebp - 0xbe], ax
mov eax, 0x65ae
mov word [ebp - 0xbc], ax
mov eax, 0x6592
mov word [ebp - 0xba], ax
mov eax, 0x65e7
mov word [ebp - 0xb8], ax
mov eax, 0x65b8
mov word [ebp - 0xb6], ax
mov eax, 0x659d
mov word [ebp - 0xb4], ax
mov eax, 0x65e6
mov word [ebp - 0xb2], ax
mov eax, 0x65c1
mov word [ebp - 0xb0], cx
mov word [ebp - 0xae], ax
mov ax, word [ebp - 0x120]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0x120]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xf91b6595
mov edx, 0x777174f9
cmovae ecx, ebx
shl ecx, 2
call fcn.00466140
and ax, 0xf
lea ecx, [edi + 0x6595]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x120], ax
inc edi
cmp edi, 0x3a
jb 0x40b640
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.00412720
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 0x40b6cf
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 reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
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.0040c650
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x174]
push eax
call fcn.00457b90
add esp, 8
mov byte [ebp - 4], 3
call fcn.00414250
mov ecx, eax
test ecx, ecx
je 0x40be2a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x164], eax
mov eax, 0x1372
mov byte [ebp - 4], 4
mov word [ebp - 0xac], ax
mov ecx, 0x130b
mov eax, 0x1378
xor esi, esi
mov word [ebp - 0xaa], ax
mov eax, 0x1329
mov word [ebp - 0xa8], ax
mov eax, 0x1379
mov word [ebp - 0xa6], ax
mov eax, 0x137b
mov word [ebp - 0xa4], ax
mov eax, 0x1376
mov word [ebp - 0xa2], ax
mov eax, 0x1322
mov word [ebp - 0xa0], ax
mov eax, 0x133b
mov word [ebp - 0x9e], ax
mov eax, 0x133f
mov word [ebp - 0x9c], ax
mov eax, 0x130e
mov word [ebp - 0x9a], ax
mov eax, 0x131f
mov word [ebp - 0x98], ax
mov eax, 0x1319
mov word [ebp - 0x96], ax
mov eax, 0x1305
mov word [ebp - 0x94], ax
mov eax, 0x1307
mov word [ebp - 0x92], ax
mov eax, 0x1302
mov word [ebp - 0x90], ax
mov eax, 0x134f
mov word [ebp - 0x8e], ax
mov word [ebp - 0x8c], ax
mov eax, 0x1318
mov word [ebp - 0x8a], cx
mov word [ebp - 0x88], ax
mov eax, 0x1304
mov word [ebp - 0x86], ax
mov eax, 0x1306
mov word [ebp - 0x84], ax
mov eax, 0x1354
mov word [ebp - 0x82], ax
mov eax, 0x1312
mov word [ebp - 0x80], ax
mov eax, 0x131e
mov word [ebp - 0x7e], cx
mov ecx, 0x130f
mov word [ebp - 0x7c], cx
mov word [ebp - 0x7a], ax
mov eax, 0x1309
mov word [ebp - 0x78], cx
mov word [ebp - 0x76], ax
mov eax, 0x1374
mov word [ebp - 0x74], ax
mov ax, word [ebp - 0xac]
nop word [eax + eax]
mov ax, word [ebp + esi*2 - 0xac]
mov ecx, esi
and ecx, 0xf
movzx edi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x9bf7fd09
cmovae ecx, eax
mov eax, 0xba501357
shl ecx, 2
call fcn.00466140
and ax, 0xf
lea ecx, [esi + 0x1357]
xor ax, cx
xor ax, di
mov word [ebp + esi*2 - 0xac], ax
inc esi
cmp esi, 0x1d
jb 0x40b890
mov eax, dword [ebp - 0x160]
push dword [eax + 0x28]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00412720
mov eax, 0xf075
mov edx, 0xf05a
mov word [ebp - 0x50], ax
mov ecx, 0xf059
mov eax, 0xf046
add esp, 0xc
mov word [ebp - 0x4e], ax
xor edi, edi
mov eax, 0xf042
mov ebx, 0xf
mov word [ebp - 0x4c], ax
mov eax, 0xf04d
mov word [ebp - 0x4a], ax
mov eax, 0xf05d
mov word [ebp - 0x48], ax
mov eax, 0xf048
mov word [ebp - 0x46], dx
mov word [ebp - 0x44], ax
mov eax, 0xf054
mov word [ebp - 0x42], ax
mov eax, 0xf06e
mov word [ebp - 0x40], cx
mov word [ebp - 0x3e], ax
mov eax, 0xf04f
mov word [ebp - 0x3c], ax
mov eax, 0xf04a
mov word [ebp - 0x3a], ax
mov eax, 0xf05b
mov word [ebp - 0x38], dx
mov word [ebp - 0x36], ax
mov eax, 0xf037
mov word [ebp - 0x34], cx
mov word [ebp - 0x32], ax
mov ax, word [ebp - 0x50]
nop dword [eax + eax]
mov ax, word [ebp + edi*2 - 0x50]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0x8603f029
mov edx, 0xf936c8f4
cmovae ecx, ebx
shl ecx, 2
call fcn.00466140
and ax, 0xf
lea ecx, [edi - 0xfd7]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x50], ax
inc edi
cmp edi, 0x10
jb 0x40b990
push dword [ebp - 0x164]
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0x50]
push eax
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
mov eax, dword [ebp - 0x160]
push dword [eax + 0x18]
push str.Publisher
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
mov eax, dword [ebp - 0x160]
mov ecx, 0xf05a
add esp, 0x20
xor edi, edi
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x154], eax
mov eax, 0xf069
mov word [ebp - 0x70], ax
mov eax, 0xf046
mov word [ebp - 0x6e], ax
mov eax, 0xf058
mov word [ebp - 0x6c], ax
mov eax, 0xf057
mov word [ebp - 0x6a], ax
mov eax, 0xf04f
mov word [ebp - 0x68], ax
mov eax, 0xf042
mov word [ebp - 0x66], ax
mov eax, 0xf045
mov word [ebp - 0x64], ax
mov eax, 0xf074
mov word [ebp - 0x62], ax
mov eax, 0xf05e
mov word [ebp - 0x60], cx
mov word [ebp - 0x5e], ax
mov eax, 0xf04c
mov word [ebp - 0x5c], cx
mov word [ebp - 0x5a], ax
mov eax, 0xf050
mov word [ebp - 0x58], cx
mov word [ebp - 0x56], cx
mov word [ebp - 0x54], ax
mov eax, 0xf037
mov word [ebp - 0x52], ax
mov ax, word [ebp - 0x70]
nop dword [eax + eax]
mov ax, word [ebp + edi*2 - 0x70]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0xf936c8f4
cmovae ecx, eax
mov eax, 0x8603f029
shl ecx, 2
call fcn.00466140
and ax, 0xf
lea ecx, [edi - 0xfd7]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x70], ax
inc edi
cmp edi, 0x10
jb 0x40baa0
push dword [ebp - 0x154]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x158]
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
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.0040c650
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x16c]
push eax
call fcn.00457b90
add esp, 8
mov eax, dword [eax]
mov edx, 0x9e07
mov dword [ebp - 0x154], eax
mov ecx, 0x9e01
mov eax, 0x9e24
mov byte [ebp - 4], 5
mov word [ebp - 0x30], ax
xor edi, edi
mov word [ebp - 0x2e], dx
mov eax, 0x9e14
mov word [ebp - 0x2c], ax
mov ebx, 0xf
mov eax, 0x9e13
mov word [ebp - 0x2a], ax
mov eax, 0x9e00
mov word [ebp - 0x28], cx
mov word [ebp - 0x26], ax
mov eax, 0x9e10
mov word [ebp - 0x24], ax
mov eax, 0x9e34
mov word [ebp - 0x22], ax
mov eax, 0x9e0b
mov word [ebp - 0x20], dx
mov word [ebp - 0x1e], ax
mov eax, 0x9e1f
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], ax
mov eax, 0x9e15
mov word [ebp - 0x18], ax
mov eax, 0x9e1c
mov word [ebp - 0x16], ax
mov eax, 0x9e7b
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, 0xc4d69e67
mov edx, 0xfe69439d
cmovae ecx, ebx
shl ecx, 2
call fcn.00466140
and ax, 0xf
lea ecx, [edi - 0x6199]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x30], ax
inc edi
cmp edi, ebx
jb 0x40bbc7
push dword [ebp - 0x154]
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0x30]
push eax
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
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 0x40bc46
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.00458860
push dword [eax]
mov byte [ebp - 4], 6
push str.URLInfoAbout
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
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 0x40bc9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00474150
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40bd78
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.0041c540
push 3
push 0x56bd98
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.0041c540
mov byte [ebp - 4], 8
call fcn.00474150
mov ebx, eax
lea ecx, [ebp - 0x20c]
push 0x215
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004066e0
mov edi, eax
push str.InstallHelper::AddUninstallItem_success
push edi
mov byte [ebp - 4], 9
call fcn.00405390
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x20c]
call fcn.00407f30
lea ecx, [ebp - 0x138]
call fcn.004070a0
lea ecx, [ebp - 0x150]
call fcn.004070a0
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 0x40bd9e
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 0x40bdbf
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 0x40bdda
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x15c]
test esi, esi
je 0x40be02
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40be02
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40be02
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
push 0x80004005
call fcn.0040c140
int3