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

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
sub esp, 0x14
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
add edx, ecx
push edx
push eax
push ecx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x18]
add ecx, 0x10
push ecx
lea edx, [esp + 8]
push edx
mov eax, edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x46b7e5
add esp, 0x14
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
sub ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
cdq
idiv ecx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
push edi
sub ebp, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebp
mov edi, edx
test edi, edi
jge 0x46b817
add edi, ecx
mov eax, dword [esp + 0x3c]
cdq
idiv ebp
push ebx
mov ebx, edx
test ebx, ebx
jge 0x46b827
add ebx, ebp
xor edx, edx
test edi, edi
setne dl
mov eax, ebx
neg eax
sbb eax, eax
and eax, 2
or edx, eax
mov dword [esp + 0x30], edx
je 0x46b9be
mov eax, dword [esp + 0x28]
test eax, eax
je 0x46b853
mov edx, dword [eax]
movzx eax, word [edx + 0xe]
jmp 0x46b855
xor eax, eax
movzx eax, ax
push eax
push ebp
push ecx
call fcn.004654c0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x46b871
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push esi
push eax
push ecx
push 0
push 0
push ebp
call fcn.00434610
mov eax, dword [esp + 0x50]
add esp, 0x20
sub eax, 1
je 0x46b975
sub eax, 1
je 0x46b93b
sub eax, 1
jne 0x46b9b5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
sub eax, ebx
push eax
sub ecx, edi
push ecx
push ebx
push edi
push ebp
push esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
push edx
push eax
mov dword [esp + 0x30], ecx
call fcn.00434610
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
sub ecx, edi
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
push ecx
push edi
push ebx
push 0
push ebp
push esi
push eax
push edx
mov dword [esp + 0x74], eax
call fcn.00434610
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
add esp, 0x40
push ebx
push ecx
push 0
push edi
sub esi, ebx
add esi, eax
mov eax, dword [esp + 0x38]
push ebp
push esi
push edx
push eax
call fcn.00434610
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
push ebx
push edi
push 0
push 0
push ebp
push esi
push ecx
push edx
jmp 0x46b9ad
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sub eax, ebx
push eax
push ecx
push ebx
push 0
push ebp
push esi
push edi
push edx
call fcn.00434610
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
push ebx
push eax
push 0
push 0
sub esi, ebx
add esi, dword [esp + 0x68]
push ebp
push esi
push edi
push ecx
jmp 0x46b9ad
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
sub eax, edi
push eax
push 0
push edi
push ebp
push esi
push ebx
push ecx
call fcn.00434610
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
push edx
push edi
push 0
push 0
push ebp
sub ebx, edi
add ebx, dword [esp + 0x68]
push esi
push ebx
push eax
call fcn.00434610
add esp, 0x40
push ebp
call fcn.00464d30
add esp, 4
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x14
ret