Function at 0x481660
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
cmp edi, esi
jne 0x48167f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x48], esi
je 0x4817a6
cmp dword [edi + 4], esi
jne 0x4817a6
mov ecx, dword [edi + 0x47c]
add ecx, 8
call fcn.0049ca10
push esi
push esi
mov ebx, eax
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x4816f0
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4816d8
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4816d8
mov ecx, dword [ebp - 4]
cmp ecx, dword [edi + 0x48]
je 0x4816ec
push 0
push 0
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x4816b1
jmp 0x4816f0
test esi, esi
jne 0x48174a
mov edx, dword [0x50b3a0]
cmp byte [edx + 0x1235], 0
je 0x481746
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x48]
push ecx
push 0x478ba0
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 8]
test eax, eax
je 0x481746
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
jne 0x481746
mov edx, dword [ebp - 8]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
test esi, esi
je 0x4817a4
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x48]
mov edx, dword [ebp - 4]
push eax
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x4c]
push ecx
push edx
push ebx
push esi
or eax, 0x10
push eax
mov ecx, edi
call fcn.0047f7e0
xor esi, esi
mov eax, dword [edi + 0x66f0]
cmp eax, esi
je 0x4817f9
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4817e2
mov ecx, dword [edi + 0x40d0]
cmp ecx, esi
je 0x4817d7
mov eax, dword [edi + 0x4494]
test al, 4
je 0x4817d7
test al, 0x10
jne 0x4817d7
mov eax, ecx
jmp 0x4817d9
xor eax, eax
cmp eax, esi
setne al
test al, al
jne 0x4817f9
mov dword [edi + 0x66f0], esi
mov dword [edi + 0x66f4], esi
mov ecx, dword [0x50b39c]
call fcn.004063a0
cmp dword [edi + 0x66f0], esi
jne 0x48182f
mov ecx, dword [edi + 0x47c]
add ecx, 8
call fcn.0049ca00
push eax
mov ecx, edi
call fcn.00478b30
mov dword [edi + 0x66f0], eax
cmp eax, esi
jne 0x48182f
push esi
mov ecx, edi
call fcn.00478b30
mov dword [edi + 0x66f0], eax
mov eax, dword [edi + 0x66f0]
cmp eax, esi
je 0x481858
cmp dword [edi + 0x66f4], esi
jne 0x481860
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x481858
mov dword [edi + 0x66f0], esi
mov dword [edi + 0x66f4], esi
cmp dword [edi + 0x66f4], esi
je 0x48186e
cmp dword [edi + 0x66f0], esi
jne 0x48186e
mov dword [edi + 0x66f4], esi
mov eax, dword [edi + 0x66f0]
cmp eax, esi
je 0x4818e8
cmp dword [ebp + 8], esi
je 0x4818e8
push 0x80
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4818e8
mov ecx, str.FarMultiViewControlClass
lea eax, [ebp - 0x118]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4818c6
cmp dx, si
je 0x4818c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4818c6
add eax, 4
add ecx, 4
cmp dx, si
jne 0x4818a0
xor eax, eax
jmp 0x4818cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x4818e8
mov edx, dword [edi + 0x66f0]
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x200
jne 0x481674
mov eax, dword [edi + 0x66f0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4