Function at 0x40d490
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582926
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x5d1e24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc8]
push 0x30
push 0
push eax
mov dword [ebp - 0x600], esi
mov dword [ebp - 0x5cc], 0
call fcn.0054f9f0
add esp, 0xc
lea ecx, [ebp - 0xc8]
call fcn.0051a6e0
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x5d4], 0
mov dword [ebp - 0x5d0], 7
mov word [ebp - 0x5e4], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d517
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x5e4]
call fcn.00409700
lea eax, [ebp - 0x5e4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x5cc], 1
call fcn.0051ae60
test eax, eax
je 0x40d5ca
mov edx, dword [str.op_type]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5e8], 7
mov word [ebp - 0x5fc], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d580
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5fc]
call fcn.00409700
lea eax, [ebp - 0x5fc]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x5cc], 3
call fcn.0051adc0
test eax, eax
je 0x40d5ca
mov esi, 1
jmp 0x40d5cc
xor esi, esi
test byte [ebp - 0x5cc], 2
mov dword [ebp - 4], 1
je 0x40d639
mov edx, dword [ebp - 0x5e8]
cmp edx, 8
jb 0x40d61c
mov ecx, dword [ebp - 0x5fc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d612
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd8b
push edx
push ecx
call fcn.0046c7a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5e8], 7
mov word [ebp - 0x5fc], ax
mov edx, dword [ebp - 0x5d0]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x40d680
mov ecx, dword [ebp - 0x5e4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d676
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd90
push edx
push ecx
call fcn.0046c7a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x5d4], 0
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x5d0], 7
mov word [ebp - 0x5e4], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0051a7b0
call fcn.0046b6b0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 8]
test esi, esi
jne 0x40d7b5
push 2
call eax
movzx eax, al
sub eax, 1
jne 0x40dd69
push 0x53
push str.d:jenkins.jenkinsworkspacegroup_cleanproc_optproc_optproc_opt_ui_srcmian.cc
lea ecx, [ebp - 0x5e4]
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 0x5d0], 0xf
mov byte [ebp - 0x5e4], al
call fcn.00409600
push 3
push 0x590fb0
lea ecx, [ebp - 0x5fc]
mov dword [ebp - 4], 3
mov dword [ebp - 0x5ec], esi
mov dword [ebp - 0x5e8], 0xf
mov byte [ebp - 0x5fc], 0
call fcn.00409600
mov byte [ebp - 4], 4
call fcn.0046b6b0
mov edi, eax
lea ecx, [ebp - 0x698]
push 0x69
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x5fc]
push eax
call fcn.00404630
mov esi, eax
push str.illegal_cmdline:
push esi
mov byte [ebp - 4], 5
call fcn.0040b4c0
mov edx, dword [ebp - 0x600]
mov ecx, str._null_
test edx, edx
cmovne ecx, edx
push ecx
push esi
call fcn.0040b4c0
push str.__exit
push esi
call fcn.00405780
mov eax, dword [edi]
add esp, 0x18
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x698]
call fcn.00405a10
lea ecx, [ebp - 0x5fc]
call fcn.00405000
lea ecx, [ebp - 0x5e4]
call fcn.00405000
jmp 0x40dd69
push 1
call eax
movzx eax, al
sub eax, 1
jne 0x40da8d
push 0x53
push str.d:jenkins.jenkinsworkspacegroup_cleanproc_optproc_optproc_opt_ui_srcmian.cc
lea ecx, [ebp - 0x5fc]
mov dword [ebp - 0x5ec], eax
mov dword [ebp - 0x5e8], 0xf
mov byte [ebp - 0x5fc], al
call fcn.00409600
push 3
push 0x590d7c
lea ecx, [ebp - 0x5e4]
mov dword [ebp - 4], 6
mov dword [ebp - 0x5d4], 0
mov dword [ebp - 0x5d0], 0xf
mov byte [ebp - 0x5e4], 0
call fcn.00409600
mov byte [ebp - 4], 7
call fcn.0046b6b0
push 1
push 2
lea ecx, [ebp - 0x698]
mov dword [ebp - 0x5cc], eax
call fcn.00404150
push 0xffffffffffffffff
push 0x5909c0
lea ecx, [ebp - 0x5fc]
mov byte [ebp - 4], 8
call fcn.0040ace0
push 0xffffffffffffffff
push 0x5909c4
lea ecx, [ebp - 0x5fc]
mov edi, eax
call fcn.0040ace0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0054f9f0
add esp, 0xc
cmp esi, 0xffffffff
je 0x40d95d
lea eax, [esi - 1]
cmp edi, eax
jae 0x40d95d
mov eax, dword [ebp - 0x5ec]
lea edx, [edi + 1]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp eax, edx
jb 0x40dd95
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x5e8], 0x10
lea eax, [ebp - 0x5fc]
cmovae eax, dword [ebp - 0x5fc]
push ecx
add eax, edx
lea ecx, [ebp - 0x94]
push eax
call fcn.00409600
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x6c
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00403c50
mov edx, dword [ebp - 0x80]
add esp, 0x10
cmp edx, 0x10
jb 0x40d943
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d939
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd9a
push edx
push ecx
call fcn.0046c7a5
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
jmp 0x40d970
push 0x6c
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00403c50
add esp, 0xc
cmp dword [ebp - 0x5d0], 0x10
lea eax, [ebp - 0x5e4]
cmovae eax, dword [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x698]
push eax
call fcn.00405780
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x698]
push eax
call fcn.00405780
lea eax, [ebp - 0x698]
mov byte [ebp - 4], 9
push str.Run__cmd_line:
push eax
call fcn.00405780
mov edx, dword [ebp - 0x600]
mov eax, str._null_
test edx, edx
cmovne eax, edx
push eax
lea eax, [ebp - 0x698]
push eax
call fcn.0040b4c0
mov ecx, dword [ebp - 0x5cc]
lea edx, [ebp - 0x698]
add esp, 0x20
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x698]
call fcn.00405a10
mov edx, dword [ebp - 0x5d0]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x40da31
mov ecx, dword [ebp - 0x5e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40da27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd9f
push edx
push ecx
call fcn.0046c7a5
add esp, 8
mov edx, dword [ebp - 0x5e8]
mov dword [ebp - 0x5d4], 0
mov dword [ebp - 0x5d0], 0xf
mov byte [ebp - 0x5e4], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40da8d
mov ecx, dword [ebp - 0x5fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40da83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dda4
push edx
push ecx
call fcn.0046c7a5
add esp, 8
push 1
push 0x4a
call fcn.0051c280
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.0051e8e0
push 0xb0
lea eax, [ebp - 0x178]
mov dword [ebp - 4], 0xa
push 0
push eax
call fcn.0054f9f0
add esp, 0xc
lea ecx, [ebp - 0x178]
push 1
call fcn.0044d130
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x78], 0
call fcn.00406c40
mov ecx, eax
test ecx, ecx
je 0x40dda9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x78], eax
push str.Global_
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.00406080
test al, al
jne 0x40db16
push 7
push str.Global_
lea ecx, [ebp - 0x78]
call fcn.004079f0
mov edx, dword [str.LuDaShi:proc_opt_ui:9D273308_54E6_4BF1_960E_59C0B81F6801]
mov byte [ebp - 4], 0xd
test edx, edx
jne 0x40db28
xor ecx, ecx
jmp 0x40db3f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40db30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.0040cae0
lea eax, [ebp - 0x78]
mov ecx, 0x5dc148
push eax
call fcn.0051c3d0
test eax, eax
jne 0x40dc96
call fcn.0046b6b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40dc7c
mov ecx, 0x5dc148
call fcn.0051c790
push 0x53
push str.d:jenkins.jenkinsworkspacegroup_cleanproc_optproc_optproc_opt_ui_srcmian.cc
lea ecx, [ebp - 0x5e4]
mov dword [ebp - 0x600], eax
mov dword [ebp - 0x5d4], 0
mov dword [ebp - 0x5d0], 0xf
mov byte [ebp - 0x5e4], 0
call fcn.00409600
push 3
push 0x590d7c
lea ecx, [ebp - 0x5fc]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5e8], 0xf
mov byte [ebp - 0x5fc], 0
call fcn.00409600
mov byte [ebp - 4], 0xf
call fcn.0046b6b0
mov edi, eax
lea ecx, [ebp - 0x698]
push 0x77
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x5fc]
push eax
call fcn.00404630
mov esi, eax
push str.CheckOneInstance_hWnd:
push esi
mov byte [ebp - 4], 0x10
call fcn.00405780
add esp, 8
test esi, esi
jne 0x40dc2b
xor ecx, ecx
jmp 0x40dc32
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ecx + 0x14]
push dword [ebp - 0x600]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov ecx, esi
call fcn.0040c800
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x698]
call fcn.00405a10
lea ecx, [ebp - 0x5fc]
call fcn.00405000
lea ecx, [ebp - 0x5e4]
mov byte [ebp - 4], 0xd
call fcn.00405000
mov ecx, 0x5dc148
call fcn.0051c790
push eax
mov ecx, 0x5dc148
call fcn.0051cf00
jmp 0x40dd37
push 0x450
lea eax, [ebp - 0x5c8]
push 0
push eax
call fcn.0054f9f0
add esp, 0xc
lea ecx, [ebp - 0x5c8]
call fcn.004127c0
lea ecx, [ebp - 0x5c8]
mov byte [ebp - 4], 0x11
call fcn.0041a910
test eax, eax
je 0x40dd2c
push 0
push dword [ebp - 0x5c4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x5c8]
call fcn.0042b2e0
push eax
mov ecx, 0x5dc148
call fcn.0051dd10
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x98]
movq qword [ebp - 0x88], xmm0
movups xmmword [ebp - 0x98], xmm0
call fcn.0044d670
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x12
call fcn.0045e790
lea ecx, [ebp - 0x98]
call fcn.004501b0
lea ecx, [ebp - 0x5c8]
call fcn.00413690
mov edx, dword [ebp - 0x78]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40dd56
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x178]
call fcn.0044fcb0
lea ecx, [ebp - 0x7c]
call fcn.0051e920
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ca4d
mov esp, ebp
pop ebp
ret 4
call fcn.0055306a
call fcn.0055306a
call fcn.00408ed0
call fcn.0055306a
call fcn.0055306a
call fcn.0055306a
push 0x80004005
call fcn.00406060
int3