Function at 0x1005c3a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff6ce
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x10141fc4]
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 0x1005c45b
cmp dword [ebx + 0x128], 0
je 0x1005c43e
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 0x1005c45b
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 0x1005c478
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 0x1005c4af
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
call fcn.10007a20
mov ecx, ebx
call fcn.1005cf20
lea eax, [ebx + 0x170]
push eax
lea ecx, [ebp - 0x88]
call fcn.10007a20
cmp dword [ebp - 0x78], 0
mov byte [ebp - 4], 2
je 0x1005c4e3
sub esp, 0x18
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.10007a20
mov ecx, ebx
call fcn.1005d2d0
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.100796a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005c66b
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 0x10109f40
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.100796a0
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 0x1005c615
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c60b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ca3a
push edx
push ecx
call fcn.100af97f
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 0x1005c65f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c655
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ca3f
push edx
push ecx
call fcn.100af97f
add esp, 8
mov esi, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xb0]
test esi, esi
jle 0x1005c6af
cmp dword [ebp - 0x18], 0
jne 0x1005c6b9
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 0x1005c6a9
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 0x1005c8de
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.1008ff60
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 0x1005c70c
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.100d46a7
add esp, 8
test eax, eax
je 0x1005c910
push str..tpi
push dword [ebp - 0xa4]
call fcn.100d46a7
add esp, 8
test eax, eax
je 0x1005c910
push str..exe
push dword [ebp - 0xa4]
call fcn.100d46a7
add esp, 8
test eax, eax
je 0x1005c910
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.100796a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005c887
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 0x10109f40
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.100796a0
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 0x1010dae0
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 0x1005c8a8
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 0x1005c8bc
test edi, edi
je 0x1005c8bc
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 0x1005c8de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1005c956
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c94c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ca44
jmp 0x1005c94c
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 0x1005c881
movzx eax, si
push eax
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
jmp 0x1005c887
push edx
push ecx
call fcn.100af97f
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 0x1005c9a7
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c99d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ca49
push edx
push ecx
call fcn.100af97f
add esp, 8
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x1005c9e3
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c9d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ca4e
push edx
push ecx
call fcn.100af97f
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1005ca19
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005ca0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ca53
push edx
push ecx
call fcn.100af97f
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.100afcfe
mov esp, ebp
pop ebp
ret
call fcn.100ce5da
call fcn.100ce5da
call fcn.100ce5da
call fcn.100ce5da
call fcn.100ce5da
call fcn.100ce5da
int3