Function at 0x413800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552b4c
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5b228c]
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 - 0x68]
mov dword [ebp - 0x58], 0
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041cf70
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041dde0
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004098c0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x6c], esi
push 0xb
xor eax, eax
mov byte [ebp - 4], 2
push str.run_at_succ
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00417590
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x58], 1
call fcn.004fbbd0
test eax, eax
jne 0x4138f8
mov eax, dword [ebp - 0x60]
mov ecx, 0x566d68
mov eax, dword [eax + 0x50]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4138eb
test dx, dx
je 0x4138e7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4138eb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4138c5
xor eax, eax
jmp 0x4138f0
sbb eax, eax
or eax, 1
mov byte [ebp - 0x41], 0
test eax, eax
jne 0x4138fc
mov byte [ebp - 0x41], 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.00404f80
or ebx, 0xffffffff
cmp byte [ebp - 0x41], 0
je 0x413bcc
call fcn.0046f390
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x413a3d
lea eax, [ebp - 0x48]
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041cfa0
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
mov byte [ebp - 4], 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004174a0
push 3
push 0x566acc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004174a0
mov byte [ebp - 4], 6
call fcn.0046f390
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x104]
push 0x93
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404570
mov ebx, eax
push str.InstallHelper::RunAppGame
push ebx
mov byte [ebp - 4], 7
call fcn.00405960
mov edi, 0x566aa0
test esi, esi
mov ecx, edi
cmovne ecx, esi
push ecx
push ebx
call fcn.00403250
push 0x566d8c
push ebx
call fcn.00405960
mov eax, dword [ebp - 0x58]
test eax, eax
cmovne edi, eax
push edi
push ebx
call fcn.00403250
mov ecx, dword [ebp - 0x4c]
add esp, 0x20
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x104]
call fcn.00405d60
lea ecx, [ebp - 0x28]
call fcn.00404f30
lea ecx, [ebp - 0x40]
call fcn.00404f30
mov edx, dword [ebp - 0x48]
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 0x413a3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004106d0
mov ecx, eax
test ecx, ecx
je 0x413c4e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
push 0x564bc8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.004093d0
test al, al
jne 0x413a7b
push 0
push 0x564bc8
lea ecx, [ebp - 0x4c]
call fcn.004157e0
mov byte [ebp - 4], 9
call fcn.004106d0
mov ecx, eax
test ecx, ecx
je 0x413c58
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push 0x564bc8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.004093d0
test al, al
jne 0x413abd
push 0
push 0x564bc8
lea ecx, [ebp - 0x48]
call fcn.004157e0
mov byte [ebp - 4], 0xb
call fcn.004106d0
mov ecx, eax
test ecx, ecx
je 0x413c62
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
push str.inst_open
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call fcn.004093d0
test al, al
jne 0x413aff
push 9
push str.inst_open
lea ecx, [ebp - 0x50]
call fcn.004157e0
mov byte [ebp - 4], 0xd
call fcn.0044eec0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x50]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413b3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413b58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413b76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x54]
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041cfa0
push 0x10
push str.__install_launch
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.00409180
push 5
push 0
push dword [ebp - 0x54]
push esi
push 0x566dc8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x54]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413bcc
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 0x413be7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x413c0d
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x413c0d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x413c0d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x413c32
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x413c32
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x413c32
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.00460f8d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004093b0
push 0x80004005
call fcn.004093b0
push 0x80004005
call fcn.004093b0
int3