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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x10], 0
mov ebx, dword [edi]
mov ecx, dword [edi + 0x13c]
mov dword [esp + 0x5c], ebx
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0xc], ebp
test ecx, 0x100
jne 0x78e34d
mov eax, dword [edi + 8]
test byte [eax + 0x9c], 1
jne 0x78e34d
cmp dword [eax + 0x70], 0
mov dword [esp + 0x14], 0x1008
jne 0x78e355
mov dword [esp + 0x14], 8
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
movq qword [esp + 0xa8], xmm0
mov dword [esp + 0xb0], 0
movups xmmword [esp + 0x24], xmm0
push 6
movups xmmword [esp + 0x9c], xmm0
test ecx, 0x400
je 0x78e3a6
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.00777f20
jmp 0x78e3cc
mov eax, dword [ebx + 0x12c]
cmp dword [eax + 0x14], 0
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
je 0x78e3c7
call fcn.00769270
jmp 0x78e3cc
call fcn.0078edc0
add esp, 0x10
test eax, eax
jne 0x78e719
mov dword [esp + 0x58], eax
xorps xmm0, xmm0
push esi
lea eax, [esp + 0x14]
movq qword [esp + 0x54], xmm0
push eax
push ebx
movups xmmword [esp + 0x4c], xmm0
call fcn.0078d010
mov ebx, dword [esp + 0x1c]
add esp, 8
mov esi, eax
test ebx, ebx
je 0x78e702
lea eax, [edi + 0x10]
mov dword [esp + 0x20], eax
mov edi, eax
nop
test esi, esi
jne 0x78e6e6
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx + 0x114]
push ebx
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x78e459
cmp esi, 0xffff86ea
jne 0x78e6e6
or dword [esp + 0x5c], 0x20
xor ebp, ebp
mov edi, dword [esp + 0x20]
mov dword [esp + 0x48], ebp
jmp 0x78e45d
mov ebp, dword [esp + 0x48]
test byte [esp + 0x5c], 0x20
je 0x78e480
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x78e6b4
mov eax, dword [esp + 0xbc]
lea edi, [eax + 0x10]
jmp 0x78e494
lea eax, [esp + 0x44]
mov ebp, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x1c]
push ecx
push dword [eax + 0x84]
push 0
push 0
push dword [ebx + 0x20]
push dword [edi]
push dword [eax + 0xc]
push ebx
call fcn.0078be20
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x78e6e2
mov eax, dword [esp + 0x10]
test byte [eax + 0x9c], 1
je 0x78e4d9
mov eax, dword [esp + 0x1c]
or dword [eax + 0x13c], 0x40000
test ebp, ebp
je 0x78e67f
mov edi, dword [esp + 0x24]
add edi, 0x18
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [esp + 0x98], 0
movups xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov eax, dword [edi - 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [edi - 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0x118]
mov eax, dword [eax + 0x20]
cmp eax, 4
je 0x78e536
cmp eax, 3
jne 0x78e56c
test dword [ebx + 0x2e0], 0x10000000
je 0x78e56c
mov edx, dword [esp + 0x28]
mov al, byte [edx + 3]
mov bl, byte [edx + 1]
mov ch, byte [edx]
mov cl, byte [edx + 2]
mov byte [edx], al
mov eax, dword [esp + 0x28]
mov byte [eax + 1], cl
mov eax, dword [esp + 0x28]
mov byte [eax + 2], bl
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov byte [eax + 3], ch
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x6c], eax
test dword [ecx + 0x13c], 0x400
je 0x78e5bc
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x88]
push eax
push ecx
call fcn.00777f20
jmp 0x78e5e4
mov eax, dword [ecx]
mov eax, dword [eax + 0x12c]
cmp dword [eax + 0x14], 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x88]
push eax
push ecx
je 0x78e5df
call fcn.00769270
jmp 0x78e5e4
call fcn.0078edc0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x78e5fd
push 0x1e
push dword [esp + 0x20]
call fcn.0078d7c0
add esp, 8
jmp 0x78e611
cmp esi, 0xffff86f4
jne 0x78e613
push dword [esp + 0x60]
call fcn.007d5b70
add esp, 4
mov esi, eax
mov eax, dword [ebx + 0x118]
mov eax, dword [eax + 0x20]
cmp eax, 4
je 0x78e626
cmp eax, 3
jne 0x78e65c
test dword [ebx + 0x2e0], 0x10000000
je 0x78e65c
mov edx, dword [esp + 0x28]
mov al, byte [edx + 3]
mov bl, byte [edx + 1]
mov ch, byte [edx]
mov cl, byte [edx + 2]
mov byte [edx], al
mov eax, dword [esp + 0x28]
mov byte [eax + 1], cl
mov eax, dword [esp + 0x28]
mov byte [eax + 2], bl
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov byte [eax + 3], ch
test byte [edi], 1
je 0x78e673
push dword [edi - 0x18]
push dword [esp + 0x14]
call fcn.00767ac0
add esp, 8
and dword [edi], 0xfffffffe
add edi, 0x1c
sub ebp, 1
jne 0x78e4f0
push dword [esp + 0x1c]
mov edi, esi
call fcn.0078d3c0
add esp, 4
test eax, eax
jne 0x78e6dd
test edi, edi
jne 0x78e6e2
test byte [esp + 0x5c], 1
mov ebp, dword [esp + 0x10]
je 0x78e6b8
push dword [esp + 0x44]
push ebp
call fcn.00767ac0
add esp, 8
and dword [esp + 0x5c], 0xfffffffe
jmp 0x78e6b8
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push dword [ebx]
push eax
call fcn.0078d070
mov edi, ebx
add esp, 8
mov ebx, dword [esp + 0x14]
mov esi, eax
test ebx, ebx
jne 0x78e410
jmp 0x78e702
test esi, esi
cmove esi, eax
mov ebp, dword [esp + 0x10]
test ebx, ebx
je 0x78e702
mov eax, dword [esp + 0x20]
push dword [eax]
push ebx
call fcn.0078cf70
add esp, 8
test eax, eax
je 0x78e702
test esi, esi
cmove esi, eax
test byte [esp + 0x5c], 1
je 0x78e716
push dword [esp + 0x44]
push ebp
call fcn.00767ac0
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xa8
ret