Function at 0x10049660
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d91a3
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x10116404]
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 - 0x64], ebx
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x100e28c0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebx + 0xa4], 0
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
je 0x100496fb
cmp dword [ebx + 0x124], 0
je 0x100496de
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
or eax, 0xcf0000
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp byte [ebx + 0x168], 0
je 0x100496fb
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
and eax, 0xfffdffff
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp dword [ebx + 0x128], 0
je 0x10049718
push 0xffffffffffffffec
push dword [ebx + 4]
call esi
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [ebx + 0xb4]
mov esi, eax
mov eax, dword [ebx + 0xb0]
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], eax
call fcn.10026ec0
mov dword [ebp - 4], 0
call fcn.100649b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10049889
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicwebwndweb_wnd.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10009f20
push 3
push 0x100e2cf8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10009f20
mov byte [ebp - 4], 2
call fcn.100649b0
mov edi, eax
lea ecx, [ebp - 0xfc]
push 0x53
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10006e30
mov esi, eax
push str.icon_path:
push esi
mov byte [ebp - 4], 3
call fcn.10008110
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, 0x100e2b30
cmovae ecx, dword [ebp - 0x58]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10004530
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xfc]
call fcn.100081d0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1004983c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10049832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049a56
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10049886
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004987c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049a5b
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov edi, dword [sym.imp.USER32.dll_SetClassLongW]
test ecx, ecx
jle 0x100498c6
cmp dword [ebp - 0x48], 0
jne 0x100498d0
movzx eax, cx
push eax
push esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
test esi, esi
je 0x100498c6
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 edi
cmp dword [ebp - 0x48], 0
je 0x100499ff
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x2010
cmovae eax, dword [ebp - 0x58]
push 0
push 0
push 1
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
mov dword [ebp - 0x5c], esi
call fcn.100649b0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x100499e2
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 - 0x28]
mov dword [ebp - 0x18], 0
mov ebx, eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10009f20
push 3
push 0x100e2cf8
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.10009f20
mov byte [ebp - 4], 5
call fcn.100649b0
mov edi, eax
lea ecx, [ebp - 0xfc]
push 0x5f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10006e30
mov esi, eax
push str.set_icon:
push esi
mov byte [ebp - 4], 6
call fcn.10008110
add esp, 8
mov ecx, esi
push dword [ebp - 0x5c]
call fcn.10010c40
push 0x100e5e98
push esi
call fcn.10008110
add esp, 8
mov ecx, esi
push ebx
call fcn.100273a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xfc]
call fcn.100081d0
lea ecx, [ebp - 0x40]
call fcn.100079d0
lea ecx, [ebp - 0x28]
call fcn.100079d0
mov ebx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x5c]
mov edi, dword [sym.imp.USER32.dll_SetClassLongW]
test esi, esi
je 0x100499ff
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 edi
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10049a35
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10049a2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049a60
push edx
push ecx
call fcn.1008f7e1
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.1008fb60
mov esp, ebp
pop ebp
ret
call fcn.100adb49
call fcn.100adb49
call fcn.100adb49
int3