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

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x70]
xor edx, edx
mov eax, ebp
mov dword [esp + 0x1c], edx
and eax, 0x4800
mov dword [esp + 0x18], eax
mov eax, edx
push esi
push edi
mov edi, dword [esp + 0x68]
setne al
add eax, 0x10
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x78]
push dword [esp + 0x78]
push edi
call fcn.0076dc50
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x78c570
mov eax, dword [edi + 0x12c]
cmp dword [eax + 0x14], esi
je 0x78c590
test dword [edi + 0x2e0], 0x2000000
jne 0x78c590
cmp dword [edi + 0x104], esi
jne 0x78c590
cmp dword [edi + 0x120], esi
jne 0x78c590
mov eax, dword [esp + 0x78]
push ebp
push dword [esp + 0x78]
or dword [eax + 0x13c], 0x8000
push dword [esp + 0x80]
call fcn.0078d130
add esp, 0xc
mov esi, eax
mov ebx, dword [esp + 0x78]
push ebx
call fcn.0078d3c0
add esp, 4
test eax, eax
je 0x78c586
test esi, esi
cmove esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x74]
xorps xmm0, xmm0
mov ebx, ebp
movlpd qword [esp + 0x48], xmm0
and ebx, 0x4000
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x18], ebx
mov eax, 0x400
mov edx, dword [ecx + 0x18]
mov ebx, 0x1b
movlpd qword [esp + 0x58], xmm0
movups xmm0, xmmword [ecx]
mov dword [esp + 0x1c], 8
cmovne ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x78]
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x60], eax
movq xmm0, qword [ecx + 0x10]
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], edx
test dword [ebx + 0x13c], 0x100
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0x11
jne 0x78c636
mov ecx, dword [ebx + 8]
test byte [ecx + 0x9c], 1
jne 0x78c632
cmp dword [ecx + 0x70], 0
mov ecx, dword [esp + 0x74]
je 0x78c636
or dword [esp + 0x10], 0x1000
mov dword [esp + 0x1c], 0x1011
jmp 0x78c636
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x20], 0
je 0x78c68d
mov eax, dword [edi + 0x20]
cmp eax, 4
je 0x78c64a
cmp eax, 3
jne 0x78c673
xor eax, eax
mov dword [esp + 0x30], 4
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
add edx, 0xfffffffc
add edx, dword [ecx + 8]
mov ecx, eax
mov dword [ecx + 0x10], 0
jmp 0x78c817
or edx, 8
or eax, 8
test dword [edi + 0x2e0], 0x2000000
mov dword [esp + 0x44], edx
mov dword [esp + 0x60], eax
jne 0x78c763
cmp dword [edi + 0x104], 0
jne 0x78c763
cmp dword [edi + 0x120], 0
jne 0x78c763
cmp dword [edi + 0x20], 4
jne 0x78c6dc
push ebp
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.007e12c0
add esp, 0xc
jmp 0x78c754
push dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.0078eaa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x78c570
cmp dword [edi + 0x20], 2
mov edx, dword [esp + 0x78]
jne 0x78c73a
cmp dword [esp + 0x18], eax
jne 0x78c73a
mov ecx, edx
test dword [ecx + 0x13c], 0x400
je 0x78c724
mov eax, dword [ecx + 0xd8]
mov ecx, dword [eax + 0x40]
mov eax, dword [ecx + 0xd8]
cmp dword [eax], 0
jne 0x78c73a
push ecx
call fcn.007f9fb0
add esp, 4
jmp 0x78c754
test dword [edi + 0x2e0], 0x100
jne 0x78c788
mov eax, dword [edx + 0x128]
push 0
push edx
call eax
add esp, 8
mov esi, eax
test esi, esi
jne 0x78c570
jmp 0x78c7f5
push dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.0078eaa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x78c570
mov edx, dword [esp + 0x78]
push ebp
push edx
call fcn.0078d7c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x78c570
cmp dword [esp + 0x18], eax
jne 0x78c7f5
push dword [esp + 0x1c]
or dword [esp + 0x48], 8
lea eax, [esp + 0x4c]
or dword [esp + 0x64], 8
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x84]
call fcn.0078eaa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x78c7e7
push ebp
push dword [esp + 0x7c]
call fcn.0078d7c0
mov esi, eax
add esp, 8
test esi, esi
je 0x78c7a2
jmp 0x78c570
cmp esi, 0xffff86f4
jne 0x78c570
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x78c570
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x24]
inc dword [ecx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
cmp eax, 4
je 0x78c87c
cmp eax, 3
je 0x78c87c
mov eax, dword [edx]
test ebp, 0x800
je 0x78c860
cmp eax, 0xffffffff
je 0x78c8ba
mov ecx, dword [ecx]
add edx, 0xfffffffc
add ecx, eax
mov dword [esp + 0x2c], ecx
mov eax, dword [edx]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x78c898
mov eax, dword [esp + 0x74]
cmp ecx, dword [eax]
mov eax, 0
cmove ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x78c898
cmp eax, 0xffffffff
je 0x78c8b2
add eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [edx - 4]
mov dword [esp + 0x30], eax
mov eax, dword [edx - 8]
add eax, dword [ecx]
sub edx, 0xc
jmp 0x78c88e
mov eax, dword [edx]
test eax, eax
je 0x78c8c7
mov dword [esp + 0x28], eax
mov eax, dword [edx - 4]
add eax, dword [ecx]
sub edx, 8
mov dword [esp + 0x48], eax
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
add edx, 0xfffffffc
mov dword [esp + 0x24], edx
je 0x78c574
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
jmp 0x78c68d
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], 0
jmp 0x78c574
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], 0
jmp 0x78c574