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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x58]
mov ecx, dword [eax + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 4]
sub ebx, ecx
add ebx, edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0xb8]
push ebp
push esi
mov esi, dword [eax + 0x18]
push edi
mov dword [esp + 0x2c], ebx
mov edi, 1
mov ebx, dword [eax + 0xc]
shl edi, cl
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, ebx
sub ecx, edi
cmp eax, edi
mov eax, dword [esp + 0x58]
cmovbe ecx, ebx
test esi, esi
cmovne ecx, ebx
add eax, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x38], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
add eax, 0xfffffff8
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x14], edx
xor edx, edx
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
sete al
mov dword [esp + 0x44], edx
add eax, ecx
mov edx, ebx
mov dword [esp + 0x3c], eax
sub eax, dword [esp + 0x58]
mov ecx, eax
mov dword [esp + 0x40], eax
sub eax, edi
sub ecx, ebx
cmp ecx, edi
cmova edx, eax
mov eax, dword [esp + 0x40]
test esi, esi
cmovne edx, ebx
sub eax, edx
mov edx, dword [esp + 0x14]
cmp edx, eax
jbe 0x781e46
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x68]
cmp ecx, eax
jbe 0x781e5a
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], 0
mov ebx, dword [esp + 0x3c]
lea eax, [ebx + 0x80]
mov dword [esp + 0x40], eax
lea edi, [ebx + 2]
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x28]
jae 0x782443
mov esi, 0x40
sub esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
push 0xcf1bbcdc
push 0xbfa56300
push dword [ebx + 4]
push dword [ebx]
call fcn.007bcf30
mov ecx, esi
call fcn.007bcf90
mov esi, eax
mov eax, dword [esp + 0x20]
push 0xcf1bbcdc
push 0xbfa56300
push dword [eax + 4]
push dword [eax]
call fcn.007bcf30
mov ecx, dword [esp + 0x1c]
call fcn.007bcf90
mov ebp, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + esi*4]
mov eax, ebx
sub eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov ecx, edi
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx]
mov dword [ebp + esi*4], eax
xor eax, eax
cmp eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x5c]
sbb esi, esi
neg esi
cmp dword [edi], ecx
mov dword [esp + 0x50], esi
sete al
test esi, eax
jne 0x78203d
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x34], 2
jmp 0x781f2a
mov edx, dword [esp + 0x30]
cmp esi, dword [esp + 0x2c]
jb 0x781f39
mov eax, dword [esp + 0x58]
mov eax, dword [esi + eax]
jmp 0x781f3e
mov eax, dword [ebx]
xor eax, 1
cmp dword [ebx], eax
je 0x782093
mov eax, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xbfa56300
push dword [edi + 4]
mov esi, dword [eax + edx*4]
push dword [edi]
call fcn.007bcf30
mov ecx, dword [esp + 0x1c]
call fcn.007bcf90
mov ebp, dword [esp + 0x10]
mov edx, eax
mov ebx, dword [esp + 0x20]
mov eax, ebx
mov ecx, dword [esp + 0x30]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], eax
mov dword [ebp + ecx*4], eax
mov ebp, dword [esp + 0x5c]
cmp esi, dword [esp + 0x2c]
jb 0x781f9d
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + eax]
jmp 0x781fa2
mov ecx, dword [ebx]
xor ecx, 1
cmp dword [ebx], ecx
je 0x78207f
mov eax, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xbfa56300
mov esi, dword [eax + edx*4]
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
push dword [eax]
call fcn.007bcf30
mov ecx, dword [esp + 0x1c]
call fcn.007bcf90
mov ecx, dword [esp + 0x34]
mov ebx, edi
mov edx, dword [esp + 0x40]
add edi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
add eax, ecx
mov dword [esp + 0x24], eax
cmp edi, edx
jb 0x782000
inc ecx
sub edx, 0xffffff80
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edx
cmp eax, dword [esp + 0x28]
jae 0x782443
mov ebp, dword [esp + 0x10]
mov eax, edi
sub eax, dword [esp + 0x68]
mov edx, ebx
sub edx, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x4c]
mov dword [ebp + eax*4], edx
xor eax, eax
cmp dword [edi], ecx
mov ebp, dword [esp + 0x5c]
sete al
test dword [esp + 0x50], eax
je 0x781f26
mov al, byte [edi - 1]
mov edx, edi
sub edx, dword [esp + 0x68]
xor ecx, ecx
mov esi, dword [esp + 0x30]
mov ebx, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], 1
cmp al, byte [edx - 1]
mov eax, dword [esp + 0x20]
sete cl
sub ebx, ecx
sub edx, ecx
add ecx, 4
sub eax, dword [esp + 0x58]
mov dword [edi + esi*4], eax
mov edi, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
jmp 0x78210d
cmp dword [esp + 0x34], 4
ja 0x7820a2
mov eax, dword [esp + 0x10]
sub edi, dword [esp + 0x58]
mov dword [eax + edx*4], edi
jmp 0x7820a2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x58]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
add edx, esi
mov dword [esp + 0x14], eax
mov esi, 4
mov eax, ebx
mov dword [esp + 0x24], esi
sub eax, edx
mov dword [esp + 0x68], eax
add eax, 3
cmp dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
sbb ecx, ecx
neg ecx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x78210b
nop
mov al, byte [ebx - 1]
mov edi, dword [esp + 0x64]
cmp al, byte [edx - 1]
jne 0x782105
dec edx
inc esi
dec ebx
mov dword [esp + 0x24], esi
cmp dword [esp + 0x38], edx
sbb ecx, ecx
neg ecx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x7820e0
mov ecx, dword [esp + 0x24]
jmp 0x78210d
mov ecx, esi
mov esi, dword [esp + 0x18]
add edx, ecx
add ecx, ebx
add esi, 0xfffffffd
mov dword [esp + 0x64], ecx
cmp ecx, esi
jae 0x782154
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x78212e
bsf ecx, eax
shr ecx, 3
jmp 0x78217c
add ecx, 4
add edx, 4
cmp ecx, esi
jae 0x782154
nop dword [eax + eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x7821ea
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x782140
mov esi, dword [esp + 0x18]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x78216d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x78216d
add ecx, 2
add edx, 2
cmp ecx, esi
jae 0x782178
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x782178
inc ecx
sub ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x24]
mov edx, ebx
mov eax, dword [ebp + 0xc]
add esi, ecx
mov ecx, dword [esp + 0x18]
sub edx, edi
add ecx, 0xffffffe0
mov dword [esp + 0x64], edx
cmp ebx, ecx
ja 0x7821f4
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x782204
mov ecx, dword [ebp + 0xc]
lea eax, [edx - 0x10]
movups xmm0, xmmword [edi + 0x10]
add ecx, 0x10
lea ebp, [ecx + eax]
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x5c]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x782204
lea eax, [ecx + 0x10]
lea ecx, [edi + 0x20]
mov edi, dword [esp + 0x64]
nop dword [eax]
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, edi
jb 0x7821d0
jmp 0x782204
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x782178
push ecx
push ebx
push edi
push eax
call fcn.0077bba0
mov edx, dword [esp + 0x74]
add esp, 0x10
add dword [ebp + 0xc], edx
cmp edx, 0xffff
jbe 0x782222
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 + 0x40]
mov word [eax + 4], dx
mov eax, dword [ebp + 4]
mov dword [eax], ecx
lea ecx, [esi - 3]
cmp ecx, 0xffff
jbe 0x782250
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, esi
mov edi, ebx
mov dword [esp + 0x64], edi
mov word [eax + 6], cx
add dword [ebp + 4], 8
cmp ebx, dword [esp + 0x28]
ja 0x78241a
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
push 0xcf1bbcdc
push 0xbfa56300
push dword [esi + eax + 6]
push dword [esi + eax + 2]
call fcn.007bcf30
mov ecx, dword [esp + 0x1c]
call fcn.007bcf90
mov ecx, eax
lea eax, [esi + 2]
mov esi, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xbfa56300
mov dword [esi + ecx*4], eax
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.007bcf30
mov ecx, dword [esp + 0x1c]
call fcn.007bcf90
mov ecx, ebx
sub ecx, dword [esp + 0x58]
sub ecx, 2
mov dword [esi + eax*4], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x78241a
mov esi, dword [esp + 0x18]
add esi, 0xfffffffd
nop
mov eax, dword [ebx]
mov edx, ebx
sub edx, ecx
cmp eax, dword [edx]
jne 0x782416
lea eax, [ebx + 4]
add edx, 4
mov dword [esp + 0x64], eax
cmp eax, esi
jae 0x782328
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x78230a
bsf ecx, ecx
shr ecx, 3
jmp 0x782352
add eax, 4
add edx, 4
cmp eax, esi
jae 0x782328
mov ecx, dword [eax]
xor ecx, dword [edx]
jne 0x7823ad
add eax, 4
add edx, 4
cmp eax, esi
jb 0x782314
mov ecx, dword [esp + 0x18]
dec ecx
cmp eax, ecx
jae 0x78233f
mov cx, word [edx]
cmp cx, word [eax]
jne 0x78233f
add eax, 2
add edx, 2
cmp eax, dword [esp + 0x18]
jae 0x78234c
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x78234c
inc eax
mov ecx, eax
sub ecx, dword [esp + 0x64]
push 0xcf1bbcdc
push 0xbfa56300
push dword [ebx + 4]
lea eax, [ecx + 4]
mov ecx, dword [esp + 0x74]
push dword [ebx]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x78], eax
call fcn.007bcf30
mov ecx, dword [esp + 0x1c]
call fcn.007bcf90
mov edx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, dword [esp + 0x58]
add ebx, dword [esp + 0x64]
mov dword [edx + eax*4], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
add ecx, 0xffffffe0
cmp edi, ecx
ja 0x7823bb
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
jmp 0x7823c7
bsf ecx, ecx
shr ecx, 3
sub ecx, dword [esp + 0x64]
add ecx, eax
jmp 0x782352
push ecx
push edi
push edi
push eax
call fcn.0077bba0
add esp, 0x10
mov eax, dword [ebp + 4]
xor ecx, ecx
mov word [eax + 4], cx
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x64]
add ecx, 0xfffffffd
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x7823fb
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 edi, ebx
mov word [eax + 6], cx
add dword [ebp + 4], 8
mov ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x28]
jbe 0x7822e0
mov dword [esp + 0x64], edi
mov esi, dword [esp + 0x1c]
lea eax, [ebx + 0x80]
mov dword [esp + 0x40], eax
lea edi, [ebx + 2]
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x28]
jb 0x781e90
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x68]
test edx, edx
je 0x782458
test eax, eax
cmovne ecx, edx
mov esi, dword [esp + 0x60]
test eax, eax
pop edi
cmovne edx, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esi], edx
cmovne ecx, eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x60]
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x44
ret