Function at 0x41d240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ede3
mov eax, dword fs:[0]
push eax
sub esp, 0x138
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 - 0xac]
mov dword [ebp - 0x94], 0
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00426a20
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00427890
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004112d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x9c], esi
push 0xb
xor eax, eax
mov byte [ebp - 4], 2
push str.run_at_succ
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00421290
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x94], 1
call fcn.00506d80
test eax, eax
jne 0x41d353
mov eax, dword [ebp - 0xa4]
mov ecx, 0x572bf0
mov eax, dword [eax + 0x50]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d346
test dx, dx
je 0x41d342
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d346
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d320
xor eax, eax
jmp 0x41d34b
sbb eax, eax
or eax, 1
mov byte [ebp - 0x7d], 0
test eax, eax
jne 0x41d357
mov byte [ebp - 0x7d], 1
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 2
mov dword [ebp - 0x94], 0
call fcn.0040bbd0
or ebx, 0xffffffff
cmp byte [ebp - 0x7d], 0
je 0x41d774
call fcn.0047a580
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41d4b4
lea eax, [ebp - 0x98]
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00426a50
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
mov byte [ebp - 4], 4
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call fcn.004211a0
push 3
push 0x572954
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.004211a0
mov byte [ebp - 4], 6
call fcn.0047a580
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x144]
push 0x93
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040b1c0
mov ebx, eax
push str.InstallHelper::RunAppGame
push ebx
mov byte [ebp - 4], 7
call fcn.0040c570
mov edi, 0x572928
test esi, esi
mov ecx, edi
cmovne ecx, esi
push ecx
push ebx
call fcn.00409810
push 0x572c14
push ebx
call fcn.0040c570
mov eax, dword [ebp - 0x88]
test eax, eax
cmovne edi, eax
push edi
push ebx
call fcn.00409810
mov ecx, dword [ebp - 0x84]
add esp, 0x20
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.0040cbc0
lea ecx, [ebp - 0x64]
call fcn.0040bb80
lea ecx, [ebp - 0x7c]
call fcn.0040bb80
mov edx, dword [ebp - 0x98]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d4b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x41d7fc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x88], eax
push 0x5726b4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00410de0
test al, al
jne 0x41d4fb
push 0
push 0x5726b4
lea ecx, [ebp - 0x88]
call fcn.0041f550
mov byte [ebp - 4], 9
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x41d806
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
push 0x5726b4
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00410de0
test al, al
jne 0x41d546
push 0
push 0x5726b4
lea ecx, [ebp - 0x84]
call fcn.0041f550
mov byte [ebp - 4], 0xb
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x41d810
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x8c], eax
push str.inst_open
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xc
call fcn.00410de0
test al, al
jne 0x41d591
push 9
push str.inst_open
lea ecx, [ebp - 0x8c]
call fcn.0041f550
mov byte [ebp - 4], 0xd
call fcn.00459e50
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x84]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x8c]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d5d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x84]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d5f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x88]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d61a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x90]
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00426a50
mov eax, 0x9970
mov byte [ebp - 4], 0xe
mov word [ebp - 0x34], ax
mov ecx, 0x990e
mov eax, 0x9973
xor edi, edi
mov word [ebp - 0x32], ax
mov ebx, 0xf
mov eax, 0x993a
mov word [ebp - 0x30], ax
mov eax, 0x993c
mov word [ebp - 0x2e], ax
mov eax, 0x9923
mov word [ebp - 0x2c], ax
mov eax, 0x992e
mov word [ebp - 0x2a], ax
mov eax, 0x993e
mov word [ebp - 0x28], ax
mov eax, 0x9939
mov word [ebp - 0x26], ax
mov eax, 0x9932
mov word [ebp - 0x24], cx
mov word [ebp - 0x22], ax
mov eax, 0x990a
mov word [ebp - 0x20], ax
mov eax, 0x9905
mov word [ebp - 0x1e], ax
mov eax, 0x991b
mov word [ebp - 0x1c], ax
mov eax, 0x9909
mov word [ebp - 0x1a], ax
mov eax, 0x990c
mov word [ebp - 0x18], ax
mov eax, 0x9960
mov word [ebp - 0x16], cx
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x34]
mov ax, word [ebp + edi*2 - 0x34]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xa17c9958
mov edx, 0x192a74c2
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [edi - 0x66a8]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x34], ax
inc edi
cmp edi, 0x11
jb 0x41d6d0
lea ecx, [ebp - 0x34]
or ebx, 0xffffffff
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d717
sub ecx, edx
lea eax, [ebp - 0x34]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00410b90
mov esi, dword [ebp - 0x9c]
push 5
push 0
push dword [ebp - 0x90]
push esi
push 0x572c2c
push 0
call fcn.00409f60
mov edx, dword [ebp - 0x90]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d774
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41d78f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x41d7b8
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41d7b8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41d7b8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x41d7e0
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41d7e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41d7e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.0046c16d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410dc0
push 0x80004005
call fcn.00410dc0
push 0x80004005
call fcn.00410dc0
int3