Function at 0x42d110
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567975
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x5c524c]
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
mov ebx, ecx
mov eax, dword [ebp + 8]
mov edx, 0x5798f8
test eax, eax
mov dword [ebp - 0xa4], eax
cmovne edx, eax
test edx, edx
jne 0x42d15b
xor ecx, ecx
jmp 0x42d16f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d160
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x2c]
call fcn.0041afc0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x42d185
call fcn.0050f350
push 0x3c
call fcn.004727bf
mov esi, eax
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x42d1c0
lea ecx, [esi + 0xc]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_CCommandLine_.0
call fcn.0050e8f0
jmp 0x42d1c2
xor esi, esi
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x24], eax
mov edi, dword [ebx + 0x28]
mov dword [ebx + 0x28], esi
or esi, 0xffffffff
test edi, edi
je 0x42d1fb
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x42d1fb
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x42d1fb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
test edx, edx
jne 0x42d20d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d226
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cb00
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 1
call fcn.0050ef70
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x42d293
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d289
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dcb9
push edx
push ecx
call fcn.004727ef
add esp, 8
mov ecx, ebx
call fcn.004271e0
mov ecx, ebx
call fcn.00427ff0
mov ecx, ebx
call fcn.00427370
mov ecx, ebx
call fcn.0042c6d0
mov edx, dword [0x5cddcc]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d2d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cb00
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 2
call fcn.0050eed0
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x42d33f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d335
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dcbe
push edx
push ecx
call fcn.004727ef
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test esi, esi
je 0x42d361
call fcn.0040c8c0
jmp 0x42dc96
mov edx, dword [0x5cdddc]
mov ecx, edx
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d380
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0041cb00
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 4], 3
call fcn.0050eed0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00407920
test esi, esi
je 0x42d629
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.cef_loading
mov word [ecx], ax
call fcn.0041cb00
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0xa8], esp
xor eax, eax
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x57aee0
mov word [ecx], ax
call fcn.0041cb00
mov byte [ebp - 4], 5
call fcn.0045e070
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0045eb30
push 1
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [ebx + 0x60], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x64], 0xc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], eax
jne 0x42d4a7
push dword [0x5cddd4]
lea eax, [ebp - 0x64]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx + 0x60], eax
test eax, eax
je 0x42d4a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42d568
push dword [ebx + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x60], 0
call fcn.00481b60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d561
push 0x5b
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.0041ca10
push 3
push 0x579ac8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041ca10
mov byte [ebp - 4], 0xa
call fcn.00481b60
mov edi, eax
lea ecx, [ebp - 0x144]
push 0xfe
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406ec0
mov esi, eax
push str.return_PushJkwMutex
push esi
mov byte [ebp - 4], 0xb
call fcn.004081f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.0040ad10
lea ecx, [ebp - 0x28]
call fcn.004078d0
lea ecx, [ebp - 0x58]
call fcn.004078d0
xor eax, eax
jmp 0x42dc9b
call fcn.00481b60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d629
push 0x5b
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041ca10
push 3
push 0x579ac8
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 6
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.0041ca10
mov byte [ebp - 4], 7
call fcn.00481b60
mov edi, eax
lea ecx, [ebp - 0x144]
push 0xb0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406ec0
mov esi, eax
push str.CreateDialogMutex__
push esi
mov byte [ebp - 4], 8
call fcn.004081f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.0040ad10
lea ecx, [ebp - 0x58]
call fcn.004078d0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004078d0
mov ecx, ebx
call fcn.004269d0
mov esi, dword [ebx + 0x54]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
call fcn.00415c50
mov ecx, eax
test ecx, ecx
je 0x42dcc3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa4], eax
push 0x5798f8
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xc
call fcn.0040e400
test al, al
jne 0x42d689
push 0
push 0x5798f8
lea ecx, [ebp - 0xa4]
call fcn.0041afc0
mov dword [ebp - 4], 0xd
call fcn.00415c50
mov ecx, eax
test ecx, ecx
je 0x42dccd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa8], eax
push 0x5798f8
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.0040e400
test al, al
jne 0x42d6d7
push 0
push 0x5798f8
lea ecx, [ebp - 0xa8]
call fcn.0041afc0
mov byte [ebp - 4], 0xf
call fcn.00415c50
mov ecx, eax
test ecx, ecx
je 0x42dcd7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xac], eax
push 0x57af00
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x10
call fcn.0040e400
test al, al
jne 0x42d722
push 5
push 0x57af00
lea ecx, [ebp - 0xac]
call fcn.0041afc0
mov byte [ebp - 4], 0x11
call fcn.0045e070
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xa8]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0xac]
or esi, 0xffffffff
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d76c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa8]
mov eax, esi
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d78d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d7b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 9
xor eax, eax
mov dword [ebp - 0x18], 0
push str.uninstall
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0041cb00
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 0x12
call fcn.0050eed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.00407920
mov edx, dword [0x5cde10]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
lea eax, [ecx + 2]
mov dword [ebp - 0xa4], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d820
sub ecx, dword [ebp - 0xa4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0041cb00
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 0x13
call fcn.0050eed0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00407920
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42d882
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebx + 0x20]
mov dword [ecx + 4], eax
mov ecx, ebx
call fcn.00423ec0
test eax, eax
jne 0x42d89c
test edi, edi
je 0x42d8a7
mov ecx, ebx
call fcn.00428c60
test eax, eax
je 0x42d8f6
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42d8c4
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebx + 0x20]
mov dword [ecx + 4], eax
call fcn.00414620
add esp, 8
test eax, eax
je 0x42db40
call fcn.004192f0
test eax, eax
je 0x42db40
call fcn.00418e50
jmp 0x42db40
test edi, edi
je 0x42d906
mov ecx, ebx
call fcn.0042f8a0
jmp 0x42db40
cmp dword [ebp - 0xa4], 0
je 0x42db39
call fcn.00415c50
mov ecx, eax
test ecx, ecx
je 0x42dce1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa4], eax
push str.wd_popup
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0x14
call fcn.0040e400
test al, al
jne 0x42d95d
push 8
push str.wd_popup
lea ecx, [ebp - 0xa4]
call fcn.0041afc0
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0x15
push eax
call fcn.0045e070
mov ecx, eax
call fcn.0045e130
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42d999
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x14]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d9c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cb00
mov edx, dword [str._wid]
xor eax, eax
mov ecx, edx
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42da00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041cb00
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x17
call fcn.0050eed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
mov esi, eax
call fcn.00407920
test esi, esi
je 0x42db21
mov edx, dword [str._wid]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42da60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0041cb00
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x18
push eax
call fcn.0050ed90
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x16
call fcn.00407920
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xa4], esp
mov ecx, edx
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edi, [ecx + 2]
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dac7
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0041cb00
sub esp, 0x18
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0xa8], esp
xor eax, eax
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.wdid
mov word [ecx], ax
call fcn.0041cb00
mov byte [ebp - 4], 0x1a
call fcn.0045e070
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.0045eb30
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00407920
mov ecx, ebx
call fcn.0042e4e0
jmp 0x42db40
mov ecx, ebx
call fcn.0042dcf0
mov edx, dword [0x5cdddc]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42db60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041cb00
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 0x1b
call fcn.0050eed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00407920
test esi, esi
je 0x42dc96
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x42dc96
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x60], 0
call fcn.00481b60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42dc96
push 0x5b
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], al
call fcn.0041ca10
push 3
push 0x579ac8
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.0041ca10
mov byte [ebp - 4], 0x1d
call fcn.00481b60
mov edi, eax
lea ecx, [ebp - 0x1dc]
push 0xbf
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00406ec0
mov esi, eax
push str._____________ReleaseDialogMutex_______________
push esi
mov byte [ebp - 4], 0x1e
call fcn.004081f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1dc]
call fcn.0040ad10
lea ecx, [ebp - 0x88]
call fcn.004078d0
lea ecx, [ebp - 0xa0]
call fcn.004078d0
mov eax, 1
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.0047268d
mov esp, ebp
pop ebp
ret 4
call fcn.005229b9
call fcn.005229b9
push 0x80004005
call fcn.0040e3e0
push 0x80004005
call fcn.0040e3e0
push 0x80004005
call fcn.0040e3e0
push 0x80004005
call fcn.0040e3e0
int3