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

Disassembly:
sub esp, 0x268
push ebx
push ebp
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x284]
mov ebx, dword [esp + 0x27c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
call fcn.0078b380
mov esi, eax
xor edi, edi
add esp, 0xc
cmp esi, edi
je 0x78b9b5
cmp esi, 0xd4
jne 0x78b9a6
push edi
push ebx
call fcn.0078c700
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x268
ret 0x14
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x288]
lea edx, [esp + 0x4c]
push edx
push eax
push esi
push ebx
call fcn.0078b490
add esp, 0x10
cmp eax, 0x259
je 0x78b9f1
cmp eax, edi
jne 0x78bba5
pop edi
pop esi
pop ebp
mov eax, 0x25b
pop ebx
add esp, 0x268
ret 0x14
mov edx, dword [esp + 0x28c]
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
push edi
push edi
push ebx
call fcn.0078bbc0
cmp eax, edi
jne 0x78bba5
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x18], eax
mov ax, word [esi + 0xc]
mov dword [esp + 0x1c], ecx
mov cl, byte [esi + 0xe]
mov word [esp + 0x24], ax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x26], cl
mov dword [esp + 0x20], edx
mov dl, byte [esp + 0x28c]
lea ecx, [esp + 0x2a]
push eax
push ecx
mov byte [esp + 0x30], dl
call fcn.00784330
mov eax, dword [ebx]
add esp, 8
lea edx, [esp + 0x3c]
push edx
push edi
push eax
call fcn.00784e10
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
push ecx
call fcn.00786950
lea edx, [esp + 0x34]
push eax
push edx
mov dword [esp + 0x1c], eax
call fcn.007843e0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.007843e0
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [ebx + 0x94]
mov esi, dword [ebx + 0x90]
mov ebp, eax
mov dword [esp + 0x10], edi
imul ebp, ecx
add ebp, esi
cmp eax, edi
jbe 0x78baf4
mov eax, dword [ebx]
lea edx, [esp + 0x78]
push edx
push 1
push ebp
push edi
push eax
call fcn.00791830
cmp eax, edi
jne 0x78bba5
xor eax, eax
lea ecx, [esp + 0x98]
cmp byte [ecx], 0
je 0x78bb0f
inc eax
add ecx, 0x20
cmp eax, 0xf
jb 0x78bace
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x94]
inc eax
inc ebp
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x78baac
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x98]
xor eax, eax
mov ax, word [edx + ecx*2]
cmp eax, 0xffff
je 0x78bb4d
mov ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x78ba91
shl eax, 5
mov ecx, 8
lea esi, [esp + 0x18]
lea edi, [esp + eax + 0x98]
lea eax, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
push eax
push 1
push ebp
push 0
push ecx
call fcn.00791bd0
test eax, eax
jne 0x78bba5
push ebx
call fcn.0078b8f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x268
ret 0x14
lea edx, [esp + 0x10]
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x78]
push edx
push eax
rep stosd dword es:[edi], eax
push 0x10
lea eax, [esp + 0x86]
mov ecx, 8
lea esi, [esp + 0x24]
lea edi, [esp + 0xa4]
push 0x1fe
push eax
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0078bbc0
test eax, eax
jne 0x78bba5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebx
call fcn.0078bd40
test eax, eax
jne 0x78bba5
push ebx
call fcn.0078b8f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x268
ret 0x14