Function at 0x493870
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 0x49388f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x4c], esi
je 0x4939b5
cmp dword [edi + 0x10], esi
jne 0x4939b5
mov ecx, dword [edi]
add ecx, 8
call fcn.004b32f0
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 0x4938ff
lea ecx, [ecx]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4938e7
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4938e7
mov ecx, dword [ebp - 4]
cmp ecx, dword [edi + 0x4c]
je 0x4938fb
push 0
push 0
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x4938c0
jmp 0x4938ff
test esi, esi
jne 0x493959
mov edx, dword [0x52fe30]
cmp byte [edx + 0x1235], 0
je 0x493955
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x4c]
push ecx
push 0x488cc0
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 8]
test eax, eax
je 0x493955
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
jne 0x493955
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 0x4939b3
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 + 0x4c]
mov edx, dword [ebp - 4]
push eax
mov eax, dword [edi + 0x2c]
lea ecx, [edi + 0x50]
push ecx
push edx
push ebx
push esi
or eax, 0x10
push eax
mov ecx, edi
call fcn.00491040
xor esi, esi
mov eax, dword [edi + 0x6b9c]
cmp eax, esi
je 0x493a08
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4939f1
mov ecx, dword [edi + 0x46c8]
cmp ecx, esi
je 0x4939e6
mov eax, dword [edi + 0x4924]
test al, 4
je 0x4939e6
test al, 0x10
jne 0x4939e6
mov eax, ecx
jmp 0x4939e8
xor eax, eax
cmp eax, esi
setne al
test al, al
jne 0x493a08
mov dword [edi + 0x6b9c], esi
mov dword [edi + 0x6ba0], esi
mov ecx, dword [0x52fe2c]
call fcn.0040a600
cmp dword [edi + 0x6b9c], esi
jne 0x493a3a
mov ecx, dword [edi]
add ecx, 8
call fcn.004b32e0
push eax
mov ecx, edi
call fcn.00488c50
mov dword [edi + 0x6b9c], eax
cmp eax, esi
jne 0x493a3a
push esi
mov ecx, edi
call fcn.00488c50
mov dword [edi + 0x6b9c], eax
mov eax, dword [edi + 0x6b9c]
cmp eax, esi
je 0x493a63
cmp dword [edi + 0x6ba0], esi
jne 0x493a6b
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x493a63
mov dword [edi + 0x6b9c], esi
mov dword [edi + 0x6ba0], esi
cmp dword [edi + 0x6ba0], esi
je 0x493a79
cmp dword [edi + 0x6b9c], esi
jne 0x493a79
mov dword [edi + 0x6ba0], esi
mov eax, dword [edi + 0x6b9c]
cmp eax, esi
je 0x493af8
cmp dword [ebp + 8], esi
je 0x493af8
push 0x80
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x493af8
mov ecx, str.FarMultiViewControlClass
lea eax, [ebp - 0x118]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x493ad6
cmp dx, si
je 0x493ad2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x493ad6
add eax, 4
add ecx, 4
cmp dx, si
jne 0x493ab0
xor eax, eax
jmp 0x493adb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x493af8
mov edx, dword [edi + 0x6b9c]
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x200
jne 0x493884
mov eax, dword [edi + 0x6b9c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4