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

Disassembly:
push 0x18
mov eax, 0x635abd
call fcn.0058c0ed
mov edi, ecx
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, 0x6401e8
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402035
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x40]
push eax
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401493
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x18], eax
push dword [edi + 0x7c]
mov ecx, dword [edi + 0x74]
call fcn.00409b29
mov byte [esi + 0x34], al
mov al, byte [edi + 0xb0]
mov byte [esi + 9], al
cmp byte [edi + 0x84], 0
mov byte [esi + 0x64], 0
sete al
mov byte [esi + 0xa], al
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
lea ecx, [esi + 0x20]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov al, byte [edi + 0xb1]
mov byte [esi + 0x24], al
lea eax, [edi + 0x80]
push eax
call fcn.00401dd7
call fcn.0054f69d
push eax
lea ecx, [ebp + 8]
call fcn.004018a6
push dword [edi + 0xac]
lea eax, [ebp + 8]
push 0x641ad4
push eax
mov dword [ebp - 4], 1
call fcn.00401e49
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [esi + 0x44]
push eax
call fcn.00401dd7
mov al, byte [edi + 0xb8]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0xe8]
push ebx
lea ecx, [ebp - 0x10]
mov dword [esi + 0x38], eax
call fcn.00402035
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402035
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x4c]
push eax
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402035
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
push ebx
lea ecx, [ebp - 0x10]
mov byte [esi + 0x62], 0
mov byte [esi + 0x61], 0
mov byte [esi + 0x63], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], edi
mov byte [esi + 0x65], 0
mov byte [esi + 0x66], 0
mov byte [esi + 0x67], 0
mov byte [esi + 0x68], 1
mov byte [esi + 0x69], 0
mov byte [esi + 0x6a], 0
mov byte [esi + 0x6b], 0
call fcn.00402035
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x50]
push eax
mov byte [ebp - 4], 5
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
push ebx
lea ecx, [ebp - 0x10]
mov byte [esi + 0x6d], 0
mov byte [esi + 0x6e], 0
call fcn.00402035
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x54]
push eax
mov byte [ebp - 4], 6
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402035
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x58]
push eax
mov byte [ebp - 4], 7
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
and dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x64
mov byte [esi + 0x6c], 0
mov byte [esi + 0x6d], 0
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 0xc48]
push ebx
lea ecx, [ebp - 0x10]
mov dword [esi + 0x30], eax
mov byte [esi + 0x6e], 0
call fcn.00402035
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 8
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402035
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 9
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
push ebx
lea ecx, [ebp - 0x14]
call fcn.00402035
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x5c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401dd7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
mov byte [esi + 0x6f], 0
mov eax, dword [edi + 0xe8]
mov dword [esi + 0x38], eax
mov byte [esi + 0x70], 0
mov byte [esi + 0x3c], 0
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 0x14c8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4edbfa
mov ecx, dword [edi + 0x74]
lea eax, [ebp - 0x14]
push eax
add ecx, 0x14c4
call fcn.00408c8a
mov eax, dword [eax]
mov ecx, dword [eax + 0x23c]
cmp ecx, dword [edi + 0x78]
jne 0x4edbf4
mov ecx, dword [eax + 0x1c8]
and ecx, dword [eax + 0x1cc]
cmp ecx, 0xffffffff
je 0x4edbf4
mov byte [esi + 0x64], 1
cmp dword [ebp - 0x14], 0
jne 0x4edbc0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
call fcn.0058c1c5
ret 4