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

Disassembly:
sub esp, 0x64
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
cmp byte [esi + 0x14], bl
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
je 0x3008416f
cmp dword [esi + 8], ebx
jne 0x3008416f
mov eax, dword [esi + 4]
mov byte [esp + 0x13], 1
jmp 0x30084177
mov eax, dword [esi + 8]
mov byte [esp + 0x13], 0
cmp eax, ebx
mov ecx, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebp, dword [esp + 0x80]
je 0x3008419a
cmp ebp, ebx
je 0x3008419a
push ecx
push ebp
push eax
call edi
mov dword [esp + 0x18], eax
jmp 0x3008419e
mov dword [esp + 0x18], ebx
cmp byte [esp + 0x13], 0
je 0x300841aa
mov eax, dword [esi + 0xc]
jmp 0x300841ad
mov eax, dword [esi + 4]
cmp eax, ebx
mov esi, dword [esi + 0xc]
je 0x300841c3
cmp ebp, ebx
je 0x300841c3
push esi
push ebp
push eax
call edi
mov dword [esp + 0x20], eax
jmp 0x300841c7
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x78]
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
sub ecx, eax
sub edx, eax
cmp ecx, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
jge 0x30084328
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0x84]
lea esp, [esp]
mov esi, dword [esp + 0x7c]
cmp esi, eax
jge 0x30084286
jmp 0x30084210
mov eax, dword [esp + 0x7c]
mov edx, dword [edi + 0x10]
mov ebp, dword [edi + 4]
add eax, esi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x44], ecx
push eax
mov ecx, eax
push ecx
mov dword [esp + 0x40], esi
call dword [sym.imp.USER32.dll_IntersectRect]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x28]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
add eax, eax
add esi, eax
cmp esi, dword [ebx + 8]
jl 0x30084210
mov ebp, dword [esp + 0x80]
mov eax, dword [ebx + 8]
xor esi, esi
test eax, eax
jle 0x3008430d
nop
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
mov ebp, dword [edi + 4]
lea eax, [esi + edx]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x48], ecx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x54], edx
push ecx
mov edx, ecx
push edx
mov dword [esp + 0x50], esi
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x68], ecx
push eax
mov dword [esp + 0x70], edx
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x28]
mov eax, dword [esp + 0x7c]
add eax, eax
add esi, eax
mov eax, dword [ebx + 8]
cmp esi, eax
jl 0x30084290
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x80]
add dword [esp + 0x18], ebp
add dword [esp + 0x20], ebp
add dword [esp + 0x30], ebp
add ecx, ebp
cmp ecx, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
jl 0x30084200
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10