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

Disassembly:
mov eax, 0x301702f3
call fcn.30118c00
sub esp, 0xd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], esi
xor bl, bl
call fcn.3007aebb
test byte [esi + 0x41], 3
je 0x3007c89e
call fcn.3007928b
xor edi, edi
push edi
lea ecx, [ebp - 0x78]
call fcn.3007af51
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], edi
call fcn.3007af51
push dword [ebp + 8]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x68]
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], eax
call fcn.3007b635
test al, al
je 0x3007c8e7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.300a3cdf
mov bl, 1
test byte [esi + 0x54], 4
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
je 0x3007c8fd
mov ecx, esi
call fcn.3007d0d8
mov ax, word [esi + 0x40]
test al, 0x30
je 0x3007c91b
mov ecx, dword [esi + 0x3c]
cmp ecx, edi
je 0x3007c91b
and al, 0xc0
cmp al, 0x40
sete al
push edi
push edi
push eax
call fcn.300793ba
test bl, bl
je 0x3007cc15
cmp dword [esi + 0x78], edi
je 0x3007cc15
cmp dword [esi + 0x7c], edi
je 0x3007cc15
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov ecx, dword [eax + 8]
cmp ecx, edi
mov byte [ebp - 4], 2
mov byte [ebp - 0x11], 0
je 0x3007c95a
call fcn.300eeea2
jmp 0x3007c95d
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.USER32.dll_WindowFromDC]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x3007c980
call fcn.300eeea2
jmp 0x3007c983
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetViewportOrgEx]
mov eax, dword [ebp - 0x30]
neg eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x2c]
neg eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test byte [esi + 0x54], 0x80
jne 0x3007ca2e
mov cx, word [esi + 0x42]
test ch, 0xff
jne 0x3007c9e6
mov eax, ecx
and eax, 0xff
cmp ax, 2
je 0x3007ca2e
cmp ax, di
je 0x3007ca2e
movzx eax, cx
shr eax, 8
push eax
xor bl, bl
call fcn.3007dc20
test al, al
je 0x3007ca15
cmp dword [ebp + 8], edi
jne 0x3007ca0b
cmp byte [ebp + 0xc], bl
jne 0x3007ca0b
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
push edi
call dword [eax + 0x24]
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
push 1
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x3007ca32
push 0x30007bd4
call fcn.3006b062
cmp eax, edi
je 0x3007ca32
xor cl, cl
jmp 0x3007ca34
mov bl, 1
jmp 0x3007ca15
mov cl, 1
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x3007ca42
test cl, cl
je 0x3007ca47
call fcn.3013a949
push dword [esi + 0x10]
lea ecx, [ebp - 0xd8]
mov dword [ebp + 0xc], eax
call fcn.30079934
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x98], eax
mov al, byte [esi + 0x81]
push edi
mov byte [ebp - 4], 3
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push eax
call fcn.300ffa74
mov al, byte [esi + 0x81]
mov ecx, dword [esi + 0x18]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push eax
push edi
call fcn.300fe018
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.3007d0d8
push dword [ebp + 8]
mov ecx, esi
call fcn.300a3d50
test bl, bl
jne 0x3007cbdf
mov dword [ebp - 0x1c], edi
movzx eax, byte [esi + 0x43]
push eax
mov byte [ebp - 4], 4
call fcn.3007dc20
test al, al
je 0x3007cb3f
mov dword [ebp - 0x18], edi
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 5
call dword [eax + 0x34]
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
push edi
call dword [eax + 0x30]
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov dword [ebp + 8], edi
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push edi
push dword [ebp - 0x18]
mov byte [ebp - 4], 6
call dword [eax + 0x14]
push 8
call fcn.30134c8b
mov dword [ebp - 0x58], eax
push dword [ebp + 8]
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.3007afad
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
call fcn.300c1990
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.300c1990
jmp 0x3007cb47
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x3007cb58
call fcn.300a22ab
mov dword [ebp + 8], eax
jmp 0x3007cb5b
mov dword [ebp + 8], edi
movzx eax, word [esi + 0x42]
movzx ecx, byte [esi + 0x44]
mov edi, eax
shr eax, 8
push ecx
and edi, 0xff
mov ebx, eax
call fcn.3007ded0
mov cl, byte [esi + 0x81]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0xdc]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp + 8]
push dword [ebp - 0x1c]
push 0
push eax
push edi
push ebx
push 1
call fcn.30084bb0
lea eax, [esi + 0x64]
push eax
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 8
call fcn.3007f4d0
push dword [esi + 0x78]
lea ecx, [ebp - 0xdc]
call fcn.30085410
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.3007f5a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.3007c436
xor edi, edi
jmp 0x3007cbe7
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov bl, 1
mov byte [esi + 0x95], 0
mov byte [esi + 0x96], 0
mov byte [esi + 0x97], 0
mov byte [esi + 0x98], 0
jmp 0x3007cc15
test bl, bl
mov dword [ebp - 4], 1
jne 0x3007cc2f
mov ecx, esi
call fcn.300a41a4
push edi
mov ecx, esi
call fcn.3007bbde
mov ecx, esi
call fcn.3007b2d7
lea ecx, [ebp - 0x68]
call fcn.300fce29
lea ecx, [ebp - 0x78]
call fcn.300fce29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8