Function at 0x436697
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push ebx
push ebp
xor eax, eax
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x74]
mov dword [esi + 0x90], eax
mov dword [esp + 0x14], eax
lea eax, [esi + 0x34]
movzx ebp, di
mov byte [esp + 0x13], 1
shr edi, 0x10
mov dword [esp + 0x1c], 0xe
mov dword [esp + 0x20], 0x2b
mov dword [esp + 0x24], 0xba
mov dword [esp + 0x28], 0x54
lea ebx, [esi + 0x40]
mov dword [esp + 0x18], eax
mov edi, edi
push edi
push ebp
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4367a5
mov edx, dword [esp + 0x14]
push edi
push ebp
add edx, 1
push ebx
mov byte [esi + 0x94], 1
mov dword [esi + 0x90], edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43679e
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43679e
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
xor eax, eax
push 0x521
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, esp
mov dword [esp + 0x64], edx
mov dword [esi + 0x28], eax
mov dword [ecx], eax
lea ecx, [esi + 0x24]
call fcn.00436530
lea eax, [edi + 1]
push eax
lea ecx, [ebp + 1]
push ecx
lea eax, [edi - 1]
push eax
lea edx, [ebp - 1]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x4c]
push ecx
push 0
push 0x407
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x13], 0
jmp 0x4367c7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov byte [esi + 0x94], 0
mov dword [ebx], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
add dword [esp + 0x18], 4
mov eax, 0x3e
add dword [esp + 0x20], eax
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
add eax, 1
add ebx, 0x10
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x4366e0
push edi
push ebp
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0xa1
mov dword [esp + 0x3c], 0xe9
mov dword [esp + 0x40], 0xb1
mov dword [esp + 0x44], 0xf9
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x436925
push edi
push ebp
lea ebx, [esi + 0x80]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4368f3
mov edx, dword [esi + 0x24]
lea ebx, [esi + 0x24]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4368bf
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
push 0x521
mov dword [esp + 0x5c], eax
xor eax, eax
push ecx
push ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x58], ecx
mov eax, esp
mov dword [esp + 0x60], edx
mov dword [esi + 0x28], 0x49b9c8
mov ecx, ebx
mov dword [eax], 0x49b9c8
call fcn.00436530
mov ecx, dword [ebx]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0x401
push ecx
call ebx
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x4c]
push edx
push 0
push 0x407
push eax
call ebx
jmp 0x4368c5
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [edi + 1]
push eax
lea ecx, [ebp + 1]
push ecx
lea eax, [edi - 1]
push eax
lea edx, [ebp - 1]
push edx
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov dword [esi + 0x90], 4
mov byte [esp + 0x13], 0
jmp 0x43692b
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x90], 4
mov byte [esp + 0x13], 0
jmp 0x43692b
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push ebp
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], 0xb4
mov dword [esp + 0x4c], 0xe9
mov dword [esp + 0x50], 0xc4
mov dword [esp + 0x54], 0xf9
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x436a49
push edi
lea eax, [esi + 0x70]
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x436a0a
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4369ee
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push 0x521
mov dword [esp + 0x58], eax
xor eax, eax
push ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x7c]
push ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x58], ecx
mov eax, esp
mov dword [esp + 0x64], edx
mov dword [esi + 0x28], 0x49b9c0
lea ecx, [esi + 0x24]
mov dword [eax], 0x49b9c0
call fcn.00436530
mov eax, dword [esi + 0x24]
push 0
push 1
push 0x401
push eax
call ebx
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x4c]
push ecx
push 0
push 0x407
push edx
call ebx
lea eax, [edi + 1]
push eax
lea ecx, [ebp + 1]
push ecx
add edi, 0xffffffff
push edi
add ebp, 0xffffffff
push ebp
lea eax, [esi + 0x70]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x436a26
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x90], 5
mov ecx, dword [esp + 0x78]
mov dword [ecx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10
cmp byte [esp + 0x13], 0
je 0x436a30
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push 0x521
mov dword [esp + 0x58], eax
xor eax, eax
push ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x28], 0x49a44b
push ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x58], ecx
mov eax, esp
add esi, 0x24
mov dword [esp + 0x64], edx
mov ecx, esi
mov dword [eax], 0x49a44b
call fcn.00436530
mov eax, dword [esi]
push 0
push 1
push 0x401
push eax
call ebx
mov edx, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
push 0
push 0x407
push edx
call ebx
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
add esp, 0x58
ret 0x10