Function at 0x10056a80
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9208
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10129fb4]
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]
test eax, eax
je 0x10056e4b
cmp dword [ebx + 0x14], eax
jne 0x10056e4b
call fcn.1006cd40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10056b82
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicwebwndwnd_base.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000b040
push 3
push 0x100f2f40
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000b040
mov byte [ebp - 4], 1
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0xec]
push 0x53
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007ce0
mov esi, eax
push 0x100f9978
push esi
mov byte [ebp - 4], 2
call fcn.10009020
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.100090e0
lea ecx, [ebp - 0x28]
call fcn.10008880
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10008880
push 0
push 0x1012cf90
push 0x1012cf6c
push 0
push dword [ebx + 0x14]
call fcn.100b9b55
add esp, 0x14
test eax, eax
je 0x10056bbe
push 0
push 0x1012cf90
push 0x1012cf6c
push 0
push dword [ebx + 0x14]
call fcn.100b9b55
add esp, 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebx + 0x130]
test ecx, ecx
je 0x10056bd0
push dword [ebx + 0x14]
call fcn.100197a0
push dword [ebx + 0x14]
mov ecx, dword [ebx + 0x34]
call fcn.1005e300
push 0
push 0x1012cf90
push 0x1012cf6c
push 0
push dword [ebx + 0x14]
call fcn.100b9b55
add esp, 0x14
test eax, eax
je 0x10056c17
push 0
push 0x1012cf90
push 0x1012cf6c
push 0
push dword [ebx + 0x14]
call fcn.100b9b55
add esp, 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov ecx, dword [ebx + 0x14]
lea edx, [ebp - 0x54]
push edx
lea edi, [ebx + 0x18]
mov dword [ebp - 0x54], 4
push edi
mov eax, dword [ecx]
push str.root_window
push ecx
call dword [eax + 0x2c]
mov ecx, dword [ebx + 0x34]
test ecx, ecx
jne 0x10056cfb
call fcn.1006cd40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10056e4b
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicwebwndwnd_base.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000b040
push 3
push 0x100f2f40
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000b040
mov byte [ebp - 4], 4
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0xec]
push 0x61
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007ce0
mov esi, eax
push str.web_window_opt_mgr_is_null_pointer
push esi
mov byte [ebp - 4], 5
call fcn.10009020
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.100090e0
lea ecx, [ebp - 0x40]
call fcn.10008880
lea ecx, [ebp - 0x28]
call fcn.10008880
jmp 0x10056e4b
cmp dword [ebx + 0x80], 0
je 0x10056d19
push 0
push 0
push 1
push 0
push str.OnViewCreated
call fcn.100611e0
mov ecx, dword [ebx + 0x34]
push ebx
call fcn.1005e4b0
mov eax, dword [ebx + 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp dword [ebx + 0x118], 0
je 0x10056e4b
cmp dword [0x10128aac], 0
je 0x10056dc8
push str.ntdll.dll
mov dword [ebp - 0x48], 0
xor edi, edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10056dbb
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10056d96
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
push ecx
call eax
movzx eax, word [ebp - 0x44]
mov edi, 1
mov dword [ebp - 0x44], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x10056dbb
cmp dword [ebp - 0x48], 6
jne 0x10056daf
cmp dword [ebp - 0x4c], 1
jae 0x10056db1
jmp 0x10056dbb
jbe 0x10056dbb
mov dword [0x1012f53c], 1
mov dword [0x10128aac], 0
lea edi, [ebx + 0x18]
cmp dword [0x1012f53c], 0
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
je 0x10056df3
push str.Program_Manager
push str.Progman
call esi
push 0
push 0
push 0x52c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push str.Program_Manager
push str.Progman
call esi
push 0
push str.SHELLDLL_DefView
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10056e31
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 0x1005a5f0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x50]
cmp dword [ebx + 0x84], 0
push esi
je 0x10056e3f
push dword [edi]
jmp 0x10056e45
push dword [ebx + 0x13c]
call dword [sym.imp.USER32.dll_SetParent]
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.1009e81e
mov esp, ebp
pop ebp
ret 4