Function at 0x1005b660
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fae0e
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1013cfc4]
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 dword [ebp - 0xb8], ebx
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x188]
push eax
lea ecx, [ebp - 0x70]
call fcn.10007a20
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x70]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebx + 0xa8], 0
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
je 0x1005b71b
cmp dword [ebx + 0x128], 0
je 0x1005b6fe
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
or eax, 0xcf0000
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp byte [ebx + 0x150], 0
je 0x1005b71b
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
and eax, 0xfffdffff
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp dword [ebx + 0x12c], 0
je 0x1005b738
push 0xffffffffffffffec
push dword [ebx + 4]
call esi
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call edi
lea eax, [ebx + 0x158]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10007a20
cmp dword [ebp - 0x90], 0
mov byte [ebp - 4], 1
je 0x1005b76f
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
call fcn.10007a20
mov ecx, ebx
call fcn.1005c1e0
lea eax, [ebx + 0x170]
push eax
lea ecx, [ebp - 0x88]
call fcn.10007a20
cmp dword [ebp - 0x78], 0
mov byte [ebp - 4], 2
je 0x1005b7a3
sub esp, 0x18
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.10007a20
mov ecx, ebx
call fcn.1005c590
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [ebx + 0xb4]
lea ecx, [ebx + 0xb8]
mov edi, eax
mov dword [ebp - 0xa4], esi
xor eax, eax
mov dword [ebp - 0xb0], edi
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xa8], eax
call fcn.10007a20
mov byte [ebp - 4], 3
call fcn.10078910
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005b92b
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicwebwndweb_wnd.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.1000af60
push 3
push 0x10104f40
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000af60
mov byte [ebp - 4], 5
call fcn.10078910
mov edi, eax
lea ecx, [ebp - 0x150]
push 0xaa
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007c00
mov esi, eax
push str.icon_path:
push esi
mov byte [ebp - 4], 6
call fcn.10008f40
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, str._null_
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10005ad0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x150]
call fcn.10009000
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x1005b8d5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005b8cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bcfa
push edx
push ecx
call fcn.100ab24f
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1005b91f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005b915
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bcff
push edx
push ecx
call fcn.100ab24f
add esp, 8
mov esi, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xb0]
test esi, esi
jle 0x1005b96f
cmp dword [ebp - 0x18], 0
jne 0x1005b979
movzx eax, si
push eax
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
mov dword [ebp - 0xa8], esi
test esi, esi
je 0x1005b969
push esi
push 1
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0xfffffffffffffff2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov esi, dword [ebp - 0xa4]
cmp dword [ebp - 0x18], 0
je 0x1005bb9e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xb4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100078e0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1008b780
add esp, 8
mov edx, dword [ebp - 0xb4]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005b9cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str..dll
push dword [ebp - 0xa4]
mov dword [ebp - 0xac], 0
call fcn.100cff47
add esp, 8
test eax, eax
je 0x1005bbd0
push str..tpi
push dword [ebp - 0xa4]
call fcn.100cff47
add esp, 8
test eax, eax
je 0x1005bbd0
push str..exe
push dword [ebp - 0xa4]
call fcn.100cff47
add esp, 8
test eax, eax
je 0x1005bbd0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x2010
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push 1
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
mov dword [ebp - 0xa8], esi
call fcn.10078910
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005bb47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicwebwndweb_wnd.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000af60
push 3
push 0x10104f40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000af60
mov byte [ebp - 4], 0xb
call fcn.10078910
mov edi, eax
lea ecx, [ebp - 0x150]
push 0xc4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10007c00
mov esi, eax
push str.set_icon:
push esi
mov byte [ebp - 4], 0xc
call fcn.10008f40
mov eax, dword [ebp - 0xa8]
add esp, 8
mov ecx, esi
push eax
call fcn.10014830
push 0x10108a90
push esi
call fcn.10008f40
add esp, 8
mov ecx, esi
push ebx
call fcn.10014680
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x150]
call fcn.10009000
lea ecx, [ebp - 0x58]
call fcn.100087a0
lea ecx, [ebp - 0x40]
call fcn.100087a0
mov ebx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x1005bb68
push esi
push 1
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0xfffffffffffffff2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
cmp dword [ebp - 0xac], 0
je 0x1005bb7c
test edi, edi
je 0x1005bb7c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0xa4]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005bb9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1005bc16
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005bc0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bd04
jmp 0x1005bc0c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 2
cmovae eax, dword [ebp - 0x28]
push 0
push eax
mov dword [ebp - 0xac], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1005bb41
movzx eax, si
push eax
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
jmp 0x1005bb47
push edx
push ecx
call fcn.100ab24f
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x1005bc67
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005bc5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bd09
push edx
push ecx
call fcn.100ab24f
add esp, 8
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x1005bca3
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005bc99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bd0e
push edx
push ecx
call fcn.100ab24f
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1005bcd9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005bccf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bd13
push edx
push ecx
call fcn.100ab24f
add esp, 8
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.100ab5ce
mov esp, ebp
pop ebp
ret
call fcn.100c9e7a
call fcn.100c9e7a
call fcn.100c9e7a
call fcn.100c9e7a
call fcn.100c9e7a
call fcn.100c9e7a
int3