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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566375
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x5c324c]
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, 0x5778f8
test eax, eax
mov dword [ebp - 0xa4], eax
cmovne edx, eax
test edx, edx
jne 0x42d08b
xor ecx, ecx
jmp 0x42d09f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d090
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x2c]
call fcn.0041af00
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x42d0b5
call fcn.0050dd80
push 0x3c
call fcn.00472c8f
mov esi, eax
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x42d0f0
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.0050d320
jmp 0x42d0f2
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 0x42d12b
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x42d12b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x42d12b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
test edx, edx
jne 0x42d13d
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 0x42d156
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cc50
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 1
call fcn.0050d9a0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x42d1c3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d1b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbe9
push edx
push ecx
call fcn.00472cbf
add esp, 8
mov ecx, ebx
call fcn.004271c0
mov ecx, ebx
call fcn.00427fd0
mov ecx, ebx
call fcn.00427350
mov ecx, ebx
call fcn.0042c600
mov edx, dword [0x5cbcd8]
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 0x42d200
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cc50
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 2
call fcn.0050d900
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x42d26f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d265
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbee
push edx
push ecx
call fcn.00472cbf
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 0x42d291
call fcn.0040c7e0
jmp 0x42dbc6
mov edx, dword [0x5cbce8]
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 0x42d2b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0041cc50
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 4], 3
call fcn.0050d900
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004077c0
test esi, esi
je 0x42d559
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.0041cc50
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 0x578ef8
mov word [ecx], ax
call fcn.0041cc50
mov byte [ebp - 4], 5
call fcn.0045e480
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0045ef40
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 0x42d3d7
push dword [0x5cbce0]
lea eax, [ebp - 0x64]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx + 0x60], eax
test eax, eax
je 0x42d3d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42d498
push dword [ebx + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x60], 0
call fcn.00480fd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d491
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.0041cb60
push 3
push 0x577d18
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.0041cb60
mov byte [ebp - 4], 0xa
call fcn.00480fd0
mov edi, eax
lea ecx, [ebp - 0x144]
push 0xfe
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406db0
mov esi, eax
push str.return_PushJkwMutex
push esi
mov byte [ebp - 4], 0xb
call fcn.00408110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.0040ac30
lea ecx, [ebp - 0x28]
call fcn.00407770
lea ecx, [ebp - 0x58]
call fcn.00407770
xor eax, eax
jmp 0x42dbcb
call fcn.00480fd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d559
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041cb60
push 3
push 0x577d18
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.0041cb60
mov byte [ebp - 4], 7
call fcn.00480fd0
mov edi, eax
lea ecx, [ebp - 0x144]
push 0xb0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406db0
mov esi, eax
push str.CreateDialogMutex__
push esi
mov byte [ebp - 4], 8
call fcn.00408110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.0040ac30
lea ecx, [ebp - 0x58]
call fcn.00407770
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00407770
mov ecx, ebx
call fcn.004269b0
mov esi, dword [ebx + 0x54]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
call fcn.00415b90
mov ecx, eax
test ecx, ecx
je 0x42dbf3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa4], eax
push 0x5778f8
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xc
call fcn.0040e320
test al, al
jne 0x42d5b9
push 0
push 0x5778f8
lea ecx, [ebp - 0xa4]
call fcn.0041af00
mov dword [ebp - 4], 0xd
call fcn.00415b90
mov ecx, eax
test ecx, ecx
je 0x42dbfd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa8], eax
push 0x5778f8
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.0040e320
test al, al
jne 0x42d607
push 0
push 0x5778f8
lea ecx, [ebp - 0xa8]
call fcn.0041af00
mov byte [ebp - 4], 0xf
call fcn.00415b90
mov ecx, eax
test ecx, ecx
je 0x42dc07
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xac], eax
push 0x578f18
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x10
call fcn.0040e320
test al, al
jne 0x42d652
push 5
push 0x578f18
lea ecx, [ebp - 0xac]
call fcn.0041af00
mov byte [ebp - 4], 0x11
call fcn.0045e480
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 0x42d69c
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 0x42d6bd
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 0x42d6e1
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.0041cc50
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 0x12
call fcn.0050d900
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.004077c0
mov edx, dword [0x5cbd1c]
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 0x42d750
sub ecx, dword [ebp - 0xa4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0041cc50
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 0x13
call fcn.0050d900
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004077c0
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42d7b2
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.00423e70
test eax, eax
jne 0x42d7cc
test edi, edi
je 0x42d7d7
mov ecx, ebx
call fcn.00428c40
test eax, eax
je 0x42d826
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42d7f4
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.00414590
add esp, 8
test eax, eax
je 0x42da70
call fcn.00419230
test eax, eax
je 0x42da70
call fcn.00418d90
jmp 0x42da70
test edi, edi
je 0x42d836
mov ecx, ebx
call fcn.0042f990
jmp 0x42da70
cmp dword [ebp - 0xa4], 0
je 0x42da69
call fcn.00415b90
mov ecx, eax
test ecx, ecx
je 0x42dc11
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.0040e320
test al, al
jne 0x42d88d
push 8
push str.wd_popup
lea ecx, [ebp - 0xa4]
call fcn.0041af00
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0x15
push eax
call fcn.0045e480
mov ecx, eax
call fcn.0045e540
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 0x42d8c9
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 0x42d8f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cc50
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 0x42d930
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041cc50
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x17
call fcn.0050d900
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
mov esi, eax
call fcn.004077c0
test esi, esi
je 0x42da51
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 0x42d990
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0041cc50
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x18
push eax
call fcn.0050d7c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x16
call fcn.004077c0
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 0x42d9f7
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0041cc50
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.0041cc50
mov byte [ebp - 4], 0x1a
call fcn.0045e480
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.0045ef40
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004077c0
mov ecx, ebx
call fcn.0042e5d0
jmp 0x42da70
mov ecx, ebx
call fcn.0042dc20
mov edx, dword [0x5cbce8]
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 0x42da90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041cc50
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 0x1b
call fcn.0050d900
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004077c0
test esi, esi
je 0x42dbc6
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x42dbc6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x60], 0
call fcn.00480fd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42dbc6
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], al
call fcn.0041cb60
push 3
push 0x577d18
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.0041cb60
mov byte [ebp - 4], 0x1d
call fcn.00480fd0
mov edi, eax
lea ecx, [ebp - 0x1dc]
push 0xbf
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00406db0
mov esi, eax
push str._____________ReleaseDialogMutex_______________
push esi
mov byte [ebp - 4], 0x1e
call fcn.00408110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1dc]
call fcn.0040ac30
lea ecx, [ebp - 0x88]
call fcn.00407770
lea ecx, [ebp - 0xa0]
call fcn.00407770
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.00472b5d
mov esp, ebp
pop ebp
ret 4
call fcn.005213e9
call fcn.005213e9
push 0x80004005
call fcn.0040e300
push 0x80004005
call fcn.0040e300
push 0x80004005
call fcn.0040e300
push 0x80004005
call fcn.0040e300
int3