Function at 0x788770
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 0x78885a
xor edx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jbe 0x788874
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 0x7890ff
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 0xbf9b0000
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 0x788d3a
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 0x7889c8
mov eax, dword [ebx + 4]
cmp dword [esi], ecx
jne 0x7889c8
cmp dword [esi + 4], eax
je 0x788a20
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 0x7889ef
mov edx, dword [esp + 0x58]
cmp dword [edx], ecx
je 0x788b9d
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
cmp edi, eax
jb 0x788a09
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 0x788910
jmp 0x7890ff
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 0x788a64
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x788a43
bsf ecx, eax
shr ecx, 3
jmp 0x788a8c
add ecx, 4
add edx, 4
cmp ecx, edi
jae 0x788a64
nop dword [eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x788b90
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x788a50
mov edi, dword [esp + 0x70]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x788a7d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x788a7d
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x788a88
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x788a88
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 0x788acc
nop dword [eax]
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x788acc
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 0x788ab0
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 0x788b00
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 0x788cee
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x788d05
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 0x788d05
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 0x788b70
lea ecx, [ebp + 0xc]
jmp 0x788d05
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x788a88
cmp eax, dword [esp + 0x24]
jbe 0x788c19
mov eax, dword [esp + 0x34]
cmp dword [esi], eax
jne 0x788c19
mov eax, dword [esp + 0x3c]
cmp dword [esi + 4], eax
jne 0x788c19
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 0x788ad0
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x788ad0
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 0x788bf2
jmp 0x788ad0
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 0x788c5a
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x788c3c
bsf ecx, eax
shr ecx, 3
jmp 0x788c7e
add ecx, 4
add edx, 4
cmp ecx, esi
jae 0x788c5a
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x788ce4
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x788c46
lea eax, [edi - 1]
cmp ecx, eax
jae 0x788c6f
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x788c6f
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x788c7a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x788c7a
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 0x788cdb
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 0x788cd7
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 0x788cb0
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
jmp 0x788ad4
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x788c7a
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 0x788d22
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 0x788e7a
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 0x788d84
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x788d5d
bsf ecx, eax
shr ecx, 3
jmp 0x788da8
add ecx, 4
add edx, 4
cmp ecx, esi
jae 0x788d84
nop word [eax + eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x788e2d
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x788d70
lea eax, [edi - 1]
cmp ecx, eax
jae 0x788d99
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x788d99
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x788da4
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x788da4
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 0x788e3a
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x788e4d
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 0x788e4d
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 0x788e10
lea esi, [ebp + 0xc]
jmp 0x788e4d
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x788da4
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 0x788e6a
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 0x788e98
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 0x7890e0
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 0xbf9b0000
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 0xbf9b0000
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 0x7890e0
lea eax, [ebx + 4]
add esi, 0xfffffffd
add edx, 4
mov edi, eax
cmp eax, esi
jae 0x788fd4
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x788fb4
bsf ecx, ecx
shr ecx, 3
jmp 0x788ffc
add eax, 4
add edx, 4
cmp eax, esi
jae 0x788fd4
nop
mov ecx, dword [eax]
xor ecx, dword [edx]
jne 0x789076
add eax, 4
add edx, 4
cmp eax, esi
jb 0x788fc0
mov esi, dword [esp + 0x70]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x788fed
mov cx, word [edx]
cmp cx, word [eax]
jne 0x788fed
add eax, 2
add edx, 2
cmp eax, esi
jae 0x788ff8
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x788ff8
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 0xbf9b0000
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 0x789085
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
jmp 0x789091
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x788ffc
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 0x7890c1
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 0x788f76
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 0x7888b0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x80]
test edx, edx
je 0x789117
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