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

Disassembly:
sub esp, 0x48
mov edx, dword [esp + 0x5c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, 1
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xcc]
mov ecx, eax
neg ecx
mov ebx, dword [esi + 0xc]
sbb ecx, ecx
add eax, 2
add ecx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x68]
sub ecx, eax
mov dword [esp + 0x5c], eax
add ecx, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xb8]
mov esi, dword [esi + 0x18]
shl edi, cl
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, ebx
sub ecx, edi
cmp eax, edi
mov eax, dword [esp + 0x5c]
cmovbe ecx, ebx
test esi, esi
cmovne ecx, ebx
add eax, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x64]
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 + 0x6c], eax
xor eax, eax
mov dword [esp + 0x14], edx
xor edx, edx
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
sete al
mov dword [esp + 0x48], edx
add eax, ecx
mov edx, ebx
mov dword [esp + 0x3c], eax
sub eax, dword [esp + 0x5c]
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 0x78256b
mov dword [esp + 0x48], edx
xor edx, edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
jbe 0x78257f
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x6c], 0
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
add edi, ebx
lea eax, [ebx + 0x80]
mov dword [esp + 0x40], eax
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x28]
jae 0x782b76
mov esi, 0x40
sub esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
nop dword [eax + eax]
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 + 0x5c]
mov dword [esp + 0x50], ecx
mov ecx, edi
sub ecx, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx]
mov dword [ebp + esi*4], eax
xor eax, eax
cmp eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x60]
sbb esi, esi
neg esi
cmp dword [edi], ecx
mov dword [esp + 0x54], esi
sete al
test esi, eax
jne 0x78276d
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x34], eax
jmp 0x78265a
mov edx, dword [esp + 0x30]
cmp esi, dword [esp + 0x2c]
jb 0x782669
mov eax, dword [esp + 0x5c]
mov eax, dword [esi + eax]
jmp 0x78266e
mov eax, dword [ebx]
xor eax, 1
cmp dword [ebx], eax
je 0x7827c3
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 + 0x5c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x3c], eax
mov dword [ebp + ecx*4], eax
mov ebp, dword [esp + 0x60]
cmp esi, dword [esp + 0x2c]
jb 0x7826cd
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + eax]
jmp 0x7826d2
mov ecx, dword [ebx]
xor ecx, 1
cmp dword [ebx], ecx
je 0x7827af
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 0x782730
inc ecx
sub edx, 0xffffff80
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edx
cmp eax, dword [esp + 0x28]
jae 0x782b76
mov ebp, dword [esp + 0x10]
mov eax, edi
sub eax, dword [esp + 0x6c]
mov edx, ebx
sub edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x50]
mov dword [ebp + eax*4], edx
xor eax, eax
cmp dword [edi], ecx
mov ebp, dword [esp + 0x60]
sete al
test dword [esp + 0x54], eax
je 0x782656
mov al, byte [edi - 1]
mov edx, edi
sub edx, dword [esp + 0x6c]
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 + 0x5c]
mov dword [edi + esi*4], eax
mov edi, dword [esp + 0x68]
mov dword [esp + 0x24], ecx
jmp 0x78283d
cmp dword [esp + 0x34], 4
ja 0x7827d2
mov eax, dword [esp + 0x10]
sub edi, dword [esp + 0x5c]
mov dword [eax + edx*4], edi
jmp 0x7827d2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x5c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x68]
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 + 0x6c], 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 0x78283b
nop
mov al, byte [ebx - 1]
mov edi, dword [esp + 0x68]
cmp al, byte [edx - 1]
jne 0x782835
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 0x782810
mov ecx, dword [esp + 0x24]
jmp 0x78283d
mov ecx, esi
mov esi, dword [esp + 0x18]
add edx, ecx
add ecx, ebx
add esi, 0xfffffffd
mov dword [esp + 0x68], ecx
cmp ecx, esi
jae 0x782884
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x78285e
bsf ecx, eax
shr ecx, 3
jmp 0x7828ac
add ecx, 4
add edx, 4
cmp ecx, esi
jae 0x782884
nop dword [eax + eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x78291a
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x782870
mov esi, dword [esp + 0x18]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x78289d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x78289d
add ecx, 2
add edx, 2
cmp ecx, esi
jae 0x7828a8
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x7828a8
inc ecx
sub ecx, dword [esp + 0x68]
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 + 0x68], edx
cmp ebx, ecx
ja 0x782924
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x782934
mov ecx, dword [ebp + 0xc]
lea eax, [edx - 0x10]
movups xmm0, xmmword [edi + 0x10]
add ecx, 0x10
lea ebp, [ecx + eax]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x60]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x782934
lea eax, [ecx + 0x10]
lea ecx, [edi + 0x20]
mov edi, dword [esp + 0x68]
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 0x782900
jmp 0x782934
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x7828a8
push ecx
push ebx
push edi
push eax
call fcn.0077bba0
mov edx, dword [esp + 0x78]
add esp, 0x10
add dword [ebp + 0xc], edx
cmp edx, 0xffff
jbe 0x782952
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 0x782980
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 + 0x68], edi
mov word [eax + 6], cx
add dword [ebp + 4], 8
cmp ebx, dword [esp + 0x28]
ja 0x782b4a
mov eax, dword [esp + 0x5c]
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 + 0x5c]
sub ecx, 2
mov dword [esi + eax*4], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x782b4a
mov esi, dword [esp + 0x18]
add esi, 0xfffffffd
nop
mov eax, dword [ebx]
mov edx, ebx
sub edx, ecx
cmp eax, dword [edx]
jne 0x782b46
lea eax, [ebx + 4]
add edx, 4
mov dword [esp + 0x68], eax
cmp eax, esi
jae 0x782a58
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x782a3a
bsf ecx, ecx
shr ecx, 3
jmp 0x782a82
add eax, 4
add edx, 4
cmp eax, esi
jae 0x782a58
mov ecx, dword [eax]
xor ecx, dword [edx]
jne 0x782add
add eax, 4
add edx, 4
cmp eax, esi
jb 0x782a44
mov ecx, dword [esp + 0x18]
dec ecx
cmp eax, ecx
jae 0x782a6f
mov cx, word [edx]
cmp cx, word [eax]
jne 0x782a6f
add eax, 2
add edx, 2
cmp eax, dword [esp + 0x18]
jae 0x782a7c
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x782a7c
inc eax
mov ecx, eax
sub ecx, dword [esp + 0x68]
push 0xcf1bbcdc
push 0xbfa56300
push dword [ebx + 4]
lea eax, [ecx + 4]
mov ecx, dword [esp + 0x78]
push dword [ebx]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x7c], eax
call fcn.007bcf30
mov ecx, dword [esp + 0x1c]
call fcn.007bcf90
mov edx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, dword [esp + 0x5c]
add ebx, dword [esp + 0x68]
mov dword [edx + eax*4], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
add ecx, 0xffffffe0
cmp edi, ecx
ja 0x782aeb
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
jmp 0x782af7
bsf ecx, ecx
shr ecx, 3
sub ecx, dword [esp + 0x68]
add ecx, eax
jmp 0x782a82
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 + 0x68]
add ecx, 0xfffffffd
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x782b2b
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 0x782a10
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x44]
lea eax, [ebx + 0x80]
mov esi, dword [esp + 0x1c]
add edi, ebx
mov dword [esp + 0x40], eax
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x28]
jb 0x7825c0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
test edx, edx
je 0x782b8b
test eax, eax
cmovne ecx, edx
mov esi, dword [esp + 0x64]
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 + 0x64]
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x48
ret