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

Disassembly:
sub esp, 0x60
mov edx, dword [esp + 0x6c]
push ebx
push ebp
shl edx, 2
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x78]
mov ebx, dword [edi + 0xa4]
mov eax, dword [ecx]
mov esi, dword [ecx + 8]
mov dword [esp + 0x78], edx
add edx, ebx
mov dword [esp + 0x7c], edx
mov edx, dword [edx]
add edx, 0x38
mov ebx, edx
mov ebp, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x64], edx
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
sub edx, ebp
sub ebx, dword [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 0xc]
sub ebx, ebp
mov dword [esp + 0x40], ebp
sub edx, dword [ecx + 4]
sub esi, eax
cmp ebx, edx
jg 0x4687ef
mov edx, ebx
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], eax
sub eax, ebp
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], ecx
add ecx, edx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x4688a7
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4688c3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
neg ecx
push ecx
neg edx
mov dword [esp + 0x40], eax
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 0xa4]
mov ebp, dword [esp + 0x78]
lea ecx, [esp + 0x30]
push ecx
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
add eax, ebp
mov eax, dword [eax]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x50]
jmp 0x4688c3
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx]
mov eax, dword [ecx]
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x80]
push edx
call dword [eax + 0x50]
mov ebx, dword [esp + 0x80]
mov eax, dword [edi + 0xa4]
shl ebx, 2
mov ecx, dword [ebx + eax]
add ecx, 0x38
mov edx, dword [ecx]
mov dword [esp + 0x60], edx
mov edx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
sub ecx, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x84]
shl ecx, 2
mov eax, dword [ecx + eax]
mov dword [esp + 0x78], ecx
sub ebp, dword [esp + 0x60]
xor edx, edx
add eax, 0x38
mov dword [esp + 0x54], edx
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
sub eax, edx
sub ecx, dword [esp + 0x54]
xor edx, edx
mov dword [esp + 0x2c], ecx
mov ecx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
sub ecx, eax
sub ecx, edx
add ecx, dword [esp + 0x40]
add esi, ecx
test esi, esi
mov dword [esp + 0x28], eax
jle 0x468b83
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x10], edx
add edx, eax
mov dword [esp + 0x7c], eax
mov eax, ecx
mov ecx, ebp
sub eax, ecx
add esi, eax
test esi, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x80], eax
jle 0x468a32
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4689ef
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x468a11
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
neg eax
push eax
neg ecx
mov dword [esp + 0x50], edx
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x34]
jmp 0x4689f5
push 0
lea ecx, [esp + 0x14]
mov eax, dword [edi + 0xa4]
push 0
push ecx
mov ecx, dword [esp + 0x80]
add eax, ebx
mov eax, dword [eax]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x50]
mov edx, dword [esp + 0x7c]
push 0
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
add esi, dword [esp + 0x80]
test esi, esi
jg 0x468980
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
add edx, esi
add ebp, esi
mov esi, dword [esp + 0x88]
xor eax, eax
test esi, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ebp
je 0x468b67
push esi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x468ae1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
neg eax
push eax
neg ecx
mov dword [esp + 0x50], edx
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 0xa4]
lea ecx, [esp + 0x40]
add eax, ebx
mov eax, dword [eax]
mov edx, dword [eax]
push ecx
push 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, eax
call dword [edx + 0x50]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
add ecx, eax
test esi, esi
mov dword [esp + 0x18], ecx
je 0x468b8f
push esi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x468bb4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
neg eax
push eax
neg ecx
mov dword [esp + 0x50], edx
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x34]
jmp 0x468b95
mov eax, dword [edi + 0xa4]
lea ecx, [esp + 0x50]
add eax, ebx
mov eax, dword [eax]
mov edx, dword [eax]
push ecx
push 0
lea ecx, [esp + 0x18]
jmp 0x468ad3
mov esi, dword [esp + 0x88]
jmp 0x468ae5
push 0
lea edx, [esp + 0x14]
mov edi, dword [edi + 0xa4]
mov eax, dword [esp + 0x7c]
mov ecx, dword [edi + eax]
push 0
add edi, eax
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x80]
push edx
call dword [eax + 0x50]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x18