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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x9727c0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov eax, ecx
mov ecx, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x38], ecx
xor edx, edx
mov dword [esp + 0x2c], edi
mov esi, dword [eax]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0x10], esi
movdqu xmm0, xmmword [edx]
mov dword [esp + 0x20], ecx
movdqu xmmword [esp + 0x40], xmm0
cmp dword [ecx + 0x38], 0
je 0x6d2612
movzx ecx, byte [edi + 4]
sub ecx, 0x71
je 0x6d25f4
dec ecx
je 0x6d25ed
dec ecx
je 0x6d25e6
mov ecx, 0x8d414c
jmp 0x6d25f9
mov ecx, 0x8d4080
jmp 0x6d25f9
mov ecx, 0x8d4154
jmp 0x6d25f9
mov ecx, 0x8d408c
push ecx
push 0x8d415c
push eax
call fcn.006898a0
add esp, 0xc
mov edi, 1
jmp 0x6d2e0d
cmp dword [ecx + 0x48], 0
je 0x6d265a
movzx ecx, byte [edi + 4]
sub ecx, 0x71
je 0x6d263c
dec ecx
je 0x6d2635
dec ecx
je 0x6d262e
mov ecx, 0x8d414c
jmp 0x6d2641
mov ecx, 0x8d4080
jmp 0x6d2641
mov ecx, 0x8d4154
jmp 0x6d2641
mov ecx, 0x8d408c
push ecx
push 0x8d425c
push eax
call fcn.006898a0
add esp, 0xc
mov edi, 1
jmp 0x6d2e0d
mov esi, dword [eax + 8]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x6d268b
mov ecx, dword [esp + 0x10]
call fcn.006a2c50
mov esi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], esi
mov dword [eax + 8], esi
test esi, esi
je 0x6d268b
mov edx, 0x94
mov ecx, esi
call fcn.006a2e30
cmp byte [esp + 0x40], 9
jne 0x6d26c0
mov eax, dword [edi]
mov edx, 0x2a
mov ecx, esi
push dword [eax]
push dword [esp + 0x48]
call fcn.006a2ef0
mov ecx, dword [esi + 4]
add esp, 8
test ecx, ecx
je 0x6d26bb
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov byte [esp + 0x40], 8
mov edx, dword [esp + 0x20]
mov eax, dword [edi]
mov ecx, dword [edx]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0x6d2714
test byte [edi + 6], 0x80
je 0x6d26ef
push 0x8d422c
push dword [esp + 0xc]
call fcn.006898a0
add esp, 8
mov edi, 1
jmp 0x6d2e09
movzx ecx, byte [edi + 4]
call fcn.006d1250
push eax
push 0x8d41d8
push dword [esp + 0x10]
call fcn.006898a0
add esp, 0xc
mov edi, 1
jmp 0x6d2e09
cmp dword [edi + 0x38], 0
je 0x6d273d
push dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.006d3290
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0073167f
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + 4]
sub eax, 0x70
je 0x6d2aa1
dec eax
je 0x6d2997
dec eax
je 0x6d2aa1
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x18], edx
push edx
lea eax, [edx + 1]
mov edx, 0x2a
mov dword [esp + 0x2c], eax
inc eax
mov dword [ecx + 0x48], eax
mov ecx, esi
call fcn.006a2ef0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x44]
or word [eax + 6], 8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
mov word [esp + 0x64], 1
mov dword [esp + 0x6c], 0
mov ecx, dword [eax + 0x1e8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
mov dword [esp + 0x74], 0
call fcn.006d6250
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x6d2dfb
push eax
push dword [esp + 0x28]
lea edx, [eax + 0x2a]
mov ecx, esi
call fcn.006a2ef0
mov dword [edi + 0x14], eax
mov edx, edi
mov eax, dword [edi + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov ecx, dword [eax + 0x1e8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
call fcn.006d6250
mov edx, dword [edi + 0x3c]
add esp, 0xc
movsd xmm0, qword [edi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x3c], eax
mov dword [esp + 0x34], edx
movsd xmm1, qword [eax + 0x20]
comisd xmm0, xmm1
jbe 0x6d2859
movsd qword [edi + 0x20], xmm1
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.006b3b80
cmp byte [esp + 0x40], 5
mov eax, dword [esp + 0xc]
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x4c], eax
jne 0x6d289c
mov eax, dword [edi + 0x3c]
mov ecx, edi
test eax, eax
je 0x6d288c
mov ecx, eax
mov eax, dword [ecx + 0x3c]
test eax, eax
jne 0x6d2883
push dword [ecx]
mov ecx, dword [esp + 0xc]
xor edx, edx
call fcn.006d1cc0
add esp, 4
mov ecx, esi
call fcn.006a30f0
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.006a30f0
mov ecx, dword [esp + 8]
mov edx, edi
push esi
mov dword [esp + 0x24], eax
call fcn.006d2370
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, 0x48
push esi
push dword [esp + 0x18]
call fcn.006a2ef0
mov ecx, dword [esp + 0x10]
call fcn.006b81c0
mov ecx, dword [esp + 0x24]
mov esi, eax
push esi
push dword [esp + 0x20]
mov edx, 0x3f
call fcn.006a2ef0
mov ecx, dword [esp + 0x2c]
mov edx, 0x33
push 0
push esi
push dword [esp + 0x38]
mov edi, eax
push dword [esp + 0x40]
call fcn.006a3080
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.006b81e0
push dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x64]
mov esi, dword [esp + 0x44]
push esi
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x40]
push 0
push 0
push dword [eax]
push ecx
mov ecx, dword [esp + 0x44]
push eax
call fcn.006d0ae0
add esp, 0x40
mov edx, esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.006a3160
push edi
mov edi, dword [esp + 0x18]
mov edx, 0x5f
push edi
call fcn.006a2ef0
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.006a3160
lea eax, [edi + 1]
mov edx, 0x2d
push 0
push eax
call fcn.006a2ef0
push 0
push edi
mov edx, 0x2d
mov ecx, esi
call fcn.006a2ef0
add esp, 0x18
jmp 0x6d2cb8
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x1e8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.006d6250
mov ecx, eax
mov dword [edi + 0x48], 0
add esp, 4
mov dword [esp + 0x18], ecx
mov dword [edi + 0x4c], 0
test ecx, ecx
jne 0x6d2e05
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x6d2a19
push ecx
mov edx, 0x7a
mov ecx, esi
call fcn.006a2e90
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov edx, edi
mov ecx, dword [eax + 0x1e8]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.006d6250
mov edx, dword [edi + 0x3c]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x3c], eax
mov dword [esp + 0x34], edx
movsd xmm0, qword [eax + 0x20]
addsd xmm0, qword [edi + 0x20]
movsd qword [edi + 0x20], xmm0
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x6d2a87
lea edx, [esp + 0x3c]
call fcn.006b4960
test eax, eax
je 0x6d2a87
movd xmm1, dword [esp + 0x3c]
movsd xmm0, qword [edi + 0x20]
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x6d2a87
movsd qword [edi + 0x20], xmm1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6d2cbc
mov edx, eax
mov ecx, esi
call fcn.006a3330
jmp 0x6d2cbc
cmp byte [esp + 0x40], 1
jne 0x6d2abe
cmp dword [edi + 0x48], 0
jne 0x6d2abe
cmp dword [edi + 0x4c], 0
jne 0x6d2abe
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
jmp 0x6d2af4
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x18], edx
push edx
lea eax, [edx + 1]
mov edx, 0x2a
mov dword [ecx + 0x48], eax
mov ecx, esi
call fcn.006a2ef0
mov edx, dword [esp + 0x28]
add esp, 8
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x44]
or word [eax + 6], 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 8]
mov word [esp + 0x6c], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [eax + 0x1e8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.006d6250
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x6d2e05
cmp byte [edi + 4], 0x72
mov edx, edi
mov dword [edi + 0x3c], ecx
mov ecx, dword [edi + 0x48]
sete al
inc al
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x4c]
mov byte [esp + 0x6c], al
mov eax, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov ecx, dword [eax + 0x1e8]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.006d6250
mov edx, dword [edi + 0x38]
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.006b4770
cmp byte [edi + 4], 0x70
mov edx, dword [edi + 0x3c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], 0
jne 0x6d2bbf
movsd xmm0, qword [eax + 0x20]
addsd xmm0, qword [edi + 0x20]
movsd qword [edi + 0x20], xmm0
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.006b3b80
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x4c], eax
mov al, byte [esp + 0x40]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp al, 1
je 0x6d2cbc
cmp al, 5
jne 0x6d2c19
mov eax, dword [edi + 0x3c]
mov ecx, edi
test eax, eax
je 0x6d2c09
mov ecx, eax
mov eax, dword [ecx + 0x3c]
test eax, eax
jne 0x6d2c00
push dword [ecx]
mov ecx, dword [esp + 0xc]
xor edx, edx
call fcn.006d1cc0
add esp, 4
mov ecx, esi
call fcn.006a30f0
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.006a30f0
mov edx, dword [esp + 0x2c]
mov edi, eax
mov ecx, dword [esp + 8]
push esi
call fcn.006d2370
add esp, 4
mov edx, 0x48
push esi
push dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.006a2ef0
push dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x4c]
mov esi, dword [esi + 0x1c]
push edi
push edx
mov eax, dword [ecx]
mov edx, ecx
mov ecx, dword [esp + 0x1c]
push 0
push 0
push dword [eax]
push dword [esp + 0x34]
push eax
call fcn.006d0ae0
mov edx, edi
mov edi, dword [esp + 0x44]
mov ecx, edi
call fcn.006a3160
push esi
mov esi, dword [esp + 0x40]
mov edx, 0x5f
push esi
call fcn.006a2ef0
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.006a3160
push 0
push esi
mov edx, 0x2d
call fcn.006a2ef0
add esp, 0x38
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 8]
xor eax, eax
cmp byte [edi + 4], 0x71
mov ecx, esi
movzx edx, byte [edi + 4]
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x38]
call fcn.006d12d0
add esp, 0xc
test byte [edi + 6], 8
je 0x6d2e05
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea edx, [eax + 4]
lea edx, [eax + edx*4]
call fcn.00687870
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x6d2d13
lea edi, [eax + 7]
jmp 0x6d2e09
mov eax, dword [esp + 0x10]
lea edx, [ecx + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x30], 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
mov eax, dword [esp + 0x28]
mov word [ecx + 6], ax
test eax, eax
jle 0x6d2d7c
mov eax, dword [esp + 0x30]
push eax
mov edx, edi
mov ecx, esi
call fcn.006d2530
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [edx], eax
test eax, eax
jne 0x6d2d62
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [edx], eax
mov eax, dword [esp + 0x30]
add edx, 4
inc eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x28]
jl 0x6d2d42
mov ecx, dword [esp + 0x24]
mov dword [ecx + 8], edx
nop
lea esi, [edi + 0x10]
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x1c]
nop
mov edx, dword [esi]
test edx, edx
js 0x6d2dd9
cmp dword [edi + 0x1c], edx
jbe 0x6d2db1
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push 0xfffffffffffffffa
push ecx
mov ecx, edi
call fcn.006a34a0
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esi], 0xffffffff
add esi, 4
mov dword [esp + 0xc], eax
cmp eax, 2
jl 0x6d2d90
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 0x3c]
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x6d2d80
mov esi, dword [esp + 0x10]
mov edx, ecx
mov ecx, esi
call fcn.00687650
mov edi, dword [esp + 0x18]
jmp 0x6d2e0d
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
jmp 0x6d2e0d
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x6d2e3b
mov edx, eax
mov ecx, esi
call fcn.006cfd50
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.00687650
mov ecx, dword [esp + 0x7c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0073167f
mov esp, ebp
pop ebp
ret