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

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x70]
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0xbc]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 4]
sub ebx, ecx
add ebx, edx
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0xb8]
push ebp
push esi
mov esi, dword [eax + 0x18]
push edi
mov dword [esp + 0x24], ebx
mov edi, 1
mov ebx, dword [eax + 0xc]
shl edi, cl
mov ecx, dword [esp + 0x24]
mov eax, ecx
sub eax, ebx
sub ecx, edi
cmp eax, edi
mov eax, dword [esp + 0x10]
cmovbe ecx, ebx
test esi, esi
cmovne ecx, ebx
add eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x70], eax
add eax, 0xfffffff8
mov dword [esp + 0x2c], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x20], edx
xor edx, edx
cmp ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
sete al
mov dword [esp + 0x4c], edx
add eax, ecx
mov edx, ebx
mov dword [esp + 0x58], eax
sub eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x5c], eax
sub eax, edi
sub ecx, ebx
cmp ecx, edi
mov ecx, dword [esp + 0x20]
cmova edx, eax
mov eax, dword [esp + 0x5c]
test esi, esi
cmovne edx, ebx
sub eax, edx
cmp ecx, eax
jbe 0x787e8a
xor edx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jbe 0x787ea4
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], 0
mov ebx, dword [esp + 0x58]
lea edi, [ebx + 1]
lea eax, [ebx + 0x100]
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], eax
cmp edi, dword [esp + 0x2c]
ja 0x78872f
mov eax, 0x40
mov esi, 0x40
sub eax, dword [esp + 0x50]
sub esi, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], esi
nop dword [eax]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
push 0xcf1bbcdc
push 0xb7a56463
push ecx
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
call fcn.007bcf30
mov ecx, esi
call fcn.007bcf90
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], 1
mov eax, dword [ecx + eax*4]
add esi, eax
mov dword [esp + 0x50], eax
xor eax, eax
cmp eax, dword [esp + 0x80]
sbb eax, eax
neg eax
mov dword [esp + 0x64], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + 0x3c]
push 0xcf1bbcdc
push 0xbb000000
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.007bcf30
mov ecx, dword [esp + 0x44]
call fcn.007bcf90
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x74]
mov ecx, dword [edx + eax*4]
mov edx, ebx
sub edx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
add ecx, dword [esp + 0x10]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + eax*4], edx
mov edx, ebx
sub edx, dword [esp + 0x80]
xor ecx, ecx
mov eax, dword [edx + 1]
cmp eax, dword [ebx + 1]
sete cl
test dword [esp + 0x64], ecx
jne 0x78836a
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push 0xcf1bbcdc
push 0xb7a56463
push ecx
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
call fcn.007bcf30
mov ecx, dword [esp + 0x38]
call fcn.007bcf90
mov ecx, dword [ebx]
mov edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], edx
cmp dword [esp + 0x50], eax
jbe 0x787ff8
mov eax, dword [ebx + 4]
cmp dword [esi], ecx
jne 0x787ff8
cmp dword [esi + 4], eax
je 0x788050
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
add esi, eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x50], eax
cmp dword [esp + 0x5c], edx
jbe 0x78801f
mov edx, dword [esp + 0x58]
cmp dword [edx], ecx
je 0x7881cd
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
cmp edi, eax
jb 0x788039
inc ecx
add eax, 0x100
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], eax
mov ebx, edi
add edi, ecx
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x2c]
jbe 0x787f40
jmp 0x78872f
mov edi, dword [esp + 0x70]
lea ecx, [ebx + 8]
add edi, 0xfffffffd
mov dword [esp + 0x50], ecx
lea edx, [esi + 8]
cmp ecx, edi
jae 0x788094
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x788073
bsf ecx, eax
shr ecx, 3
jmp 0x7880bc
add ecx, 4
add edx, 4
cmp ecx, edi
jae 0x788094
nop dword [eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x7881c0
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x788080
mov edi, dword [esp + 0x70]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x7880ad
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x7880ad
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x7880b8
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x7880b8
inc ecx
sub ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
lea edi, [ecx + 8]
mov eax, ebx
sub eax, esi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x7880fc
nop dword [eax]
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x7880fc
dec ebx
inc edi
cmp dword [esp + 0x18], esi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x7880e0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x7c]
cmp dword [esp + 0x30], 4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], eax
jae 0x788130
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
sub edx, dword [esp + 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x70]
lea ecx, [ebp + 0xc]
add eax, 0xffffffe0
mov dword [esp + 0x64], ecx
mov edx, ebx
mov dword [esp + 0x7c], eax
mov eax, dword [ecx]
sub edx, esi
mov dword [esp + 0x5c], edx
cmp ebx, dword [esp + 0x7c]
ja 0x78831e
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x788335
mov ebp, dword [ecx]
lea eax, [edx - 0x10]
movups xmm0, xmmword [esi + 0x10]
add ebp, 0x10
mov dword [esp + 0x7c], ebp
lea edx, [eax + ebp]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
movups xmmword [ebp], xmm0
mov ebp, dword [esp + 0x74]
cmp eax, 0x10
jle 0x788335
mov eax, dword [esp + 0x7c]
lea ecx, [esi + 0x20]
mov esi, dword [esp + 0x64]
add eax, 0x10
nop
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x20]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx - 0x10]
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp eax, esi
jb 0x7881a0
lea ecx, [ebp + 0xc]
jmp 0x788335
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x7880b8
cmp eax, dword [esp + 0x24]
jbe 0x788249
mov eax, dword [esp + 0x34]
cmp dword [esi], eax
jne 0x788249
mov eax, dword [esp + 0x3c]
cmp dword [esi + 4], eax
jne 0x788249
mov eax, dword [esp + 0x70]
mov ebx, edi
push eax
lea eax, [esi + 8]
push eax
lea eax, [edi + 8]
push eax
call fcn.00782bc0
mov edx, dword [esp + 0x20]
add esp, 0xc
lea edi, [eax + 8]
mov eax, edx
sub eax, esi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
sbb ecx, ecx
neg ecx
cmp dword [esp + 0x7c], edx
sbb eax, eax
neg eax
test eax, ecx
je 0x788100
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x788100
dec ebx
inc edi
cmp dword [esp + 0x18], esi
sbb ecx, ecx
neg ecx
cmp dword [esp + 0x7c], ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x788222
jmp 0x788100
mov edi, dword [esp + 0x70]
lea ecx, [ebx + 4]
add edx, 4
mov dword [esp + 0x50], ecx
lea esi, [edi - 3]
cmp ecx, esi
jae 0x78828a
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x78826c
bsf ecx, eax
shr ecx, 3
jmp 0x7882ae
add ecx, 4
add edx, 4
cmp ecx, esi
jae 0x78828a
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x788314
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x788276
lea eax, [edi - 1]
cmp ecx, eax
jae 0x78829f
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x78829f
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x7882aa
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x7882aa
inc ecx
sub ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x7c]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x58]
mov eax, ebx
sub eax, ecx
cmp dword [esp + 0x18], ecx
mov dword [esp + 0x34], eax
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x78830b
mov edx, dword [esp + 0x5c]
add edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
nop
lea eax, [ebx - 1]
mov dword [esp + 0x7c], eax
lea ecx, [edx - 1]
mov al, byte [eax]
mov edx, ecx
cmp al, byte [ecx]
jne 0x788307
mov ebx, dword [esp + 0x7c]
inc edi
cmp ebp, edx
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x7882e0
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
jmp 0x788104
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x7882aa
push dword [esp + 0x7c]
push ebx
push esi
push eax
call fcn.0077bba0
mov ecx, dword [esp + 0x74]
add esp, 0x10
mov edx, dword [esp + 0x5c]
add dword [ecx], edx
cmp edx, 0xffff
jbe 0x788352
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
sar eax, 3
mov dword [ebp + 0x24], 1
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x34]
add ecx, 3
mov word [eax + 4], dx
mov eax, dword [ebp + 4]
mov dword [eax], ecx
jmp 0x7884aa
mov edi, dword [esp + 0x70]
lea ecx, [ebx + 5]
add edx, 5
mov dword [esp + 0x5c], ecx
lea esi, [edi - 3]
cmp ecx, esi
jae 0x7883b4
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x78838d
bsf ecx, eax
shr ecx, 3
jmp 0x7883d8
add ecx, 4
add edx, 4
cmp ecx, esi
jae 0x7883b4
nop word [eax + eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x78845d
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x7883a0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x7883c9
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x7883c9
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x7883d4
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x7883d4
inc ecx
sub ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x70]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x7c]
lea esi, [ebp + 0xc]
inc ebx
add eax, 0xffffffe0
mov edx, ebx
mov dword [esp + 0x7c], eax
mov eax, dword [esi]
sub edx, ecx
mov dword [esp + 0x5c], edx
cmp ebx, dword [esp + 0x7c]
ja 0x78846a
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x78847d
mov ebp, dword [esi]
lea eax, [edx - 0x10]
movups xmm0, xmmword [ecx + 0x10]
add ebp, 0x10
mov dword [esp + 0x7c], ebp
lea edx, [eax + ebp]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
movups xmmword [ebp], xmm0
mov ebp, dword [esp + 0x74]
cmp eax, 0x10
jle 0x78847d
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
add eax, 0x10
add ecx, 0x20
nop
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x20]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx - 0x10]
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp eax, esi
jb 0x788440
lea esi, [ebp + 0xc]
jmp 0x78847d
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x7883d4
push dword [esp + 0x7c]
push ebx
push ecx
push eax
call fcn.0077bba0
mov edx, dword [esp + 0x6c]
add esp, 0x10
add dword [esi], edx
cmp edx, 0xffff
jbe 0x78849a
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
sar eax, 3
mov dword [ebp + 0x24], 1
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 4]
mov word [eax + 4], dx
mov eax, dword [ebp + 4]
mov dword [eax], 1
lea ecx, [edi - 3]
cmp ecx, 0xffff
jbe 0x7884c8
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
sar eax, 3
mov dword [ebp + 0x24], 2
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 4]
mov word [eax + 6], cx
add dword [ebp + 4], 8
add ebx, edi
mov dword [esp + 0x7c], ebx
cmp ebx, dword [esp + 0x2c]
ja 0x788710
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
add edi, 2
push 0xcf1bbcdc
push 0xb7a56463
push dword [edi + eax + 4]
push dword [edi + eax]
call fcn.007bcf30
mov ecx, dword [esp + 0x38]
call fcn.007bcf90
mov ecx, dword [esp + 0x1c]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], edi
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.007bcf30
mov ecx, dword [esp + 0x38]
call fcn.007bcf90
mov edx, dword [esp + 0x10]
mov esi, ebx
mov ebp, dword [esp + 0x1c]
sub esi, edx
mov ecx, eax
push 0xcf1bbcdc
push 0xbb000000
lea eax, [esi - 2]
mov dword [ebp + ecx*4], eax
push dword [edi + edx + 4]
push dword [edi + edx]
call fcn.007bcf30
mov ecx, dword [esp + 0x44]
call fcn.007bcf90
mov ecx, dword [esp + 0x28]
push 0xcf1bbcdc
push 0xbb000000
mov dword [ecx + eax*4], edi
push dword [ebx + 3]
push dword [ebx - 1]
call fcn.007bcf30
mov ecx, dword [esp + 0x44]
call fcn.007bcf90
mov edx, dword [esp + 0x28]
mov ecx, eax
mov ebp, dword [esp + 0x74]
lea eax, [esi - 1]
mov esi, dword [esp + 0x70]
mov dword [edx + ecx*4], eax
lea eax, [esi - 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [ebx]
mov edx, ebx
sub edx, dword [esp + 0x20]
xor ecx, ecx
cmp eax, dword [edx]
sete cl
xor eax, eax
cmp eax, dword [esp + 0x20]
sbb eax, eax
neg eax
test eax, ecx
je 0x788710
lea eax, [ebx + 4]
add esi, 0xfffffffd
add edx, 4
mov edi, eax
cmp eax, esi
jae 0x788604
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x7885e4
bsf ecx, ecx
shr ecx, 3
jmp 0x78862c
add eax, 4
add edx, 4
cmp eax, esi
jae 0x788604
nop
mov ecx, dword [eax]
xor ecx, dword [edx]
jne 0x7886a6
add eax, 4
add edx, 4
cmp eax, esi
jb 0x7885f0
mov esi, dword [esp + 0x70]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x78861d
mov cx, word [edx]
cmp cx, word [eax]
jne 0x78861d
add eax, 2
add edx, 2
cmp eax, esi
jae 0x788628
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x788628
inc eax
mov ecx, eax
sub ecx, edi
mov eax, dword [esp + 0x20]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x80]
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
mov dword [esp + 0x2c], ecx
push dword [ebx]
mov dword [esp + 0x90], eax
call fcn.007bcf30
mov ecx, dword [esp + 0x44]
call fcn.007bcf90
mov ecx, dword [esp + 0x28]
mov esi, ebx
sub esi, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], esi
push dword [ebx + 4]
push dword [ebx]
call fcn.007bcf30
mov ecx, dword [esp + 0x38]
call fcn.007bcf90
mov ecx, dword [esp + 0x1c]
mov dword [ecx + eax*4], esi
mov ecx, dword [esp + 0x68]
mov eax, dword [ebp + 0xc]
cmp ebx, ecx
ja 0x7886b5
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
jmp 0x7886c1
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x78862c
push ecx
push ebx
push ebx
push eax
call fcn.0077bba0
add esp, 0x10
mov eax, dword [ebp + 4]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [edi - 3]
mov eax, dword [ebp + 4]
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x7886f1
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
sar eax, 3
mov dword [ebp + 0x24], 2
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 4]
add ebx, edi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x7c], ebx
mov word [eax + 6], cx
add dword [ebp + 4], 8
cmp ebx, dword [esp + 0x2c]
jbe 0x7885a6
mov esi, dword [esp + 0x38]
lea edi, [ebx + 1]
lea eax, [ebx + 0x100]
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], eax
cmp edi, dword [esp + 0x2c]
jbe 0x787ee0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x80]
test edx, edx
je 0x788747
test eax, eax
cmovne ecx, edx
mov esi, dword [esp + 0x78]
test eax, eax
pop edi
cmovne edx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esi], edx
cmovne ecx, eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x78]
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret