Function at 0x467210
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
push ebx
push ebp
mov ebp, dword [esp + 0x44]
mov eax, dword [ebp]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x130b
push eax
call esi
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x4674f8
mov ecx, dword [ebp]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, eax
shr eax, 0x1b
shr edx, 0x1c
and al, 1
not dl
mov byte [esp + 0x11], al
mov eax, dword [edi + 4]
and dl, 1
push eax
mov byte [esp + 0x14], dl
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne bl
test bl, bl
je 0x467285
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0xf], 1
test eax, eax
je 0x46728a
mov byte [esp + 0xf], 0
cmp byte [esp + 0x10], 0
jne 0x4672cc
cmp byte [esp + 0x11], 0
jne 0x4672cc
cmp byte [esp + 0x4c], 0
je 0x4672a6
mov byte [esp + 0x4c], 0
jmp 0x4672d1
test bl, bl
je 0x4672cc
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4672cc
mov ebx, edi
call fcn.004012b0
test eax, eax
je 0x4672cc
mov dl, byte [eax + 6]
mov byte [esp + 0x4c], 0
cmp dl, byte [ebp + 7]
je 0x4672d1
mov byte [esp + 0x4c], 1
mov ecx, dword [ebp]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov bl, byte [esp + 0xf]
test bl, bl
je 0x4672f4
mov edx, dword [edi + 4]
push 0
push 0
push 0xb
push edx
call esi
cmp dword [edi + 0x10], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], 0
jbe 0x467491
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
mov dword [esp + 0x18], esi
jmp 0x467320
add esi, dword [edi + 0x18]
mov edx, dword [esp + 0x48]
mov cl, byte [esi + 6]
cmp cl, byte [edx + 7]
jne case.0x467451.1
movzx eax, byte [esi + 7]
cmp eax, dword [esp + 0x1c]
sete al
cmp byte [esp + 0x10], 0
mov byte [esp + 0x13], al
jne 0x467358
test al, al
je 0x467358
test byte [esi + 5], 8
mov byte [esp + 0xd], 1
je 0x46735d
mov byte [esp + 0xd], 0
cmp byte [esp + 0x11], 0
jne 0x467373
test al, al
je 0x467373
test byte [esi + 5], 0x10
mov byte [esp + 0xe], 1
je 0x467378
mov byte [esp + 0xe], 0
mov ecx, dword [esi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
shr eax, 0x1b
not al
and al, 1
shr ecx, 0x1c
mov bl, al
xor al, al
and cl, 1
cmp byte [esp + 0xd], al
je 0x4673a7
test cl, cl
jne 0x4673b4
mov eax, dword [esi]
push 4
push eax
jmp 0x4673b0
test cl, cl
je 0x4673b4
mov ecx, dword [esi]
push 0
push ecx
call ebp
mov al, 1
cmp byte [esp + 0xe], 0
je 0x4673cc
test bl, bl
jne 0x4673dd
mov edx, dword [esi]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4673e1
test bl, bl
je 0x4673dd
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4673e1
test al, al
je 0x467424
mov edx, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
je 0x46741f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
jne 0x467424
mov byte [esp + 0x12], 1
cmp byte [esp + 0x4c], 0
jne case.0x467451.1
cmp byte [esp + 0x13], 0
je case.0x467451.1
cmp byte [esp + 0xd], 0
je case.0x467451.1
cmp byte [esp + 0xe], 0
je case.0x467451.1
movzx eax, byte [esi + 4]
dec eax
cmp eax, 0x11
ja case.0x467451.4
movzx eax, byte [eax + 0x46750c]
jmp dword [eax*4 + 0x467504]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
inc eax
add esi, 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
cmp eax, dword [edi + 0x10]
jb 0x467320
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [esp + 0x48]
mov bl, byte [esp + 0xf]
test bl, bl
je 0x4674a1
mov edx, dword [edi + 4]
push 0
push 1
push 0xb
push edx
call esi
cmp byte [esp + 0x4c], 0
jne 0x4674b2
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
test bl, bl
je 0x4674f8
cmp byte [esp + 0x12], 0
je 0x4674d4
mov ecx, dword [edi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
mov eax, dword [edi + 4]
push 2
lea edx, [esp + 0x34]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [edi + 4]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8